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

no neato laser scan with hector_slam

asked 2014-11-13 21:50:06 -0600

Morpheus gravatar image

I am able to get a laser scan in rviz with neato lidar tutorial. But when I try to get a laser scan with hector_slam there isn't a scan in rviz. I am trying to use hector_map with out odometer. I have changed the launch file to reflect that ( I think). Are there other settings that I will have to change to get a good bag file?

Thanks!

edit retag flag offensive close merge delete

Comments

This is the warning that I get: No transform between frames /map and scanmatcher_frame available after 20.002542 seconds of waiting.

Morpheus gravatar image Morpheus  ( 2014-11-16 16:07:12 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-18 10:54:30 -0600

tinytron gravatar image

Not sure what the problem is but maybe you want to try my launch file. It's working fine over here with XV-11 and hector_slam.

Hmm I cant post it as code because the xml seems to get messed up and I can't upload files yet, so here it is on pastebin:

hector_launch

Before you run it you just have to start your Neato driver manually, didn't include that yet...

Good luck.

edit flag offensive delete link more

Comments

Thank you! I will give it a try.

Morpheus gravatar image Morpheus  ( 2014-11-18 11:35:01 -0600 )edit

This is what I am getting with your launch file: roslaunch file contains multiple nodes named [/rviz]. Please check all <node> 'name' attributes to make sure they are unique. Also check that $(anon id) use different ids.

Morpheus gravatar image Morpheus  ( 2014-11-18 21:40:46 -0600 )edit

Did you try to remove anything related to RViz in the launch file to see if it starts then? You could then still record a bag and play it afterwards?

tinytron gravatar image tinytron  ( 2014-11-27 15:10:35 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2014-11-13 21:50:06 -0600

Seen: 472 times

Last updated: Nov 18 '14