Subversion Repositories Projects

Rev

Rev 211 | Rev 264 | 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;
206 ligi 14
 
15
 
219 ligi 16
    public final static byte GPS_FORMAT_DECIMAL           =0;
17
    public final static byte GPS_FORMAT_MINSEC            =1;
206 ligi 18
 
19
 
219 ligi 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
 
47
    public final static byte EXTERN_CONTROL_LENGTH       =11;
48
 
49
    public final static byte EXTERN_CONTROL_DEFAULT      =42;
50
 
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 };
206 ligi 52
}