ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I am progressing on this problem.
I created a second model of the same robot, with "<static>true</static>" and I can move it using : rostopic pub -r 10 gazebo/set_model_sta gazebo_msgs/ModelState '{model_name: MyRobot, pose: { position: { x: 0, y: 0, z: 2 }, orientation: {x: 0, y: 0.491983115673, z: 0, w: 0.870604813099 } }, twist: { linear: { x: 0, y: 0, z: 0 }, angular: { x: 0, y: 0, z: 0} }, reference_frame: world }'
I then just need to be able to convert the recorded positions (with rosbag record /gazebo/model_states ) to gazebo/set_model_state messages.
2 | No.2 Revision |
I am progressing on this problem.
I created a second model of the same robot, with "<static>true</static>" <static>true</static>
and I can move it using :
:
rostopic pub -r 10 gazebo/set_model_sta gazebo/set_model_state gazebo_msgs/ModelState '{model_name: MyRobot, pose: { position: { x: 0, y: 0, z: 2 }, orientation: {x: 0, y: 0.491983115673, z: 0, w: 0.870604813099 } }, twist: { linear: { x: 0, y: 0, z: 0 }, angular: { x: 0, y: 0, z: 0} }, reference_frame: world }'}'
I then just need to be able to convert the recorded positions (with rosbag record /gazebo/model_states ) to gazebo/set_model_state messages.