Rev 1775 | Rev 2052 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1775 | Rev 2048 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _COMMANDS_H |
1 | #ifndef _COMMANDS_H |
2 | #define _COMMANDS_H |
2 | #define _COMMANDS_H |
Line 3... | Line 3... | ||
3 | 3 | ||
4 | #include <inttypes.h> |
- | |
5 | void commands_handleCommands(void); |
- | |
6 | 4 | #include <inttypes.h> |
|
7 | /* |
5 | /* |
8 | * An enumeration over the start motors, stop motors, calibrate gyros |
6 | * An enumeration over the start motors, stop motors, calibrate gyros |
9 | * and calibreate acc. meters commands. |
7 | * and calibreate acc. meters commands. |
10 | */ |
8 | */ |
11 | #define COMMAND_NONE 0 |
9 | #define COMMAND_NONE 0 |
12 | #define COMMAND_START 6 |
10 | #define COMMAND_START 6 |
13 | #define COMMAND_STOP 8 |
11 | #define COMMAND_STOP 8 |
14 | #define COMMAND_GYROCAL 2 |
12 | #define COMMAND_GYROCAL 2 |
Line -... | Line 13... | ||
- | 13 | #define COMMAND_ACCCAL 4 |
|
- | 14 | ||
- | 15 | extern uint8_t compassCalState; |
|
- | 16 | ||
- | 17 | void commands_handleCommands(void); |
|
15 | #define COMMAND_ACCCAL 4 |
18 | uint8_t commands_isCalibratingCompass(void); |