First time here? Check out the FAQ!
answered 2019-09-23 23:30:27 -0600
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?
Altimeter::LastUpdateTime
Altimeter::LastMeasurementTime