How to define a new frame of Reference for world and model ?
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 !
Asked by pk on 2018-07-22 02:30:07 UTC
Answers
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.
Asked by pk on 2018-08-11 01:45:34 UTC
Comments