ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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?
2 | No.2 Revision |
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
3 | No.3 Revision |
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)
4 | No.4 Revision |
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)