Skip to content

PwmInput (UORB message)

TOPICS: pwm_input

Fields

NameTypeUnit [Frame]Range/EnumDescription
timestampuint64Time since system start (microseconds)
error_countuint64Timer overcapture error flag (AUX5 or MAIN5)
pulse_widthuint32Pulse width, timer counts (microseconds)
perioduint32Period, timer counts (microseconds)

Source Message

Source file (GitHub)

Click here to see original file
c
uint64 timestamp   # Time since system start (microseconds)
uint64 error_count # Timer overcapture error flag (AUX5 or MAIN5)
uint32 pulse_width # Pulse width, timer counts (microseconds)
uint32 period      # Period, timer counts (microseconds)