ros-drivers / ros2_ouster_drivers

ROS2 Drivers for the Ouster OS-0, OS-1, and OS-2 Lidars
https://ouster.com/
Apache License 2.0
139 stars 79 forks source link

Increases data processing loop rate from 1280 Hz to 2560 Hz #56

Closed tpanzarella closed 4 years ago

tpanzarella commented 4 years ago

Noteable jitter has been observed in processing the incoming LiDAR and IMU data when the hardware is run in 2048x10 and 1024x20 LiDAR modes. Increasing the rate at which the driver polls the incoming sockets for new data appears to resolve the problem with minimal structural changes to the software architecture of the driver. CPU utilization was profiled on a quad core (hyperthreaded) i7, and the affect seems both minimal and tolerable. No CPU profiling as been done on an embedded ARM device.

Closes #55