44 #define OBSTACLE_DISTANCE_MAV_FRAME_GLOBAL 0 45 #define OBSTACLE_DISTANCE_MAV_FRAME_LOCAL_NED 1 46 #define OBSTACLE_DISTANCE_MAV_FRAME_BODY_FRD 12 47 #define OBSTACLE_DISTANCE_MAV_DISTANCE_SENSOR_LASER 0 48 #define OBSTACLE_DISTANCE_MAV_DISTANCE_SENSOR_ULTRASOUND 1 49 #define OBSTACLE_DISTANCE_MAV_DISTANCE_SENSOR_INFRARED 2 50 #define OBSTACLE_DISTANCE_MAV_DISTANCE_SENSOR_RADAR 3 63 uint16_t distances[72];
72 static constexpr uint8_t MAV_FRAME_GLOBAL = 0;
73 static constexpr uint8_t MAV_FRAME_LOCAL_NED = 1;
74 static constexpr uint8_t MAV_FRAME_BODY_FRD = 12;
75 static constexpr uint8_t MAV_DISTANCE_SENSOR_LASER = 0;
76 static constexpr uint8_t MAV_DISTANCE_SENSOR_ULTRASOUND = 1;
77 static constexpr uint8_t MAV_DISTANCE_SENSOR_INFRARED = 2;
78 static constexpr uint8_t MAV_DISTANCE_SENSOR_RADAR = 3;
API for the uORB lightweight object broker.
ORB_DECLARE(obstacle_distance)