43 printf(
"Checking if this function is called %d threshold: %d now: %d \n",
color_count, tresholdColorCount,
53 *heading = *heading + increment;
void orange_avoider_init()
uint8_t moveWaypointForwards(uint8_t waypoint, float distanceMeters)
Rotorcraft navigation functions.
#define POS_BFP_OF_REAL(_af)
uint8_t increase_nav_heading(int32_t *heading, int32_t increment)
Increases the NAV heading.
uint8_t chooseRandomIncrementAvoidance()
int32_t incrementForAvoidance
#define ANGLE_FLOAT_OF_BFP(_ai)
void waypoint_set_xy_i(uint8_t wp_id, int32_t x, int32_t y)
Set only local XY coordinates of waypoint without update altitude.
#define INT32_ANGLE_NORMALIZE(_a)
vector in East North Up coordinates
API to get/set the generic vehicle states.
void orange_avoider_periodic()
static struct EnuCoor_i * stateGetPositionEnu_i(void)
Get position in local ENU coordinates (int).
int32_t nav_heading
with INT32_ANGLE_FRAC