pps_capture: implementation of pulse per second capture driver

This commit is contained in:
Igor Mišić
2021-11-18 12:53:47 +01:00
committed by Beat Küng
parent 43a04c9bca
commit 72b1db4a63
5 changed files with 274 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ set(msg_files
orbit_status.msg
parameter_update.msg
ping.msg
pps_capture.msg
position_controller_landing_status.msg
position_controller_status.msg
position_setpoint.msg

3
msg/pps_capture.msg Normal file
View File

@@ -0,0 +1,3 @@
uint64 timestamp # time since system start (microseconds)
uint64 rtc_timestamp # captured time in microseconds from real-time clock at PPS event
int32 rtc_drift_time # time drift between RTC and PPS event in microseconds