-
Notifications
You must be signed in to change notification settings - Fork 221
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
laserscan_visualizer - configuring range not working #26
Comments
do you have a bag with some data? |
Thanks for your quick response! Altough it has some errors stating: I uploaded a short video which shows the pointcloud, and how the laserscan is visualized. |
It has been a very long time since the last time I used this tool, we mainly use the laser merger one. However, let's see, the laser data in your bag (that is that output from the virtualizer I suppose) is in the frame frnt_cam_p2l. The original point cloud points in which frame are they in? I suppose laser_link, am I correct? Could you upload a bag with TF as the point cloud as well? From the bagfile: |
My plan is to convert the pointclouds to laserscan, then merge four laserscans with the multi-merger. I realize that I might have configured the launch file incorrect. The pointcloud comes from the frnt_cam_opt frame. The frame where I want the new laser scan (frnt_scan) is frnt_cam_p2l. Ultimately I want to merge my four laserscan to the laser_lnk frame. I have uploaded two .bag files, one contains tf and laserscan, the other contains tf and pointcloud. Tf and laser: Tf and pointcloud: The pointcloud .bag file is very large, maybe I have to reduce the resolution from the kinect plugin? |
from your bag file (the tf points) it seems that you're publishing the transformation between these two frames always at the same time, to be clear, not with row::time::now() so your configuration is 4 kinects on the robot and you want to simulate 4 lasers and then merge them?
|
I am not quite sure how to do this, as the tf is being published by the /state_publisher
Correct. |
I see, but if you open your tf-tree you will notice that all the Kinects have very old transforms (105secs ... I suppose just the first one, at the time you "power on" your system) and no more. Instead, frw_link, rlw_link, and rrw_link have updated transforms. This might be an issue and, from what you have told me, maybe the problems arise from the depth-to-laserscan package configuration. Your state publisher is not updating all the transforms, I don't know why. |
I have noticed the same thing, however, I assumed it was correct because these are fixed frames with respect to the base_lnk. Whereas the rrw rlw frw flw links are wheels and are constantly turning. But if that is not the case, I should probably find the reason for this. |
But just to understand if the package is working properly, can you directly use the data from the kinect without all the system and transformations? I have vague memories, but this should have been exactly what we did when we wrote this package, but is was 6 ore more years ago... don’t remember any details |
Hello.
I am trying to use the laserscan_visualizer to convert a pointcloud to a laserscan.
The pointcloud comes from a gazebo kinect plugin.
I can visualize the laserscan in rviz, however, the laserscan is only shown approximately 2 meters infront of the robot, even though i have set the range to 25 meters.
I have removed the TF statements, because my TF is published though robot-state-publisher.
This is my launch file:
`
`
The text was updated successfully, but these errors were encountered: