|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
#include <inttypes.h>
Include dependency graph for orange_avoider.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | orange_avoider_init (void) |
| void | orange_avoider_periodic (void) |
| uint8_t | moveWaypointForwards (uint8_t waypoint, float distanceMeters) |
| uint8_t | increase_nav_heading (int32_t *heading, int32_t increment) |
| Increases the NAV heading. More... | |
| uint8_t | chooseRandomIncrementAvoidance (void) |
Variables | |
| uint8_t | safeToGoForwards |
| int32_t | incrementForAvoidance |
Definition in file orange_avoider.h.
| uint8_t chooseRandomIncrementAvoidance | ( | void | ) |
Definition at line 78 of file orange_avoider.c.
References incrementForAvoidance.
Referenced by orange_avoider_init().
Here is the caller graph for this function:Increases the NAV heading.
Assumes heading is an INT32_ANGLE. It is bound in this function.
Definition at line 51 of file orange_avoider.c.
Definition at line 58 of file orange_avoider.c.
References ANGLE_FLOAT_OF_BFP, nav_heading, POS_BFP_OF_REAL, stateGetPositionEnu_i(), waypoint_set_xy_i(), EnuCoor_i::x, EnuCoor_i::y, and EnuCoor_i::z.
Here is the call graph for this function:| void orange_avoider_init | ( | void | ) |
Definition at line 25 of file orange_avoider.c.
References chooseRandomIncrementAvoidance(), color_cb_max, color_cb_min, color_cr_max, color_cr_min, color_lum_max, and color_lum_min.
Here is the call graph for this function:| void orange_avoider_periodic | ( | void | ) |
Definition at line 38 of file orange_avoider.c.
References color_count, safeToGoForwards, and tresholdColorCount.
| int32_t incrementForAvoidance |
Definition at line 23 of file orange_avoider.c.
Referenced by chooseRandomIncrementAvoidance().
| uint8_t safeToGoForwards |
Definition at line 21 of file orange_avoider.c.
Referenced by orange_avoider_periodic().