Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Wait For the API calls in a world plugin


It's pretty clear that the API calls are asynchronous when called inside the worldUpdate function.

I was wondering if there a exist a function that can be used to wait for the end of the calls ?

The idee behind it would be to pause the simulation, call a few function from the API, advance from one step while knowing that the previous calls have been executed, then call new API functions, etc.

Thanks a lot for anyone that can help, TTDM