add control modes h file

This commit is contained in:
Sem van der Hoeven
2023-05-12 12:42:13 +02:00
parent 10191e122b
commit 6bc357b6f8
4 changed files with 23 additions and 9 deletions

View 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