Browse Source

Copter: fix bitmask for use with SET_POSITION_TARGET

Thanks to vooon for spotting this
master
Randy Mackay 10 years ago
parent
commit
11576a0f1e
  1. 6
      ArduCopter/defines.h

6
ArduCopter/defines.h

@ -394,8 +394,8 @@ enum FlipState { @@ -394,8 +394,8 @@ enum FlipState {
#define MAVLINK_SET_POS_TYPE_MASK_POS_IGNORE ((1<<0) | (1<<1) | (1<<2))
#define MAVLINK_SET_POS_TYPE_MASK_VEL_IGNORE ((1<<3) | (1<<4) | (1<<5))
#define MAVLINK_SET_POS_TYPE_MASK_ACC_IGNORE ((1<<6) | (1<<7) | (1<<8))
#define MAVLINK_SET_POS_TYPE_MASK_FORCE (1<<10)
#define MAVLINK_SET_POS_TYPE_MASK_YAW_IGNORE (1<<11)
#define MAVLINK_SET_POS_TYPE_MASK_YAW_RATE_IGNORE (1<<12)
#define MAVLINK_SET_POS_TYPE_MASK_FORCE (1<<9)
#define MAVLINK_SET_POS_TYPE_MASK_YAW_IGNORE (1<<10)
#define MAVLINK_SET_POS_TYPE_MASK_YAW_RATE_IGNORE (1<<11)
#endif // _DEFINES_H

Loading…
Cancel
Save