Closed Rhonins closed 4 years ago
Hi @Rhonins could you help this issue. I am facing the same problem with a ydLidar X4.
https://user-images.githubusercontent.com/23468720/64069513-41faa880-cc10-11e9-8003-8db3162aede2.png
@jonra1993 Did you figure out how to set it up? I am running into the same issue.
Thanks.
Hi @jgaud yes I solve it for my ydlidar X4. Refer to this pull request https://github.com/EAIBOT/ydlidar/pull/15 . Other recommendation if your using system with a pc and Raspberry, check that both systems have same time.
@jonra1993 Thanks for your help, I will look into it!
@Rhonins remap is required. Cartographer expects certain topic names depending on how many lasers you use, see rosnode info /cartographer_node
. Other than that, I can't help much with a custom setup besides the answers that were given from the other users.
Hello , I am trying to make 2d map with 2D lidar and want to see it on my Jetson nano.
I have ubuntu 18.04 installed all ros packages etc.
I can run demo files with bag but I am not able to get live mapping with my RPlidar a2. Also I can run rplidar's launch file and able to see working lidar. After I launch file I am running rplidar from different wotkspace and providing scan topic.
When I run rviz: I am getting "no map received" error
lua :
urdf :
launch :
rqt without tf:
rqt with tf:
rqt tree:
if I delete remap
getting this warning : [ WARN] [1565309034.876346755]: W0808 20:03:54.000000 12798 tf_bridge.cc:52] Could not find a connection between 'horizontal_laser_link' and 'laser' because they are not part of the same tree.Tf has two or more unconnected trees.
with remap
without remapping I am getting same warning but receiving 1 frame map from lidar and output : [ WARN] [1565310984.655217353]: W0808 20:36:24.000000 15927 tf_bridge.cc:52] Lookup would require extrapolation at time 1565310984.652836500, but only time 1565310984.688652707 is in the buffer, when looking up transform from frame [laser] to frame [horizontal_laser_link] [ INFO] [1565310984.734831600]: I0808 20:36:24.000000 15927 ordered_multi_queue.cc:172] All sensor data for trajectory 0 is available starting at '637009077847330972'. [ INFO] [1565310984.735268367]: I0808 20:36:24.000000 15927 local_trajectory_builder_2d.cc:138] Extrapolator is still initializing. [ WARN] [1565310985.112501488]: W0808 20:36:25.000000 15927 tf_bridge.cc:52] Could not find a connection between 'horizontal_laser_link' and 'laser' because they are not part of the same tree.Tf has two or more unconnected trees.
without remap /// map topic
you can see red rplidar laser scan : without remap /// laser topic
new tree looks like this
How can I get 2d mapping only with the RPLidar working?
Thanks.