Robotics StackExchange | Archived questions

How does OnNewLaserScans works?

I am trying to implement my own solid state lidar plugin to simulate a Livox. And was using the velodyne simulator as reference, but they use this method void OnScan(const ConstLaserScanStampedPtr &_msg); as a callback from a topic subscription, instead of the void OnNewLaserScans() provided by the base class.

Is it possible to use this latter method to update my measurements? How does it work? Is there any tutorial showing how to use it?

Asked by igricart on 2021-03-29 03:58:38 UTC

Comments

Answers