How does OnNewLaserScans works?

asked 2021-03-29 03:58:38 -0600

igricart gravatar image

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?

edit retag flag offensive close merge delete