Rev 588 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 588 | Rev 841 | ||
---|---|---|---|
Line 13... | Line 13... | ||
13 | // u8 RollComp; |
13 | // u8 RollComp; |
14 | // u8 RollMin; |
14 | // u8 RollMin; |
15 | // u8 RollMax; |
15 | // u8 RollMax; |
16 | } __attribute__((packed)) ServoParams_t; |
16 | } __attribute__((packed)) ServoParams_t; |
Line 17... | Line -... | ||
17 | - | ||
18 | // bitcoding for ServoParams.ServoCompInvert |
- | |
19 | #define SERVO_NICK_INV 0x01 |
- | |
20 | #define SERVO_ROLL_INV 0x02 |
- | |
21 | #define SERVO_RELATIVE 0x04 // direct poti control or relative moving of the servo value |
- | |
22 | #define CH_DIRECTION_1 0x08 |
- | |
23 | #define CH_DIRECTION_2 0x10 |
- | |
24 | - | ||
25 | //CH Orientation ServoBits 0x08 0x10 |
- | |
26 | // --> no change 0 0 |
- | |
27 | // --> front to starting point 0 1 |
- | |
28 | // --> rear to to starting point 1 0 |
- | |
Line 29... | Line 17... | ||
29 | //-> start orientation 1 1 |
17 | |
Line 30... | Line 18... | ||
30 | 18 |