Subversion Repositories Projects

Rev

Rev 1698 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1698 Rev 1699
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
import java.io.IOException;
3
import java.io.IOException;
Line 4... Line -...
4
 
-
 
5
import dongfang.mkt.RequestFrameVisitor;
-
 
6
 
-
 
7
 
-
 
8
/*
-
 
9
uint8_t digital[2];
-
 
10
uint8_t remoteButtons;
-
 
11
int8_t  pitch;
-
 
12
int8_t  roll;
-
 
13
int8_t  yaw;
-
 
14
uint8_t throttle;
-
 
15
int8_t  height;
-
 
16
uint8_t free;
-
 
17
uint8_t frame;
4
 
18
uint8_t config;
5
import dongfang.mkt.RequestFrameVisitor;
19
*/
6
 
20
public class ExternalControlRequestFrame extends RequestFrame {
7
public class ExternalControlRequestFrame extends RequestFrame {
21
        public static final int COMMAND_NONE = 0;
8
        public static final int COMMAND_NONE = 0;
-
 
9
        public static final int COMMAND_GYROCAL = 1;
22
        public static final int COMMAND_START = 6;
10
        public static final int COMMAND_ACCCAL = 2;
Line 23... Line 11...
23
        public static final int COMMAND_STOP = 8;
11
        public static final int COMMAND_GYRO_ACC_CAL = 3;
24
        public static final int COMMAND_GYROCAL = 2;
12
        public static final int COMMAND_STOP = 10;
25
        public static final int COMMAND_ACCCAL = 4;
13
        public static final int COMMAND_START = 11;
26
       
14