Hello,
I am also wondering the same. I just began with URDF today.
I did not fully explore the urdf documentation, but it did not seem so clear about the minimal configuration you would need to run a simple model without a joint_state_publisher nor a robot_state_publisher. Also, I stay curious about how to deal with partial tf trees, and tf updates from multiple sources when dealing with joint and robot publisher.
Then, I would guess only tf... provided that all the frames of your model are broadcasted by some entity(ies), it should be ok.
It seems from rviz documentation that you only need to load your urdf model as a parameter.
Robot Description: The parameter to retrieve the urdf
from. Uses searchParam() to search up
the parameter tree for the value
specified.
For example, in a launch file:
<param name="robot_description" textfile="PATH_TO_URDF_FILE" />
Should just do it. I can tell you more tomorrow when I will be integrating my brand new urdf model.
Raph
Originally posted by raphael favier with karma: 1382 on 2011-05-02
This answer was ACCEPTED on the original site
Post score: 0
Original comments
Comment by Martin Günther on 2011-05-02:
Hi Raphael, you are correct, you only need the tf
messages and the robot_description
parameter. However, the easiest way to get tf
published is to use joint_state_publisher
(or something else that publishes JointStates) and robot_state_publisher
.