Search Grid
AUVSI Search Path Algorithm 2019-2021
Macros | Typedefs
Config.h File Reference

Configuration header. This file contains declarations used to configure the behavior of the program. More...

Go to the source code of this file.

Macros

#define OUT_FILE   "C:\\Users\\Public\\Downloads\\AUVSI-MissionPlanner-2020-2021\\flightplan\\mission\\MissionPointsWithSearch.txt"
 The resulting search path will be written to this file.
 
#define MISSION_FILE   "C:\\Users\\Public\\Downloads\\AUVSI-MissionPlanner-2020-2021\\flightplan\\mission\\MissionPointsParsed.txt"
 The initial mission points are read from this file.
 
#define BOUNDS_FILE   "C:\\Users\\Public\\Downloads\\AUVSI-MissionPlanner-2020-2021\\flightplan\\mission\\BoundaryPoints.txt"
 The coordinates of the boundary polygon are read from this file.
 
#define SEARCH_FILE   "C:\\Users\\Public\\Downloads\\AUVSI-MissionPlanner-2020-2021\\flightplan\\mission\\SearchGridParsed.txt"
 
#define ALTITUDE   150
 
#define RADIUS   36.6
 
#define OFFSET   RADIUS
 
#define CORRECTION   RADIUS
 
#define BUFF_MAX   30
 
#define EPSILON   DBL_EPSILON
 

Typedefs

typedef double float_type
 

Detailed Description

Configuration header. This file contains declarations used to configure the behavior of the program.

Author
Harvey Lin

Macro Definition Documentation

◆ ALTITUDE

#define ALTITUDE   150

The output altitude of the drone for the search path in feet.

◆ BUFF_MAX

#define BUFF_MAX   30

Max number of characters for lines read from mission files.

◆ CORRECTION

#define CORRECTION   RADIUS

Distance search path waypoints are scaled inward to avoid exiting the boundary.

◆ EPSILON

#define EPSILON   DBL_EPSILON

Epsilon value for the float type we are using.

◆ OFFSET

#define OFFSET   RADIUS

The spacing between each sweep line in meters. Minimum value this can be is the value of RADIUS.

See also
RADIUS

◆ RADIUS

#define RADIUS   36.6

The turn radius of the drone in meters.

◆ SEARCH_FILE

#define SEARCH_FILE   "C:\\Users\\Public\\Downloads\\AUVSI-MissionPlanner-2020-2021\\flightplan\\mission\\SearchGridParsed.txt"

The coordinates of the search area are read from this file.

Typedef Documentation

◆ float_type

typedef double float_type

The float type we are using.