Skip to content
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

Number of LIDAR data points inconsistent #104

Open
agross12 opened this issue Feb 16, 2023 · 1 comment
Open

Number of LIDAR data points inconsistent #104

agross12 opened this issue Feb 16, 2023 · 1 comment

Comments

@agross12
Copy link

I am running an A1M8 LIDAR with Ubuntu 22.04 and ROS2 Humble. The driver connects and outputs data, however the number of data points output varies by a small amount from scan to scan. This means that my processing algorithm cannot use the data effectively.

@Plaqueoff
Copy link

Also happening on RPLidar S3 (Ubuntu 22.04 and ROS2 Humble).
Logs from Slam Toolbox:

LaserRangeScan contains 3198 range readings, expected 3200
LaserRangeScan contains 3202 range readings, expected 3200
LaserRangeScan contains 3201 range readings, expected 3200
LaserRangeScan contains 3208 range readings, expected 3200
LaserRangeScan contains 3194 range readings, expected 3200
LaserRangeScan contains 3187 range readings, expected 3200
LaserRangeScan contains 3187 range readings, expected 3200
LaserRangeScan contains 3180 range readings, expected 3200

Config file for starting the node:

rplidar_node:
  ros__parameters:
    channel_type: 'serial'
    serial_port: /dev/ttyUSB0
    serial_baudrate: 1000000
    frame_id: 'laser_frame'
    inverted: false
    angle_compensate: true
    scan_mode: 'Standard'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants