Copter: remove DO_MOUNT_CONFIGURE support
The functions in the mount lib didn't work anyway
This commit is contained in:
parent
43c5a70424
commit
00f9882241
@ -151,16 +151,6 @@ static bool start_command(const AP_Mission::Mission_Command& cmd)
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MOUNT == ENABLED
|
|
||||||
case MAV_CMD_DO_MOUNT_CONFIGURE: // Mission command to configure a camera mount |Mount operation mode (see MAV_CONFIGURE_MOUNT_MODE enum)| stabilize roll? (1 = yes, 0 = no)| stabilize pitch? (1 = yes, 0 = no)| stabilize yaw? (1 = yes, 0 = no)| Empty| Empty| Empty|
|
|
||||||
camera_mount.configure_cmd();
|
|
||||||
break;
|
|
||||||
|
|
||||||
case MAV_CMD_DO_MOUNT_CONTROL: // Mission command to control a camera mount |pitch(deg*100) or lat, depending on mount mode.| roll(deg*100) or lon depending on mount mode| yaw(deg*100) or alt (in cm) depending on mount mode| Empty| Empty| Empty| Empty|
|
|
||||||
camera_mount.control_cmd();
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if PARACHUTE == ENABLED
|
#if PARACHUTE == ENABLED
|
||||||
case MAV_CMD_DO_PARACHUTE: // Mission command to configure or release parachute
|
case MAV_CMD_DO_PARACHUTE: // Mission command to configure or release parachute
|
||||||
do_parachute(cmd);
|
do_parachute(cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user