-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get live map with rplidar #1371
Comments
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? Thanks. |
Hi @jgaud yes I solve it for my ydlidar X4. Refer to this pull request EAIBOT/ydlidar#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 |
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.
The text was updated successfully, but these errors were encountered: