Rev 264 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
206 | ligi | 1 | package org.ligi.ufo; |
2 | |||
3 | |||
4 | public interface DUBwiseDefinitions |
||
5 | { |
||
6 | |||
219 | ligi | 7 | public final static byte USER_INTENT_NONE =0; |
8 | public final static byte USER_INTENT_RAWDEBUG =1; |
||
9 | public final static byte USER_INTENT_PARAMS =2; |
||
10 | public final static byte USER_INTENT_GRAPH =3; |
||
11 | public final static byte USER_INTENT_RCDATA =4; |
||
12 | public final static byte USER_INTENT_LCD =5; |
||
13 | public final static byte USER_INTENT_EXTERNAL_CONTROL =6; |
||
264 | ligi | 14 | public final static byte USER_INTENT_GPSOSD =7; |
381 | ligi | 15 | public final static byte USER_INTENT_FOLLOWME =8; |
206 | ligi | 16 | |
17 | |||
219 | ligi | 18 | public final static byte GPS_FORMAT_DECIMAL =0; |
19 | public final static byte GPS_FORMAT_MINSEC =1; |
||
206 | ligi | 20 | |
21 | |||
219 | ligi | 22 | public final static byte SPEED_FORMAT_KMH =0; // km/h |
23 | public final static byte SPEED_FORMAT_MPH =1; // miles/h |
||
24 | public final static byte SPEED_FORMAT_CMS =2; // cm/s |
||
25 | |||
381 | ligi | 26 | public final static byte BOOTLOADER_STAGE_NONE=0; |
27 | public final static byte BOOTLOADER_STAGE_GOT_MKBL=1; |
||
219 | ligi | 28 | |
29 | /* from uart.h |
||
30 | unsigned char Digital[2]; |
||
31 | unsigned char RemoteTasten; |
||
32 | signed char Nick; |
||
33 | signed char Roll; |
||
34 | signed char Gier; |
||
35 | unsigned char Gas; |
||
36 | signed char Hight; |
||
37 | unsigned char free; |
||
38 | unsigned char Frame; |
||
39 | unsigned char Config; |
||
40 | */ |
||
41 | |||
42 | public final static byte EXTERN_CONTROL_NICK =3; |
||
43 | public final static byte EXTERN_CONTROL_ROLL =4; |
||
44 | public final static byte EXTERN_CONTROL_GIER =5; |
||
45 | public final static byte EXTERN_CONTROL_GAS =6; |
||
46 | public final static byte EXTERN_CONTROL_HIGHT =7; |
||
47 | public final static byte EXTERN_CONTROL_FRAME =9; |
||
48 | public final static byte EXTERN_CONTROL_CONFIG =10; |
||
49 | |||
50 | public final static byte EXTERN_CONTROL_LENGTH =11; |
||
51 | |||
52 | public final static byte EXTERN_CONTROL_DEFAULT =42; |
||
53 | |||
54 | 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 }; |
||
206 | ligi | 55 | } |