27 #ifndef GVF_LOW_LEVEL_CONTROL_H
28 #define GVF_LOW_LEVEL_CONTROL_H
30 #ifdef FIXEDWING_FIRMWARE
34 #define gvf_setNavMode(_navMode) (horizontal_mode = _navMode)
35 #define GVF_MODE_ROUTE HORIZONTAL_MODE_ROUTE
36 #define GVF_MODE_WAYPOINT HORIZONTAL_MODE_WAYPOINT
37 #define GVF_MODE_CIRCLE HORIZONTAL_MODE_CIRCLE
39 #elif defined(ROVER_FIRMWARE)
42 #define gvf_setNavMode(_navMode) (nav.mode = _navMode)
43 #define GVF_MODE_ROUTE NAV_MODE_ROUTE
44 #define GVF_MODE_WAYPOINT NAV_MODE_WAYPOINT
45 #define GVF_MODE_CIRCLE NAV_MODE_CIRCLE
47 #elif defined(ROTORCRAFT_FIRMWARE)
49 #define gvf_setNavMode(_navMode) (nav.horizontal_mode = _navMode)
50 #define GVF_MODE_ROUTE NAV_HORIZONTAL_MODE_ROUTE
51 #define GVF_MODE_WAYPOINT NAV_HORIZONTAL_MODE_WAYPOINT
52 #define GVF_MODE_CIRCLE NAV_HORIZONTAL_MODE_CIRCLE
59 #error "GVF does not support your firmware yet!"
Fixed wing horizontal control.
void gvf_low_level_control_2D(float)
void gvf_low_level_getState(void)
Fixedwing Navigation library.
Rotorcraft navigation functions.
Rover navigation functions.
API to get/set the generic vehicle states.