Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
orange_avoider.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Roland Meertens
3  *
4  * This file is part of paparazzi
5  *
6  */
13 #ifndef ORANGE_AVOIDER_H
14 #define ORANGE_AVOIDER_H
15 #include <inttypes.h>
16 #include "math/pprz_geodetic_int.h"
17 
19 extern float incrementForAvoidance;
21 extern void orange_avoider_init(void);
22 extern void orange_avoider_periodic(void);
23 extern uint8_t moveWaypointForward(uint8_t waypoint, float distanceMeters);
24 extern uint8_t moveWaypoint(uint8_t waypoint, struct EnuCoor_i *new_coor);
25 extern uint8_t increase_nav_heading(int32_t *heading, float incrementDegrees);
27 
28 #endif
29 
unsigned short uint16_t
Definition: types.h:16
float incrementForAvoidance
uint8_t moveWaypointForward(uint8_t waypoint, float distanceMeters)
uint8_t safeToGoForwards
void orange_avoider_periodic(void)
uint16_t trajectoryConfidence
static float heading
Definition: ahrs_infrared.c:45
Paparazzi fixed point math for geodetic calculations.
signed long int32_t
Definition: types.h:19
uint8_t chooseRandomIncrementAvoidance(void)
vector in East North Up coordinates
unsigned char uint8_t
Definition: types.h:14
uint8_t increase_nav_heading(int32_t *heading, float incrementDegrees)
uint8_t moveWaypoint(uint8_t waypoint, struct EnuCoor_i *new_coor)
void orange_avoider_init(void)