Subversion Repositories Projects

Compare Revisions

Regard whitespace Rev 1698 → Rev 1699

/dongfang_FC_rewrite_tool/src/dongfang/mkt/frames/ExternalControlRequestFrame.java
4,25 → 4,13
 
import dongfang.mkt.RequestFrameVisitor;
 
 
/*
uint8_t digital[2];
uint8_t remoteButtons;
int8_t pitch;
int8_t roll;
int8_t yaw;
uint8_t throttle;
int8_t height;
uint8_t free;
uint8_t frame;
uint8_t config;
*/
public class ExternalControlRequestFrame extends RequestFrame {
public static final int COMMAND_NONE = 0;
public static final int COMMAND_START = 6;
public static final int COMMAND_STOP = 8;
public static final int COMMAND_GYROCAL = 2;
public static final int COMMAND_ACCCAL = 4;
public static final int COMMAND_GYROCAL = 1;
public static final int COMMAND_ACCCAL = 2;
public static final int COMMAND_GYRO_ACC_CAL = 3;
public static final int COMMAND_STOP = 10;
public static final int COMMAND_START = 11;
int[] digital = new int[2];// unsigned byte.
int remoteButtons; // unsigned byte.