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

Fusing odometry from wheel encoder and VIO

asked 2021-04-29 21:29:08 -0500

Dadaism6 gravatar image

Hi, so I have a simple robot simulation. I use the gazebo diff_drive plugin so it will generate odometry based on the wheel. I also put the camera and imu plugin, and use the VINS-FUSION (https://github.com/HKUST-Aerial-Robot...), it will also generate an odometry message. Now my tf tree looks like this: image description:https://drive.google.com/file/d/14Vrukgt4M1uKCGpVharg_OPqjwwvgbZE/view?usp=sharing

I want to fuse these two odometry messages using the robot_localization package (the ekf node). But since my wheel encoder odometry frame does not connect to the vins-fusion odometry frames, I got the following errors: image descriptionhttps://drive.google.com/file/d/1C2aD...

Any suggestion about how to use robot-localization, or any other pkgs, to fuse these two odometry messages together? Thanks!!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-05-19 12:50:52 -0500

Hi have you found a solution to this? I am currently facing the same issue as you

edit flag offensive delete link more
0

answered 2021-05-21 14:05:44 -0500

Hello there, I never been in this case, but If they are completely disconnected the tf transform can't link them. Since you already have an odometry frame, you should probably create a link between your drone odom and your world as well.

Both branches should be connected in some way, and being connected to a common 'world' seems logical (note; for your robot it could be odom--> mapx --> world )

hope this help (else, more details)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-04-29 21:29:08 -0500

Seen: 428 times

Last updated: Apr 29 '21