ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In addition to running your nodes, the launch file you posted also sets the /robot_description parameter and runs the robot_state_publisher node.

Are you setting the /robot_description parameter and running robot_state_publisher when you run your node by hand?

In addition to running your nodes, the launch file you posted also sets the /robot_description parameter and runs the robot_state_publisher node.

Are you setting the /robot_description parameter and running robot_state_publisher when you run your node by hand?

EDIT

You can set the /robot_description parameter with:

rosparam set -t /robot_description my_robot.urdf

And you can run the robot_state_publisher node with rosrun:

rosrun robot_state_publisher robot_state_publisher

In addition to running your nodes, the launch file you posted also sets the /robot_description parameter and runs the robot_state_publisher node.

Are you setting the /robot_description parameter and running robot_state_publisher when you run your node by hand?

EDIT

You can set the /robot_description parameter with:

rosparam set -t /robot_description my_robot.urdf

And you can run the robot_state_publisher node with rosrun:

rosrun robot_state_publisher robot_state_publisher

(Note how both of these commands resemble the contents of your launch file)

In addition to running your nodes, the launch file you posted also sets the /robot_description parameter and runs the robot_state_publisher node.

Are you setting the /robot_description parameter and running robot_state_publisher when you run your node by hand?

EDIT

You can set the /robot_description parameter with:

rosparam set /robot_description -t /robot_description my_robot.urdf

And you can run the robot_state_publisher node with rosrun:

rosrun robot_state_publisher robot_state_publisher

(Note how both of these commands resemble the contents of your launch file)