Output absolute timestamp from the PX4 Autopilot to a Simulink model
UAV Toolbox Support Package for PX4 Autopilots / PX4 Utility Blocks
The PX4 timestamp block gets the time since start in microseconds from
the PX4 Autopilot into the Simulink Model. This timestamp information is absolute, ensuring
it never wraps or goes backwards. The output datatype of timestamp is
Timestamp — Absolute timestamp
Absolute timestamp from the PX4 Autopilot, returned as
Sample time — Interval at which the block reads values
0.01 (default) | any non-negative value that is a multiple of 0.01 | -1
Enter the time interval at which the block reads values from the Pixhawk Autopilot.
When you set this parameter to
-1, Simulink® determines the best sample time for the block based on the block
context within the model.
Introduced in R2023b