mirror of https://github.com/ArduPilot/ardupilot
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
27ab016d98
commit
57f98db7ce
|
@ -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