How to get /PoseWithCovarianceStamped from /odom
Hi,
I was wondering how is it possible to feed amcl package with /geometry_msgs/PoseWithCovarianceStamped
, since the most odometry packages publishes nav_msgs/Odometry
. Is there any way or code to get /geometry_msgs/PoseWithCovarianceStamped
from nav_msgs/Odometry
?
Thanks a lot! Cheers,
André Castro.
I don't see an input topic on the AMCL wiki page that would want a continuous stream of new input from odometry. Why do you want to do this?
I guess he thought that amcl reads the position from nav_msgs/Odometry while it uses tf.
Ok. What I've seen on AMCL, it needs an initialpose input, with type as
geometry_msgs/PoseWithCovarianceStamped
. It's just to start, right? I was wondering if I can get that initial pose from odometry. If not, how to set up this pose?