How to make a map with Hokuyo Lidar and Hector SLAM
I have Hokuyo Lidar T301C and connect to computer. I am using 14.04 indigo
If I use /dev/ttyACM0 , cannot access /dev/ttyACM0: No such file or directory
For this reason use connetct rosrun urgnode urgnode ipaddress:=192.168.0.10 )
I can get laser scan on Rviz.
when i was roslaunch hectorslamlaunch tutorial.launch
i can not get any data with Rviz.
I get " [1566371851.208718770]: lookupTransform basefootprint to laser timed out. Could not transform laser scan into baseframe." error
I did some search. Most probably i have to change some code? But which code ? i can not find detailed info ?
Thank you for your help.
Asked by bfdmetu on 2019-08-21 02:45:29 UTC
Answers
You are not providing a transform for base_footprint to laser. To do this put the following in your launch file
<pkg="tf2_ros" name="laser_pub" type="static_transform_publisher" args="0 0 0 0 0 0 base_footprint laser"/>
Please see this for transform standards
Asked by PapaG on 2019-08-27 18:43:17 UTC
Comments
Are you defining your transforms between frames?
Asked by PapaG on 2019-08-22 18:51:49 UTC
Thank you your reply. I don't do transform. How can i transform? I found another code .
https://answers.ros.org/question/301186/saving-geotiff-map-in-hector_slam/#301336
It works. However I have to learn how to define this transform
Asked by bfdmetu on 2019-08-27 03:54:11 UTC