Skip to content

Commit

Permalink
CamAngle in spiral if DIGITAL_CAM
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Jun 18, 2011
1 parent 07839bb commit 5e34be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sw/airborne/subsystems/navigation/spiral.c
Expand Up @@ -40,7 +40,7 @@ static float SRad;
static float IRad;
static float Alphalimit;
static float Segmente;
// static float CamAngle;
static float CamAngle;
static float ZPoint;
static float nav_radius_min;

Expand Down Expand Up @@ -155,7 +155,7 @@ bool_t SpiralNav(void)
// calculating Camwinkel for camera alignment
TransCurrentZ = estimator_z - ZPoint;
CamAngle = atan(SRad/TransCurrentZ) * 180 / 3.14;
//dc_cam_angle = CamAngle;
dc_cam_angle = CamAngle;
}
#endif
}
Expand Down

0 comments on commit 5e34be0

Please sign in to comment.