Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect sensor update rate in lockstep mode #2861

Open
iche033 opened this issue Oct 21, 2020 · 1 comment
Open

Incorrect sensor update rate in lockstep mode #2861

iche033 opened this issue Oct 21, 2020 · 1 comment
Labels
9 Gazebo 9 bug Something isn't working

Comments

@iche033
Copy link
Contributor

iche033 commented Oct 21, 2020

When two physics based sensors of same type but with different update rates are present in the world, both sensors end up with the same (higher) frame rate.

To reproduce:

  1. create two sensors of different update rate, e.g. copy this hokuyo model from gazebo_models to a new model, named hokuyo_100, and change its update rate to 100. and place them into your gazebo models path, e.g. ~/.gazebo/models

  2. Launch gazebo and insert the original hokuyo model into the world. Check its update rate by using the Topic Visualization tool (Ctrl +T) and selecting the hokuyo topic under LaserScanStamped msg. The update rate should be 30Hz.

  3. Insert the hokuyo_100 model into the world, and see that the update rate for the original hokuyo sensor jumps to 100Hz

@iche033 iche033 added the 9 Gazebo 9 label Oct 21, 2020
@chapulina chapulina added the bug Something isn't working label Oct 22, 2020
@peci1
Copy link
Contributor

peci1 commented Oct 12, 2023

Fixed by #2863 in Gazebo 9, so can be closed? However, not fixed in 11!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9 Gazebo 9 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants