compile error: class btHingeConstraint has no member 'getMotorTargetVelocity'
Hello, this error keeps coming out when I try to compile Simox on ubuntu 18.04. I do follow the setup tutorial from here https://gitlab.com/Simox/simox/-/wikis/Installation-Source-Ubuntu as far as I know, many other students also have this problem. Does anybody have any idea how this coming out?
/home/zhou/simox/SimDynamics/DynamicsEngine/BulletEngine/BulletRobot.cpp: In member function ‘virtual double SimDynamics::BulletRobot::getJointTargetSpeed(VirtualRobot::RobotNodePtr)’:
/home/zhou/simox/SimDynamics/DynamicsEngine/BulletEngine/BulletRobot.cpp:1102:27: error: ‘class btHingeConstraint’ has no member named ‘getMotorTargetVelocity’; did you mean ‘setMotorTargetVelocity’?
return hinge->getMotorTargetVelocity();
^~~~~~~~~~~~~~~~~~~~~~
setMotorTargetVelocity
SimDynamics/CMakeFiles/SimDynamics.dir/build.make:254: recipe for target 'SimDynamics/CMakeFiles/SimDynamics.dir/DynamicsEngine/BulletEngine/BulletRobot.cpp.o' failed
make[2]: *** [SimDynamics/CMakeFiles/SimDynamics.dir/DynamicsEngine/BulletEngine/BulletRobot.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....