Skip to content

Commit

Permalink
[rotorcraft] remove unused nav_course
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Jun 18, 2014
1 parent ab2a643 commit 91cb0e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions sw/airborne/firmwares/rotorcraft/navigation.c
Expand Up @@ -78,7 +78,7 @@ int32_t nav_leg_progress;
int32_t nav_leg_length;

int32_t nav_roll, nav_pitch;
int32_t nav_heading, nav_course;
int32_t nav_heading;
float nav_radius;

/** default nav_circle_radius in meters */
Expand Down Expand Up @@ -159,7 +159,6 @@ void nav_init(void) {
nav_roll = 0;
nav_pitch = 0;
nav_heading = 0;
nav_course = 0;
nav_radius = DEFAULT_CIRCLE_RADIUS;
nav_throttle = 0;
nav_climb = 0;
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/firmwares/rotorcraft/navigation.h
Expand Up @@ -56,7 +56,7 @@ extern int32_t nav_circle_radius, nav_circle_qdr, nav_circle_radians;
#define HORIZONTAL_MODE_CIRCLE 2
#define HORIZONTAL_MODE_ATTITUDE 3
extern int32_t nav_roll, nav_pitch; ///< with #INT32_ANGLE_FRAC
extern int32_t nav_heading, nav_course; ///< with #INT32_ANGLE_FRAC
extern int32_t nav_heading; ///< with #INT32_ANGLE_FRAC
extern float nav_radius;

extern int32_t nav_leg_progress;
Expand Down

0 comments on commit 91cb0e3

Please sign in to comment.