For now, imu and blind state does not have a timestamp. Unitree provides a tick counter (ms), but this seems not linked with the timestamp of the unitree lidar built in (go2).
Possible solution: at startup, we create a new clock, and:
- if lidar is present, we rebase this clock at the lidar last message timestamp (so it start from that), and we fill imu and blind state
- if lidar is not present (e.g. b2), we use this new clock as it is.
Status: Currently not working on it, PRs are very welcome!
What do you think @ylenianistico?
For now, imu and blind state does not have a timestamp. Unitree provides a tick counter (ms), but this seems not linked with the timestamp of the unitree lidar built in (go2).
Possible solution: at startup, we create a new clock, and:
Status: Currently not working on it, PRs are very welcome!
What do you think @ylenianistico?