Ask Your Question
0

How to convert from geometry_msgs PoseWithCovariance to nav_msgs Odometry?

asked 2014-12-15 15:19:07 -0500

Ahmed Shehata gravatar image

I am using package hector_slam to do mapping using Hokuyo laser on a ugv and I would like also to use package robot pose_ekf to get better position estimate from the wheels and laser.

I tried remapping poseupdate to vo but it throws an error that they are not of the same type, poseupdate holds the xyz and covariance.

any clue how to convert the geometry msgs PoseWithCovariance to nav msgs Odometry?? Thank you

edit retag flag offensive close merge delete

Comments

This is probably not a good idea; I think the vo input on robot_pose_ekf uses the velocity estimate portion of the odometry message, and you're trying to provide the absolution position portion of the odometry message. You may want to investigate other kalman filter packages.

ahendrix gravatar image ahendrix  ( 2014-12-15 16:10:02 -0500 )edit

But it was already done for gps sensor, where they used a conversion package (gps_common) to convert from navsat to odometry. what other packages do you propose using? thanks

Ahmed Shehata gravatar image Ahmed Shehata  ( 2014-12-16 01:01:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-12-16 11:36:13 -0500

Marc gravatar image

Look into the ETHZASL_MSF package...

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2014-12-15 15:19:07 -0500

Seen: 1,804 times

Last updated: Dec 15 '14