Gazebo | Ignition | Community
Ask Your Question
0

Native spherical (WGS84) coordinates?

asked 2016-06-07 09:45:56 -0500

laughlin gravatar image

Hello all,

I'm looking to build a simulation where I can accurately bookkeep my robots position in geodetic coordinates (WGS84 datum).

Unfortunately the ROS+Gazebo+Hector GPS plugin route isn't likely to work, exactly because I'm trying to simulate vehicles at high latitude (near the poles), and traveling large distances O(10 km).

Is it possible for Gazebo to run a simulation natively in spherical coordinates? I haven't been able to find any resources to date on this.

If not, have any others found themselves in a similar situation? Outside of writing a dynamical model in MATLAB or similar, have others found an acceptable solution?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-06-07 09:58:03 -0500

nkoenig gravatar image
edit flag offensive delete link more

Comments

Thanks @nkoenig. So if I understand correctly, underlying cord sys is still XYZ, but Spherical Coord. class implements proper WGS84<-->local XYZ (via intermediate ECEF frame), with local XYZ origin at the lat/long specified in world file (as defined here: http://sdformat.org/spec?ver=1.6&elem=world#world_spherical_coordinates). Local XYZ is in an ENU orientation. Does this sound correct?

laughlin gravatar imagelaughlin ( 2016-06-07 13:52:34 -0500 )edit
1

That is correct.

nkoenig gravatar imagenkoenig ( 2016-06-07 17:05:59 -0500 )edit

Thank you.

laughlin gravatar imagelaughlin ( 2016-06-08 09:03:41 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-06-07 09:40:37 -0500

Seen: 2,249 times

Last updated: Jun 07 '16