NinjaFlight
|
#include "../config/navigation.h"
Go to the source code of this file.
Enumerations | |
enum | navigationMode_e { NAV_MODE_NONE = 0, NAV_MODE_POSHOLD, NAV_MODE_WP } |
Functions | |
void | navigationInit (struct pid_config *pidProfile) |
void | GPS_reset_home_position (void) |
void | GPS_reset_nav (void) |
void | GPS_set_next_wp (int32_t *lat, int32_t *lon) |
void | gpsUsePIDs (struct pid_config *pidProfile) |
void | updateGpsStateForHomeAndHoldMode (void) |
void | updateGpsWaypointsAndMode (void) |
void | onGpsNewData (void) |
Variables | |
int16_t | GPS_angle [ANGLE_INDEX_COUNT] |
int32_t | GPS_home [2] |
int32_t | GPS_hold [2] |
uint16_t | GPS_distanceToHome |
int16_t | GPS_directionToHome |
navigationMode_e | navi_mode |
enum navigationMode_e |
void GPS_reset_home_position | ( | void | ) |
void GPS_reset_nav | ( | void | ) |
void GPS_set_next_wp | ( | int32_t * | lat, |
int32_t * | lon | ||
) |
void gpsUsePIDs | ( | struct pid_config * | pidProfile | ) |
void navigationInit | ( | struct pid_config * | pidProfile | ) |
void onGpsNewData | ( | void | ) |
void updateGpsStateForHomeAndHoldMode | ( | void | ) |
void updateGpsWaypointsAndMode | ( | void | ) |
int16_t GPS_angle[ANGLE_INDEX_COUNT] |
int16_t GPS_directionToHome |
uint16_t GPS_distanceToHome |
int32_t GPS_hold[2] |
int32_t GPS_home[2] |
navigationMode_e navi_mode |