sub struct for TOPIC_HARD_SYNC More...
#include <dji_telemetry.hpp>
Public Attributes | |
uint32_t | time2p5ms |
uint32_t | time1ns |
uint32_t | resetTime2p5ms |
uint16_t | index |
uint8_t | flag |
Detailed Description
sub struct for TOPIC_HARD_SYNC
Member Data Documentation
◆ flag
uint8_t DJI::OSDK::Telemetry::SyncTimestamp::flag |
This is true when the packet corresponds to a hardware pulse and false otherwise. This is useful because you can request the software packet to be sent at a higher frequency that the hardware line.
◆ index
uint16_t DJI::OSDK::Telemetry::SyncTimestamp::index |
This is the tag field you filled out when using the setSyncFreq API above; use it to identify the packets that have sync data. This is useful when you call the setSyncFreq API with freqInHz = 0, so you get a single pulse that can be uniquely identified with a tag - allowing you to create your own pulse train with uniquely identifiable pulses.
◆ resetTime2p5ms
uint32_t DJI::OSDK::Telemetry::SyncTimestamp::resetTime2p5ms |
clock time in multiple of 2.5ms elapsed since the hardware sync started
◆ time1ns
uint32_t DJI::OSDK::Telemetry::SyncTimestamp::time1ns |
nanosecond time offset from the 2.5ms pulse
◆ time2p5ms
uint32_t DJI::OSDK::Telemetry::SyncTimestamp::time2p5ms |
clock time in multiples of 2.5ms. Sync timer runs at 400Hz, this field increments in integer steps
The documentation for this struct was generated from the following file:
- osdk-core/api/inc/dji_telemetry.hpp