Hi Everyone, i want to make an autonomos robot using Rplidar please guide the different steps to be followed.

asked 2020-11-27 00:13:14 -0500

Vijay Bande gravatar image

Hello, please help me for recovering the following error while running amcl

edit retag flag offensive close merge delete

Comments

What error?

Dragonslayer gravatar image Dragonslayer  ( 2020-11-27 07:30:32 -0500 )edit

@Dragonslayer No laser scan received (and thus no pose updates have been published) for 1606541448.821371 seconds. Verify that data is being published on the /scan topic.

Vijay Bande gravatar image Vijay Bande  ( 2020-11-27 23:31:33 -0500 )edit

We need to know much more what your setup is, a tf tree would be a start(rosrun tf view_frames). What node prints "no laser scan received", on what topic is it listening? What does "rostopic info /scan" print?

Dragonslayer gravatar image Dragonslayer  ( 2020-11-30 06:51:12 -0500 )edit

tf tree shows odom -> base_link -> base_laser . I am using rplidar a1 and publishing sensors data to /scan topic. for localisation i am running amcl node but gives above error. Using rqt_graph it shows that amcl node subscribing data from scan topic but actually I am getting an above warning.

Vijay Bande gravatar image Vijay Bande  ( 2020-11-30 22:57:00 -0500 )edit

Iam not fully into those nodes at the time, but check the scan message itself and look at the timestamp. Maybe the nodes use different time references - parameter use_sim_time would be what Iam looking for (somewhere in the configuration files). Maybe do a search for laserscan simtime no laser scan received.

Dragonslayer gravatar image Dragonslayer  ( 2020-12-01 07:54:38 -0500 )edit