p2os_urdf PioneerP3DX swivel joint strange behavior
I'm trying to simulate the P3DX robot (not with gazebo), and I hit a visualization problem, which appears to be a bug in the URDF model itself:
(the swivel has a strange behavior... it should rotate around another axis in my opinion)
Here is a launch file to test it yourself:
<launch>
<param name="robot_description" command="$(find xacro)/xacro.py $(find p2os_urdf)/defs/pioneer3dx.xacro" />
<node pkg="robot_state_publisher" type="state_publisher" name="robot_state_publisher">
<param name="publish_frequency" type="double" value="30.0"/>
<param name="tf_prefix" type="string" value=""/>
</node>
<node name="joint_state_publisher_gui" pkg="joint_state_publisher" type="joint_state_publisher">
<param name="use_gui" value="1" />
</node>
</launch>
What do you think?
It ought to rotate around the vertical axis. Where did this URDF model come from? Can you link to that or to your copy?
Also, you don't have to simulate the caster if you don't want to, only needed if you are simulating more detailed dynamic behavior, balance, friction, etc. that the caster can influence. If you just need to control the robot, the two side wheels are what drive it.