raisimTech / raisimLib

Visit www.raisim.com
http://www.raisim.com
Other
338 stars 91 forks source link

How to set body type? #534

Closed Lu-Sijie closed 7 months ago

Lu-Sijie commented 8 months ago

I'm using Raisim to simulate a manipulator, but I don't know how to set the “base_link” body type to raisim::BodyType::STATIC. I know there is a function "setBodyType(BodyType type)" and find the example using it. 捕获 Now I can only get the body type of “base_link” body, whose index is 0, but can't set it: 捕获2 Best wishes!

jhwangbo commented 8 months ago

No, you cannot change a floating-base robot to fixed-base robot. Please check the included URDF to learn how to define a fixed-base robot (e.g., kinova arm URDF)

Lu-Sijie commented 7 months ago

Thank you for your reply, I found the solution by referring to the file "kinova.urdf".