mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
ACM: Added note about scaling rates
This commit is contained in:
parent
4b75f74d2c
commit
68d210660e
@ -424,6 +424,8 @@ static int32_t get_new_altitude()
|
||||
}
|
||||
|
||||
int32_t diff = abs(next_WP.alt - target_altitude);
|
||||
// scale is how we generate a desired rate from the elapsed time
|
||||
// a smaller scale means faster rates
|
||||
int8_t _scale = 4;
|
||||
|
||||
if (next_WP.alt < target_altitude){
|
||||
|
Loading…
Reference in New Issue
Block a user