Skip to content

Commit

Permalink
my fix for "servo ticking" in auto1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Lorenz committed Sep 26, 2011
1 parent 3113ebe commit 78605b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sw/airborne/subsystems/nav.h
Expand Up @@ -175,7 +175,8 @@ bool_t nav_approaching_xy(float x, float y, float from_x, float from_y, float ap

#define NavAttitude(_roll) { \
lateral_mode = LATERAL_MODE_ROLL; \
h_ctl_roll_setpoint = _roll; \
if(pprz_mode != PPRZ_MODE_AUTO1) \
{h_ctl_roll_setpoint = _roll;} \
}

#define nav_IncreaseShift(x) { if (x==0) nav_shift = 0; else nav_shift += x; }
Expand Down

0 comments on commit 78605b4

Please sign in to comment.