Rev 219 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 219 | Rev 264 | ||
---|---|---|---|
1 | package org.ligi.ufo; |
1 | package org.ligi.ufo; |
2 | 2 | ||
3 | 3 | ||
4 | public interface DUBwiseDefinitions |
4 | public interface DUBwiseDefinitions |
5 | { |
5 | { |
6 | 6 | ||
7 | public final static byte USER_INTENT_NONE =0; |
7 | public final static byte USER_INTENT_NONE =0; |
8 | public final static byte USER_INTENT_RAWDEBUG =1; |
8 | public final static byte USER_INTENT_RAWDEBUG =1; |
9 | public final static byte USER_INTENT_PARAMS =2; |
9 | public final static byte USER_INTENT_PARAMS =2; |
10 | public final static byte USER_INTENT_GRAPH =3; |
10 | public final static byte USER_INTENT_GRAPH =3; |
11 | public final static byte USER_INTENT_RCDATA =4; |
11 | public final static byte USER_INTENT_RCDATA =4; |
12 | public final static byte USER_INTENT_LCD =5; |
12 | public final static byte USER_INTENT_LCD =5; |
13 | public final static byte USER_INTENT_EXTERNAL_CONTROL =6; |
13 | public final static byte USER_INTENT_EXTERNAL_CONTROL =6; |
- | 14 | public final static byte USER_INTENT_GPSOSD =7; |
|
14 | 15 | ||
15 | 16 | ||
16 | public final static byte GPS_FORMAT_DECIMAL =0; |
17 | public final static byte GPS_FORMAT_DECIMAL =0; |
17 | public final static byte GPS_FORMAT_MINSEC =1; |
18 | public final static byte GPS_FORMAT_MINSEC =1; |
18 | 19 | ||
19 | 20 | ||
20 | public final static byte SPEED_FORMAT_KMH =0; // km/h |
21 | public final static byte SPEED_FORMAT_KMH =0; // km/h |
21 | public final static byte SPEED_FORMAT_MPH =1; // miles/h |
22 | public final static byte SPEED_FORMAT_MPH =1; // miles/h |
22 | public final static byte SPEED_FORMAT_CMS =2; // cm/s |
23 | public final static byte SPEED_FORMAT_CMS =2; // cm/s |
23 | 24 | ||
24 | 25 | ||
25 | 26 | ||
26 | /* from uart.h |
27 | /* from uart.h |
27 | unsigned char Digital[2]; |
28 | unsigned char Digital[2]; |
28 | unsigned char RemoteTasten; |
29 | unsigned char RemoteTasten; |
29 | signed char Nick; |
30 | signed char Nick; |
30 | signed char Roll; |
31 | signed char Roll; |
31 | signed char Gier; |
32 | signed char Gier; |
32 | unsigned char Gas; |
33 | unsigned char Gas; |
33 | signed char Hight; |
34 | signed char Hight; |
34 | unsigned char free; |
35 | unsigned char free; |
35 | unsigned char Frame; |
36 | unsigned char Frame; |
36 | unsigned char Config; |
37 | unsigned char Config; |
37 | */ |
38 | */ |
38 | 39 | ||
39 | public final static byte EXTERN_CONTROL_NICK =3; |
40 | public final static byte EXTERN_CONTROL_NICK =3; |
40 | public final static byte EXTERN_CONTROL_ROLL =4; |
41 | public final static byte EXTERN_CONTROL_ROLL =4; |
41 | public final static byte EXTERN_CONTROL_GIER =5; |
42 | public final static byte EXTERN_CONTROL_GIER =5; |
42 | public final static byte EXTERN_CONTROL_GAS =6; |
43 | public final static byte EXTERN_CONTROL_GAS =6; |
43 | public final static byte EXTERN_CONTROL_HIGHT =7; |
44 | public final static byte EXTERN_CONTROL_HIGHT =7; |
44 | public final static byte EXTERN_CONTROL_FRAME =9; |
45 | public final static byte EXTERN_CONTROL_FRAME =9; |
45 | public final static byte EXTERN_CONTROL_CONFIG =10; |
46 | public final static byte EXTERN_CONTROL_CONFIG =10; |
46 | 47 | ||
47 | public final static byte EXTERN_CONTROL_LENGTH =11; |
48 | public final static byte EXTERN_CONTROL_LENGTH =11; |
48 | 49 | ||
49 | public final static byte EXTERN_CONTROL_DEFAULT =42; |
50 | public final static byte EXTERN_CONTROL_DEFAULT =42; |
50 | 51 | ||
51 | public final static byte[] default_extern_keycontrol = { (byte)0, (byte)0, (byte)0, (byte)EXTERN_CONTROL_DEFAULT, (byte)EXTERN_CONTROL_DEFAULT, (byte)EXTERN_CONTROL_DEFAULT, (byte)255 , (byte)0, (byte)0, (byte)1, (byte)1 }; |
52 | public final static byte[] default_extern_keycontrol = { (byte)0, (byte)0, (byte)0, (byte)EXTERN_CONTROL_DEFAULT, (byte)EXTERN_CONTROL_DEFAULT, (byte)EXTERN_CONTROL_DEFAULT, (byte)255 , (byte)0, (byte)0, (byte)1, (byte)1 }; |
52 | } |
53 | } |
53 | 54 |