Ask Your Question
0

How can I create a map by using gmapping and a Hokuyo-Scanner?

asked 2015-02-18 09:53:59 -0500

Twista3579 gravatar image

Hey,

i have a Hokuyo-Scanner (UTM-30LX-EW) and i would like to create a 2D-Map with gmapping and visualize this in realtime with Rviz. Can anyone tell me what the best way is to do this?

my Steps are: $ roscore $ rosrun urg_node urg_node _ip_address:="192.168.0.10" scan:=base_scan $ rosrun gmapping slam_gmapping scan:base_scan $ rosrun rviz rviz --> add map --> set topic to "map" --> set fixed frame to "map"

Rviz shows a massage "no map received!"

Is there any simple way to create and view a map by using Hokuyo-Scanner over Ethernet? or what do i wrong?

thanks and best regards

edit retag flag offensive close merge delete

Comments

Do you have odometry?

dornhege gravatar image dornhege  ( 2015-02-18 10:02:00 -0500 )edit

No, i have only the scanner

Twista3579 gravatar image Twista3579  ( 2015-02-18 10:18:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-02-18 10:25:37 -0500

dornhege gravatar image

Gmapping requires odometry. Check out hector_slam.

edit flag offensive delete link more

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: 2015-02-18 09:52:13 -0500

Seen: 739 times

Last updated: Feb 18 '15