Robotics StackExchange | Archived questions

Programmatically check for scene update after setModelState

This is a follow up to this question. If my suspicion is correct, I will need some way of checking when World::Step was called after setModelState in order to reliably get sensor readings that register the updated model positions.

Looking at World::RunLoop, it seems World::Step is called as fast as possible and thus is subject to the computer load, making it nondeterministic.

Given that, is there any programmatic way of checking when World::Step has updated the scene?

Asked by wongrufus on 2021-01-04 23:28:53 UTC

Comments

Answers