How to set an intial joint state to a robot arm in gazebo
Is there a way to give an initial joint state to a robot arm in gazebo? (e.g. from the launch file setting)
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
Is there a way to give an initial joint state to a robot arm in gazebo? (e.g. from the launch file setting)
Here is an example of how to do it from a launch file:
<node name="urdf_spawner" pkg="gazebo_ros" type="spawn_model"
args="-urdf -model mbot -param robot_description -x 0.5 -y 0.5 -z 0.01
-J left_arm_joint0 0.0
-J left_arm_joint1 1.18
-J left_arm_joint2 0.12
-J left_arm_joint3 0.92
-J left_arm_joint4 0.24
-J left_arm_joint5 0.63
-J left_arm_joint6 0.44" />
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2016-08-25 19:11:13 -0500
Seen: 469 times
Last updated: Oct 17 '17
Error: xacro: in-order processing became default in ROS Melodic. You can drop the option.
Unable to communicate to some of ROS services
The Topics generated by the JTAC have no data
ROS + Gazebo Recording and playing back robot trajectory
how to use the hokuyo plugin in gazebo
Error with robot localization and global costmap
what should be done to keep PR2 stationary on a ramp? [closed]