Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 746 → Rev 747

/branches/V0.68d Code Redesign killagreg/GPS.c
34,7 → 34,7
 
// ---------------------------------------------------------------------------------
 
// set current hold position a home positon
// set home position to current hold positon
void GPS_SetHomePosition(void)
{
HomePosition.Northing = HoldPosition.Northing;
44,7 → 44,7
}
 
 
// disable GPS contrl sticks
// disable GPS control sticks
void GPS_Neutral(void)
{
GPS_Pitch = 0;
51,7 → 51,7
GPS_Roll = 0;
}
 
// calculates the GPS control sticks salues from the position deviation
// calculates the GPS control sticks values from the position deviation
void GPS_PDController(void)
{
int32_t coscompass, sincompass;