From 82431e8e372fbf3bfa5f2ebdc2b959b9e793498a Mon Sep 17 00:00:00 2001 From: Jonathan Challinger Date: Fri, 20 Feb 2015 11:55:43 -0800 Subject: [PATCH] Copter: allow DO_CHANGE_SPEED to set speed to zero --- ArduCopter/GCS_Mavlink.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/GCS_Mavlink.pde b/ArduCopter/GCS_Mavlink.pde index 787b034e01..9fd7429027 100644 --- a/ArduCopter/GCS_Mavlink.pde +++ b/ArduCopter/GCS_Mavlink.pde @@ -1063,7 +1063,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg) // param2 : new speed in m/s // param3 : unused // param4 : unused - if (packet.param2 > 0.0f) { + if (packet.param2 >= 0.0f) { wp_nav.set_speed_xy(packet.param2 * 100.0f); result = MAV_RESULT_ACCEPTED; } else {