mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: payload place skips releasing states if gripper not valid
This commit is contained in:
parent
6fd771afc9
commit
c191a44b27
@ -802,6 +802,7 @@ bool Copter::verify_payload_place()
|
||||
g2.gripper.release();
|
||||
} else {
|
||||
gcs_send_text_fmt(MAV_SEVERITY_INFO, "Gripper not valid");
|
||||
nav_payload_place.state = PayloadPlaceStateType_Ascending_Start;
|
||||
}
|
||||
nav_payload_place.state = PayloadPlaceStateType_Releasing;
|
||||
// no break
|
||||
|
Loading…
Reference in New Issue
Block a user