Gazebo URDF: two axis of rotation
Hi. I'm using Ubuntu 14.04 ROS Indigo Gazebo 2.2
I'm setting up a 4-wheeled car simulation in Gazebo which should be able to interact with ROS. For that I want to have joints at the front wheels which allow them to rotate to travel forward as well as to be steered. Therefor the wheel-hinge-joint should have two axes of rotation which are perpendicular to each other.
How can I accomplish this?
I couldn't find any suitable joints in the URDF-ROS-Documentation.
Thanks
Usually you would create one joint first, then create an infinitesimally small link, then the second joint.
Thanks. I will try that!
No need for an "infinitesimally small link", just make two joints that are at a 90 degree offset to each other.
So what kind of joint would you have liked to see? You wrote it yourself: it's just two revolute joints :).
Implemented in Gazebo SDF with revolute2 joint.
Well, yes. But that is SDF, not URDF. And that is also 'just' two revolute joints at an angle. From the SDF spec page:
so that is just a bit of convenience.