Selecting map/odom frames for GPS/IMU
Hello forum,
I am working on a project where I need to combine LIDAR scans and camera images from a drone. An INS mounted on the drone provides GPS and IMU information. I read REP 105 and tf tutorials multiple times and explored ROS answers on these packages. I believe I understand the concepts but I have some doubts in terms of application.
Let's say I have a camera_frame, lidar_frame and imu_frame, all of which are attached to base_link. I can infer the transforms from these frames to the base_link since I know their offsets from the base_link origin (robot geometrical center).
As per my understanding, I can avoid discrete jumps due to GPS by setting world_frame = odom. Also, I set the imu_frame = odom.
Please verify this statement:
Since I know the transform between imu_frame and base_link, I also know the
odom->base_link (since imu_frame = odom).
- Does this also means I know where my robot is in the world_frame (since world_frame= odom)?
- How do I use the map frame (if at all)? If I am using the GPS, should I be using world_frame= map?
I know I might be wrong with my understanding of these concepts and their application. I'd really appreciate any input from the good folk here at ROS Answers to help me better understand these fundamental tf concepts. Thanks!