I can read in Telemetry list url (Telemetry list - 7.7) Each section contains a circular buffer of timestamped samples provided by a producer.
How to get timestamp of last drone_controller telemetry for example ?
I saw in guidance/python/hello.py that we can get self.tlm_dctl["position_local.x"] to get position_local, but how to know the associated timestamp of this info ?
For your information, it is also possible to specify a timestamp and a method for a fetch:
def fetch_sample(self, timestamp=None, method=Method.Latest):
"""Get a new sample.
Args:
timestamp (timespec): timestamp of query (can be None for LATEST
method).
method (int): method of query.
Returns:
bool: True if at least one sample has been read in one of the shared
memory where variables are.
"""