Gazebo | Ignition | Community
Ask Your Question

How to define a new frame of Reference for world and model ?

asked 2018-07-22 02:30:07 -0500

pk gravatar image

updated 2018-07-22 13:34:17 -0500

Gazebo : 7.13.1
Ubuntu : 16.04

I need to make a NED (North East Down) frame for world and model. Is there a way to define a new Reference frame which can be used for further simulations ? If not, Is there a way to transform from one frame to other ?
Thanks in advance !

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-08-11 01:45:34 -0500

pk gravatar image

I don't think that there is a way to create new frame of reference. But we can transform entity, like force, velocity, etc., such that entities are transformed into NED frame

To transform entity into NED frame, we need to rotate about any one axis of frame in gazebo by 180 degrees or Pi radians. This is will make sure that other two are oriented in such a way that it becomes NED frame.

For example, consider my X-axis is oriented with X-axis of NED frame. then rotate Pi radians about X-axis of frame in gazebo. It rotate will other two remaining axes in such a position that entity are in NED Frame.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-07-22 02:30:07 -0500

Seen: 1,116 times

Last updated: Aug 11 '18