Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

struct LocalPositionCommandData

fbs/control.fbs / Source schema

Local-frame position, velocity, acceleration, and yaw setpoint.

FlatBuffers root table: LocalPositionCommand

NameTypeUnit / ScaleNotes
timestamp_usulongmicrosecondsCommand timestamp in monotonic boot time.
position_enu_msynapse.types.Vec3fENU frame (x east, y north, z up), metersDesired local position in the ENU frame.
velocity_enu_m_ssynapse.types.Vec3fENU frame (x east, y north, z up), meters per secondDesired local velocity in the ENU frame.
acceleration_or_force_enusynapse.types.Vec3fDesired ENU acceleration in m/s^2, or force in newtons when ForceSetpoint is set.
yaw_radfloatradiansDesired yaw angle; zero east and positive counter-clockwise.
yaw_rate_rad_sfloatradians per secondDesired yaw rate; positive counter-clockwise.
type_maskushortbitmaskBitmask of LocalPositionCommandMask bits.
coordinate_framesynapse.types.LocalFrameFrame in which the setpoint is expressed.