Hi, I have troubled with the BIClong_point9 below for weeks, do you know how to add ConditionalPathPoint to muscle,it didn't work at Matlab, and i need insure that i connect socket coordinate correctly so that finalizeconnection can worked.
//..........
BIClong.addNewPathPoint('BIClong_point7', humerus, Vec3(0.0228,-0.1754,-0.0063));
BIClong.addNewPathPoint('BIClong_point8', radius, Vec3(-0.002,-0.0375,-0.002));
coord = osimModel.updCoordinateSet().get('elbow_flextion');~~~~~~error
BIClong_point9 = ConditionalPathPoint();
BIClong_point9.setName('BIClong_point9');
BIClong_point9.connectSocket_coordinate(coord);~~~~~error
BIClong_point9.setRangeMax(1.570796326795);
BIClong_point9.setRangeMin(-0.63879050623);
BIClong.updGeometryPath.updPathPointSet.cloneAndAppend(BIClong_point9);~~~~~error
osimModel.addForce(BIClong);
//..............
Thanks!
ConditionalPathPoint In Matlab API
- Pengfei Liu
- Posts: 15
- Joined: Tue Sep 20, 2022 8:15 am