ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Indoor Robot with No absolute starting yaw

asked 2018-02-27 17:31:19 -0500

ras_cal gravatar image

Our indoor wheeled robot with wheel encoders has an IMU without magnetometers. At startup in a random orientation the yaw output is 0. We are able to follow a wall and cross into another room where an internal GPS is set up to determine X, Y and yaw with respect to global map frame of the room. We are using robot_localization for fusion, but are unsure how to switch to the room map without causing a discontinuity in the localization and therefore in the motion. Is it possible to go from map1 --> odom to map2 --> odom ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-04-13 05:47:31 -0500

Tom Moore gravatar image

No tf frame can have two parents. This sounds like a pretty straightforward two-tier setup. In your first EKF (odom->base_link transform), fuse wheel encoders and IMU. In the second (map->odom transform), fuse wheel encoders, IMU, and GPS data. You will experience a discontinuity in the map frame, but that's fine (it's the reason for having map and odom frames).

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-02-27 17:31:19 -0500

Seen: 184 times

Last updated: Apr 13 '18