2016-05-19 23:46:06 +02:00
|
|
|
# Vehicle Region Of Interest (ROI)
|
|
|
|
|
|
2018-08-07 14:42:32 +01:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
2018-08-07 01:30:05 +01:00
|
|
|
|
2018-08-07 14:42:32 +01:00
|
|
|
uint8 ROI_NONE = 0 # No region of interest
|
|
|
|
|
uint8 ROI_WPNEXT = 1 # Point toward next MISSION with optional offset
|
|
|
|
|
uint8 ROI_WPINDEX = 2 # Point toward given MISSION
|
|
|
|
|
uint8 ROI_LOCATION = 3 # Point toward fixed location
|
|
|
|
|
uint8 ROI_TARGET = 4 # Point toward target
|
2018-03-15 15:41:35 +01:00
|
|
|
uint8 ROI_ENUM_END = 5
|
2016-05-19 23:46:06 +02:00
|
|
|
|
|
|
|
|
uint8 mode # ROI mode (see above)
|
2017-09-26 12:25:02 -04:00
|
|
|
|
2016-05-19 23:46:06 +02:00
|
|
|
float64 lat # Latitude to point to
|
|
|
|
|
float64 lon # Longitude to point to
|
|
|
|
|
float32 alt # Altitude to point to
|
2018-01-22 11:49:36 -08:00
|
|
|
|
2018-03-15 11:41:10 +01:00
|
|
|
# additional angle offsets to next waypoint (only used with ROI_WPNEXT)
|
|
|
|
|
float32 roll_offset # angle offset in rad
|
|
|
|
|
float32 pitch_offset # angle offset in rad
|
|
|
|
|
float32 yaw_offset # angle offset in rad
|