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; |