added loiter control to reset nav

This commit is contained in:
Jason Short 2011-12-13 21:16:04 -08:00
parent 2a7f981fb0
commit d5666f287c
1 changed files with 3 additions and 0 deletions

View File

@ -193,6 +193,9 @@ static void reset_nav(void)
g.pi_nav_lat.reset_I();
g.pi_nav_lon.reset_I();
g.pi_loiter_lat.reset_I();
g.pi_loiter_lon.reset_I();
circle_angle = 0;
crosstrack_error = 0;
nav_lat = 0;