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

Can I publish map>-odom tf which can be used by amcl?

asked 2019-06-27 11:43:57 -0500

sajal gravatar image

I want to publish map>-odom tf which can be used by amcl or other localization packages. Is there a way to do that?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-06-27 21:47:41 -0500

billy gravatar image

AMCL publishes the map -> odom transform so if you're using AMCL do not publish any transform between those frames.

But to answer your direct question: YES you CAN publish that tf but it would not be useful unless your node is capable of localizing the robot in the map and publishing the correction via the TF.

edit flag offensive delete link more

Comments

My amcl package is not publishing map>-odom tf thats why i was trying that. Are there any changes I need to make to use the amcl package provided by navigation stack?

sajal gravatar image sajal  ( 2019-06-27 22:56:34 -0500 )edit

You need to figure out what us wrong with your configuration. Have gone through the nav stack tutorials?

billy gravatar image billy  ( 2019-06-29 14:21:49 -0500 )edit

Hey bro, I got the same error.My amcl doesn't publish the map-->odom tf. Have you sovler the problem?

Oysster gravatar image Oysster  ( 2020-08-09 06:12:23 -0500 )edit
1

Oyster - That transform is the entire reason for AMCL. If it isn't publishing it, it means it is not receiving the input it expects. The log file likely has warnings from AMCL complaining about something. Use that info.

billy gravatar image billy  ( 2020-08-13 00:39:58 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-06-27 11:43:57 -0500

Seen: 342 times

Last updated: Jun 27 '19