Change the rate which mapData is publish

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Change the rate which mapData is publish

kyap001
Hi

I will like to know how can I increase the rate at which mapData is published? For now, I know that the data is published at 1Hz. However, I will like to increase the frequency at which it is publishing.

Thanks

Regards
Kelvin
Reply | Threaded
Open this post in threaded view
|

Re: Change the rate which mapData is publish

matlabbe
Administrator
Hi Kelvin,

The parameter is Rtabmap/DetectionRate:
<launch>
  <node pkg="rtabmap_ros" type="rtabmap" name="rtabmap">
    <param name="Rtabmap/DetectionRate" value="2.0"/> <!-- 2 Hz -->
    ...
  </node>
</launch>
 
cheers,
Mathieu