ConditionalPathPoint not working

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
barak ostraich
Posts: 42
Joined: Thu Apr 12, 2018 12:17 am

ConditionalPathPoint not working

Post by barak ostraich » Sun Apr 24, 2022 7:59 am

i have put a conditionalPathPoint on a muscle.
It have to release the point when knee_angle_l not between -45 and 10.
But its not working( Other conditional points in this model is working).
can you find an error? or any other limitations I miss?

Code: Select all

                             <PathPoint name="med_gas_l-P1">
                                <location> -0.0190522 -0.393979 0.0235645</location>
                                <socket_parent_frame>/bodyset/femur_l</socket_parent_frame>
                            </PathPoint>
                           <ConditionalPathPoint name="med_gas_l-P2">
                                <location> -0.0300824 -0.403304 0.0258708</location>
                                <socket_parent_frame>/bodyset/femur_l</socket_parent_frame>
                                <range> -0.785398 0.174533</range>
                                <socket_coordinate>/jointset/knee_l/knee_angle_l</socket_coordinate>
                            </ConditionalPathPoint>
                            <PathPoint name="med_gas_l-P3">
                                <location> 0 0.0283317 0.0048438</location>
                                <socket_parent_frame>/bodyset/calcn_l</socket_parent_frame>
                            </PathPoint>

Tags:

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: ConditionalPathPoint not working

Post by Ayman Habib » Tue Apr 26, 2022 1:06 pm

Hello,

It's not clear how you concluded that the ConditionalPathPoint is not working as there're rare scenarios that trigger a visualization bug that cause conditionalPathPoint to look engaged/disengaged incorrectly. There's a fix on the way in the next release. In the meantime, I'd suggest you use analytical methods or plots to see if the length is changed as expected.

Hope this helps,
-Ayman

User avatar
barak ostraich
Posts: 42
Joined: Thu Apr 12, 2018 12:17 am

Re: ConditionalPathPoint not working

Post by barak ostraich » Thu Apr 28, 2022 11:33 pm

Yes thanks.
It looks like a visualization problem

POST REPLY