Ask Your Question

ROS nav stack with google cartographer pure localization

asked 2019-02-07 16:55:09 -0500

Manu14 gravatar image

Hello all!

I am new to this so please forgive if the question is silly. I am trying to integrate Google cartographer with the ros nav stack and doing a few sanity checks. The cartographer gives out heading angle in the format 0 to 180/-180. Is it possible to find out if the ros nav stack accepts heading data in the same format or in 0 to 360 format?

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-02-07 18:06:36 -0500

I think your best bet is to just test it! Localization is just setting the updated map -> odom frame transform when run so the actual location of the robot isnt all that important if you're just trying to replace AMCL.

edit flag offensive delete link more



ROS represents rotations as quaternions (not euler angles), so there isn't any confusion about wrapping either.

ahendrix gravatar image ahendrix  ( 2019-02-07 18:44:03 -0500 )edit

Your Answer

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

Add Answer

Question Tools



Asked: 2019-02-07 16:55:09 -0500

Seen: 529 times

Last updated: Feb 07 '19