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

Debugging techniques for robot_localization ?

asked 2020-07-12 15:14:51 -0500

tbondar gravatar image

Hi All,

I've managed to put together a typical setup for robot_localization using wheel encoders, IMU and GPS, as described in the documentation and in many answers here. It works more or less reasonably well. But sometimes it doesn't. My question would be about debugging techniques for the case when it doesn't. I'm wondering how you guys do this tuning / debugging thing? There are literally hundreds of messages generated when the system is running, most of them with loads of numbers in them. Are there any magic tools, clever tricks, methods, best practices, etc. to find out what's going wrong when something is going wrong? I use rviz and rostopic. Are these really the only weapons I have?

I hope this question is not too generic for this forum. But I would be really interested to hear how people with more experience deal with this phase of development.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-07-12 19:02:19 -0500

Geoff gravatar image

rviz, plotjuggler and rosbag are your friends. Record a bag file using rosbag of an occasion when it doesn't work well, then replay that through rviz and plotjuggler, looking at what the various different sensors and calculated values are doing.

https://github.com/facontidavide/Plot...

edit flag offensive delete link more

Comments

1

plotjuggler looks awesome. Thank you.

tbondar gravatar image tbondar  ( 2020-07-13 14:09:13 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-07-12 15:14:51 -0500

Seen: 240 times

Last updated: Jul 12 '20