mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
added nav_WP I term reset at WP. Would like to consider scaling it with a trig function to keep continuity during nav.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2336 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
66b8cebb14
commit
02fe0ff13f
@ -119,6 +119,9 @@ void verify_commands(void)
|
||||
if(verify_must()){
|
||||
Serial.printf("verified must cmd %d\n" , command_must_index);
|
||||
command_must_index = NO_COMMAND;
|
||||
// reset rate controlled nav
|
||||
g.pid_nav_wp.reset_I();
|
||||
|
||||
}else{
|
||||
Serial.printf("verified must false %d\n" , command_must_index);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user