mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-12 05:17:36 +08:00
Collision Prevention: support multiple sensors and frames (#12883)
* build internal sensor map * Extend testing coverage * Update matrix library
This commit is contained in:
committed by
Julian Kent
parent
eb81f4bce2
commit
f3c5ca6015
@@ -1,6 +1,11 @@
|
||||
# Obstacle distances in front of the sensor.
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint8 frame #Coordinate frame of reference for the yaw rotation and offset of the sensor data. Defaults to MAV_FRAME_GLOBAL, which is North aligned. For body-mounted sensors use MAV_FRAME_BODY_FRD, which is vehicle front aligned.
|
||||
uint8 MAV_FRAME_GLOBAL = 0
|
||||
uint8 MAV_FRAME_LOCAL_NED = 1
|
||||
uint8 MAV_FRAME_BODY_FRD = 12
|
||||
|
||||
uint8 sensor_type # Type from MAV_DISTANCE_SENSOR enum.
|
||||
uint8 MAV_DISTANCE_SENSOR_LASER = 0
|
||||
uint8 MAV_DISTANCE_SENSOR_ULTRASOUND = 1
|
||||
|
||||
Reference in New Issue
Block a user