Page 1 of 1

ConditionalPathPoint not working

Posted: Sun Apr 24, 2022 7:59 am
by ostr1969
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>

Re: ConditionalPathPoint not working

Posted: Tue Apr 26, 2022 1:06 pm
by aymanh
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

Re: ConditionalPathPoint not working

Posted: Thu Apr 28, 2022 11:33 pm
by ostr1969
Yes thanks.
It looks like a visualization problem