Ask Your Question

Revision history [back]

Problem with ydlidar and conversion LaserScan -> PointCloud

Hello, i'm new to ROS and i would like to have some help about this.
So i have the ydlidar F4 pro at the moment, i managed to visualize with rviz the laserScan topic etc it works fine.
Now i want to have (x,y,z) points so that my future robot will be able to move past objects and for this I would like to have points.
The thing is that i managed to convert LaserScan to PointCloud and visualize it in rviz (again) but 1/4 of the lidar seems to be not working in my cpp program but on rviz it works fine.
If you can help me i would be very grateful

Problem with ydlidar and conversion LaserScan -> PointCloud

Hello, i'm new to ROS and i would like to have some help about this.
So i have the ydlidar F4 pro at the moment, i managed to visualize with rviz the laserScan topic etc it works fine.
Now i want to have (x,y,z) points so that my future robot will be able to move past objects and for this I would like to have points.
The thing is that i managed to convert LaserScan to PointCloud and visualize it in rviz (again) but 1/4 of the lidar seems to be not working in my cpp program but on rviz it works fine.
If you can help me i would be very grateful

Problem with ydlidar and conversion LaserScan -> PointCloud

Hello, i'm new to ROS and i would like to have some help about this.
So i have the ydlidar F4 pro at the moment, i managed to visualize with rviz the laserScan topic etc it works fine.
Now i want to have (x,y,z) points so that my future robot will be able to move past objects and for this I would like to have points.
The thing is that i managed to convert LaserScan to PointCloud and visualize it in rviz (again) but 1/4 of the lidar seems to be not working in my cpp program but on rviz it works fine.
If you can help me i would be very gratefulgrateful Edit : link in google drive couldn't attach it here https://drive.google.com/open?id=1P3ZJaaWVvoYzl7F6YIFOwn-gXIzEbc--

Problem with ydlidar and conversion LaserScan -> PointCloud

Hello, i'm new to ROS and i would like to have some help about this.
So i have the ydlidar F4 pro at the moment, i managed to visualize with rviz the laserScan topic etc it works fine.
Now i want to have (x,y,z) points so that my future robot will be able to move past objects and for this I would like to have points.
The thing is that i managed to convert LaserScan to PointCloud and visualize it in rviz (again) but 1/4 of the lidar seems to be not working in my cpp program but on rviz it works fine.
If you can help me i would be very grateful Edit : link in google drive couldn't attach it here https://drive.google.com/open?id=1P3ZJaaWVvoYzl7F6YIFOwn-gXIzEbc--https://drive.google.com/open?id=1P3ZJaaWVvoYzl7F6YIFOwn-gXIzEbc-- Edit 2 : i'm using ydlidat_test_v2.cpp this is the one i have problem with

Problem with ydlidar and conversion LaserScan -> PointCloud

Hello, i'm new to ROS and i would like to have some help about this.
So i have the ydlidar F4 pro at the moment, i managed to visualize with rviz the laserScan topic etc it works fine.
Now i want to have (x,y,z) points so that my future robot will be able to move past objects and for this I would like to have points.
The thing is that i managed to convert LaserScan to PointCloud and visualize it in rviz (again) but 1/4 of the lidar seems to be not working in my cpp program but on rviz it works fine.
If you can help me i would be very grateful Edit : link in google drive couldn't attach it here https://drive.google.com/open?id=1P3ZJaaWVvoYzl7F6YIFOwn-gXIzEbc-- https://drive.google.com/open?id=1P3ZJaaWVvoYzl7F6YIFOwn-gXIzEbc--
Edit 2 : i'm using ydlidat_test_v2.cpp this is the one i have problem with

Problem with ydlidar and conversion LaserScan -> PointCloud

Hello, i'm new to ROS and i would like to have some help about this.
So i have the ydlidar F4 pro at the moment, i managed to visualize with rviz the laserScan topic etc it works fine.
Now i want to have (x,y,z) points so that my future robot will be able to move past objects and for this I would like to have points.
The thing is that i managed to convert LaserScan to PointCloud and visualize it in rviz (again) but 1/4 of the lidar seems to be not working in my cpp program but on rviz it works fine.
If you can help me i would be very grateful Edit : link in google drive couldn't attach it here https://drive.google.com/open?id=1P3ZJaaWVvoYzl7F6YIFOwn-gXIzEbc--
Edit 2 : i'm using ydlidat_test_v2.cpp this is the one i have problem withwith
Edit 3 : log file https://drive.google.com/open?id=1Ye_kQBcWE4K6tc5g-_QE7aHbAjn-VRUM

Problem with ydlidar and conversion LaserScan -> PointCloud

Hello, i'm new to ROS and i would like to have some help about this.
So i have the ydlidar F4 pro at the moment, i managed to visualize with rviz the laserScan topic etc it works fine.
Now i want to have (x,y,z) points so that my future robot will be able to move past objects and for this I would like to have points.
The thing is that i managed to convert LaserScan to PointCloud and visualize it in rviz (again) but 1/4 of the lidar seems to be not working in my cpp program but on rviz it works fine.
If you can help me i would be very grateful Edit : link in google drive couldn't attach it here https://drive.google.com/open?id=1P3ZJaaWVvoYzl7F6YIFOwn-gXIzEbc--
Edit 2 : i'm using ydlidat_test_v2.cpp this is the one i have problem with
Edit 3 : log file https://drive.google.com/open?id=1Ye_kQBcWE4K6tc5g-_QE7aHbAjn-VRUMhttps://drive.google.com/open?id=1Ye_kQBcWE4K6tc5g-_QE7aHbAjn-VRUM
Edit : library https://github.com/YDLIDAR/ydlidar_ros lidar http://www.ydlidar.com/product/F4
https://drive.google.com/open?id=1USFekN6o4FUNAj_9siF8bIMUYu3C2sKG