add control modes h file
This commit is contained in:
15
src/px4_connection/include/drone_control_modes.h
Normal file
15
src/px4_connection/include/drone_control_modes.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef DRONE_CONTROL_MODES_H
|
||||
#define DRONE_CONTROL_MODES_H
|
||||
|
||||
#define CONTROL_MODE_ATTITUDE 1
|
||||
#define CONTROL_MODE_VELOCITY 2
|
||||
#define CONTROL_MODE_POSITION 3
|
||||
|
||||
#define CONTROL_ACTUATOR_POS 0
|
||||
#define CONTROL_BODY_RATE_POS 1
|
||||
#define CONTROL_ATTITUDE_POS 2
|
||||
#define CONTROL_ACCELERATION_POS 3
|
||||
#define CONTROL_VELOCITY_POS 4
|
||||
#define CONTROL_POSITION_POS 5
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user