orange_avoider

This module is an example module for the course AE4317 Autonomous Flight of Micro Air Vehicles at the TU Delft. This module is used in combination with a color filter (cv_detect_color_object) and the navigation mode of the autopilot. The avoidance strategy is to simply count the total number of orange pixels. When above a certain percentage threshold, (given by color_count_frac) we assume that there is an obstacle and we turn. The color filter settings are set using the cv_detect_color_object. This module can run multiple filters simultaneously so you have to define which filter to use with the ORANGE_AVOIDER_VISUAL_DETECTION_ID setting.

Defines

Name

Value

Description

ORANGE_AVOIDER_VISUAL_DETECTION_ID

ABI_BROADCAST

which VISUAL_DETECTION message to recieve for orange pole detection.

Depends

  • cv_detect_color_object