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
lidar input node #5
Comments
Hi @zachkendrick |
Hi @ankitdhall UPDATE: oh wait I think I see why it is still hanging. The callback needs both the camera and lidar data to be called and it must be somewhat synchronized because of the approximate time policy. Is this correct? |
@zachkendrick yes, you need both the image and pointcloud messages to be published together. And yes, you need to have the topics synchronized together (have the same timestamp). |
I have both /velodyne_points and /image_raw publishing data. However, the program hangs when the memo8 opencv window pops up. It won't detect the aruco tags that I have printed. I tried using your image that you have in the readme and it detected the aruco tags but it still hung. Do you have any idea what might be going on? It seems that the callback function isn't being called because the print statement "velodyne scan received at ___" isn't printing out. When I look at the output of the /velodyne_points topic it shows data though... any advice would be much appreciated. |
It could probably be because the topic names are different from those in the readme. Another reason could be that the timestamps do not match. Also, you mentioned using the image from the readme, you must have used some other pointcloud possibly leading to a timestamp problem. |
Please , can someone tell me how to synchronize two topics. I can’t figure this out. When I run the command in usage section, it stucks. |
@jediofgever Can you describe your setup? How are you getting the messages? |
Hi @karnikram, I installed the package successfully. I have published data from LIDAR and ZED camera successfully. I did not do the physical setup as described in method, I just wanted to see if I am able to start the process with I found @zachkendrick suggestion, syncrhonize timestamps might be solution of this issue but I dont know what part of code should be modified to do this. Also, do you think not setting up marker board properly can cause this problem ? |
If you're playing the messages from a bag file, the marker messages and lidar messages will have different timestamps. |
Thank you @karnikram . I dont use rosbag file. I directly take data from Velodyne-16 LIDAR in real time. I will update this comment after trying your suggestion. |
@karnikram I tried the command |
I don't understand your issue exactly.
Are you getting both the velodyne messages and the marker_6dof messages?
You need to run aruco_mapping to get the latter messages published. Are you
doing that?
…On Fri, Jan 26, 2018 at 2:09 PM, jedi ***@***.***> wrote:
@karnikram <https://github.com/karnikram> I tried the command rosparam
set use_sim_time true still the same. It stucks just as before
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMETK2EltSF7DtEW-ogG68PFFzlukwteks5tOY9HgaJpZM4OFr9R>
.
|
here is what I get from |
/lidar_camera_calibration_rt messages are missing. RTFM. |
Do you happen to have two nodes/code that publish the lidar and camera data to the topics:
camera_frame_topic: /frontNear/left/image_raw
velodyne_topic: /velodyne_points
Thanks for all the help and the quick responses!
The text was updated successfully, but these errors were encountered: