Ask Your Question
0

multiple amcl on one odom

asked 2020-03-03 03:17:09 -0500

lunatic gravatar image

I'm trying to evaluate and compare 2 lidar performance at the same time on the same robot. I know amcl can only take in one odom at a time, is this possible?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-03-03 08:38:55 -0500

mgruhler gravatar image

I guess you misunderstood something. (Or I might be misunderstanding what you try to do).

Comparing the performance of 2 lidars by doing localization in a given map should be doable by running two amcl instances side by side. You only need to make sure to set tf_broadcast to false for at least one of the two nodes.

However, this then has nothing to do with amcl taking in multiple odoms (as you say). amcl retrieves the odom->base_link transform via tf. And then outputs the transform from map->odom (if enabled).

You then need to compare the published amcl_pose and particle_cloud topics (make sure to remap those to unique names).

edit flag offensive delete link more

Comments

Thank you. This works. However, I'm facing this issue to determine which lidar is better as I have no ground truth for these amcl_pose. The only ground truth that I can think of is to create a path for the robot and run pure pursuit but how do I compare them?

lunatic gravatar image lunatic  ( 2020-03-18 21:01:25 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-03-03 03:17:09 -0500

Seen: 127 times

Last updated: Mar 03 '20