Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

It's not recommended to access the world from a sensor plugin because sensors don't run in the physics thread.

Maybe what you want are Altimeter::LastUpdateTime or Altimeter::LastMeasurementTime?