PX4 Firmware
PX4 Autopilot Software http://px4.io
distance_sensor.h File Reference
#include <uORB/uORB.h>
Include dependency graph for distance_sensor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  distance_sensor_s
 

Macros

#define DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_LASER   0
 
#define DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_ULTRASOUND   1
 
#define DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_INFRARED   2
 
#define DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_RADAR   3
 
#define DISTANCE_SENSOR_ROTATION_YAW_0   0
 
#define DISTANCE_SENSOR_ROTATION_YAW_45   1
 
#define DISTANCE_SENSOR_ROTATION_YAW_90   2
 
#define DISTANCE_SENSOR_ROTATION_YAW_135   3
 
#define DISTANCE_SENSOR_ROTATION_YAW_180   4
 
#define DISTANCE_SENSOR_ROTATION_YAW_225   5
 
#define DISTANCE_SENSOR_ROTATION_YAW_270   6
 
#define DISTANCE_SENSOR_ROTATION_YAW_315   7
 
#define DISTANCE_SENSOR_ROTATION_FORWARD_FACING   0
 
#define DISTANCE_SENSOR_ROTATION_RIGHT_FACING   2
 
#define DISTANCE_SENSOR_ROTATION_BACKWARD_FACING   4
 
#define DISTANCE_SENSOR_ROTATION_LEFT_FACING   6
 
#define DISTANCE_SENSOR_ROTATION_UPWARD_FACING   24
 
#define DISTANCE_SENSOR_ROTATION_DOWNWARD_FACING   25
 
#define DISTANCE_SENSOR_ROTATION_CUSTOM   100
 

Functions

 ORB_DECLARE (distance_sensor)
 

Macro Definition Documentation

◆ DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_INFRARED

#define DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_INFRARED   2

Definition at line 46 of file distance_sensor.h.

◆ DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_LASER

#define DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_LASER   0

Definition at line 44 of file distance_sensor.h.

◆ DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_RADAR

#define DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_RADAR   3

Definition at line 47 of file distance_sensor.h.

◆ DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_ULTRASOUND

#define DISTANCE_SENSOR_MAV_DISTANCE_SENSOR_ULTRASOUND   1

Definition at line 45 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_BACKWARD_FACING

#define DISTANCE_SENSOR_ROTATION_BACKWARD_FACING   4

Definition at line 58 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_CUSTOM

#define DISTANCE_SENSOR_ROTATION_CUSTOM   100

Definition at line 62 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_DOWNWARD_FACING

#define DISTANCE_SENSOR_ROTATION_DOWNWARD_FACING   25

Definition at line 61 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_FORWARD_FACING

#define DISTANCE_SENSOR_ROTATION_FORWARD_FACING   0

Definition at line 56 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_LEFT_FACING

#define DISTANCE_SENSOR_ROTATION_LEFT_FACING   6

Definition at line 59 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_RIGHT_FACING

#define DISTANCE_SENSOR_ROTATION_RIGHT_FACING   2

Definition at line 57 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_UPWARD_FACING

#define DISTANCE_SENSOR_ROTATION_UPWARD_FACING   24

Definition at line 60 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_YAW_0

#define DISTANCE_SENSOR_ROTATION_YAW_0   0

Definition at line 48 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_YAW_135

#define DISTANCE_SENSOR_ROTATION_YAW_135   3

Definition at line 51 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_YAW_180

#define DISTANCE_SENSOR_ROTATION_YAW_180   4

Definition at line 52 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_YAW_225

#define DISTANCE_SENSOR_ROTATION_YAW_225   5

Definition at line 53 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_YAW_270

#define DISTANCE_SENSOR_ROTATION_YAW_270   6

Definition at line 54 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_YAW_315

#define DISTANCE_SENSOR_ROTATION_YAW_315   7

Definition at line 55 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_YAW_45

#define DISTANCE_SENSOR_ROTATION_YAW_45   1

Definition at line 49 of file distance_sensor.h.

◆ DISTANCE_SENSOR_ROTATION_YAW_90

#define DISTANCE_SENSOR_ROTATION_YAW_90   2

Definition at line 50 of file distance_sensor.h.

Function Documentation

◆ ORB_DECLARE()

ORB_DECLARE ( distance_sensor  )