Skip to content

Commit

Permalink
SITL: Clarification for timestamp in JSON interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuxliri authored and IamPete1 committed Feb 3, 2025
1 parent e5efe49 commit 873e899
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/SITL/examples/JSON/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ This is a example input frame, it should be preceded by and terminated with a ca
{"timestamp":2500,"imu":{"gyro":[0,0,0],"accel_body":[0,0,0]},"position":[0,0,0],"attitude":[0,0,0],"velocity":[0,0,0]}
```
The order of fields is not important.
Note that the timestamp is the absolute physics time, not the timestep.

It is possible to send optional fields to provide data for additional sensors, in most cases this will require setting the relevant sensor type param to the SITL driver.

Expand Down

0 comments on commit 873e899

Please sign in to comment.