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

How do I set coordinates for model in Gazebo?

asked 2020-06-01 07:52:17 -0500

entropyboi gravatar image

In the model.sdf or world_name.world file, when I want to import a model I will have to write <pose>0 0 0 0 0 0</pose> to determine the x, y and z coordinates.

As I am new to gazebo, may I know which of the zeros in <pose>0 0 .1 0 0 0</pose> represent the x, y and z axis respectively? Why are there six variables (zeros) rather than 3, aren't there only 3 axises?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-06-01 08:30:22 -0500

bob-ROS gravatar image

updated 2020-06-01 08:34:41 -0500

That is X-Y-Z-Roll-Pitch-Yaw (Roll,Pitch,Yaw is rotation around the X-axis, Y-axis, Z-axis in that respective order).

Also, in hindsight, this is a Gazebo question. Should see the forum: https://answers.gazebosim.org//questions/

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-06-01 07:52:17 -0500

Seen: 2,174 times

Last updated: Jun 01 '20