You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that in the rl source codes gravity is set to world with assumed gravity direction along z axis. What if we have a side mounted robot and the root frame is not z vertical?
What is the recommended way to set gravity using the dynamics interface.
Thanks
The text was updated successfully, but these errors were encountered:
I was referring to the code in UrdfFactory where the world gravity is set to vertical. I guess if side mounting we have to set again with the correct direction?
To the best of my knowledge, the URDF file format does not have an option to specify the gravitational vector. The native rl::mdl format allows you to modify this via <gravity></gravity>.
For a horizontally mounted robot I would however recommend to model this via a static transform that defines the mounting position including rotation. URDF has a joint type called fixed for this and rl::mdl uses <fixed></fixed>.
I see that in the rl source codes gravity is set to world with assumed gravity direction along z axis. What if we have a side mounted robot and the root frame is not z vertical?
What is the recommended way to set gravity using the dynamics interface.
Thanks
The text was updated successfully, but these errors were encountered: