Subversion Repositories Projects

Rev

Rev 211 | Rev 264 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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