ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

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 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

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:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 1,413 times

Last updated: Jun 01 '20