mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Copter: minor typo in do_change_speed processing
It is unlikely that the "f" at the end of the 100 is required to maintain the full precision of the target speed but added just in case
This commit is contained in:
parent
08b78db43c
commit
a3573f9ebd
@ -629,7 +629,7 @@ static bool do_guided(const AP_Mission::Mission_Command& cmd)
|
||||
|
||||
static void do_change_speed(const AP_Mission::Mission_Command& cmd)
|
||||
{
|
||||
wp_nav.set_horizontal_velocity(cmd.content.speed.target_ms * 100);
|
||||
wp_nav.set_horizontal_velocity(cmd.content.speed.target_ms * 100.0f);
|
||||
}
|
||||
|
||||
static void do_set_home(const AP_Mission::Mission_Command& cmd)
|
||||
|
Loading…
Reference in New Issue
Block a user