Main Content

PX4 Timestamp

Output absolute timestamp from the PX4 Autopilot to a Simulink model

Since R2023b

  • PX4 Timestamp

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 uint64.



expand all

Absolute timestamp from the PX4 Autopilot, returned as uint64.

Data Types: uint64


expand all

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.

Version History

Introduced in R2023b

See Also