Rev 219 | Go to most recent revision | 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; |
206 | ligi | 15 | |
16 | |||
219 | ligi | 17 | public final static byte GPS_FORMAT_DECIMAL =0; |
18 | public final static byte GPS_FORMAT_MINSEC =1; |
||
206 | ligi | 19 | |
20 | |||
219 | ligi | 21 | public final static byte SPEED_FORMAT_KMH =0; // km/h |
22 | public final static byte SPEED_FORMAT_MPH =1; // miles/h |
||
23 | public final static byte SPEED_FORMAT_CMS =2; // cm/s |
||
24 | |||
25 | |||
26 | |||
27 | /* from uart.h |
||
28 | unsigned char Digital[2]; |
||
29 | unsigned char RemoteTasten; |
||
30 | signed char Nick; |
||
31 | signed char Roll; |
||
32 | signed char Gier; |
||
33 | unsigned char Gas; |
||
34 | signed char Hight; |
||
35 | unsigned char free; |
||
36 | unsigned char Frame; |
||
37 | unsigned char Config; |
||
38 | */ |
||
39 | |||
40 | public final static byte EXTERN_CONTROL_NICK =3; |
||
41 | public final static byte EXTERN_CONTROL_ROLL =4; |
||
42 | public final static byte EXTERN_CONTROL_GIER =5; |
||
43 | public final static byte EXTERN_CONTROL_GAS =6; |
||
44 | public final static byte EXTERN_CONTROL_HIGHT =7; |
||
45 | public final static byte EXTERN_CONTROL_FRAME =9; |
||
46 | public final static byte EXTERN_CONTROL_CONFIG =10; |
||
47 | |||
48 | public final static byte EXTERN_CONTROL_LENGTH =11; |
||
49 | |||
50 | public final static byte EXTERN_CONTROL_DEFAULT =42; |
||
51 | |||
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 }; |
||
206 | ligi | 53 | } |