[ros-users] Patch for stage simulator: setting the topics p…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
+ stageros_sensors_update_intervals.patch (application/octet-stream)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Emne: [ros-users] Patch for stage simulator: setting the topics publishing rate according to the stage-model update_interval parameter
Hi!

Here I provide a patch that could be useful for some stageros users.

Stageros usually publishes information through some topics, among them:
odom, scan and base_ground_truth. However these topics publish information
in each simulation step. While it seems a right behavior for the
base_ground_truth information, the odom and scan topics should (IMHO)
publish information at the rate specified with the update_interval
stage-parameter in the stage-world-config file. In this way sensor rate are
well interfaced to the rest of the world nodes.

The patch have been applied over the current head file ---
src/stageros.cpp (revision
39760).

Regards.


--
Pablo Iñigo Blasco.
Computer Architecture Department. University of Seville (Spain)
http://es.linkedin.com/in/pibgeus |
http://geus.wordpress.com/category/robotics/ <http://geus.wordpress.com/>