UAV Simulator
Loading...
Searching...
No Matches
MissionManager Class Reference

Manages generation of high-level UAV flight missions. More...

#include <mission_manager.h>

Public Member Functions

 MissionManager ()
 Default constructor.
 
Path generateSquareCircuit (float centerX, float centerY, float size, float altitude)
 Generate a simple square flight circuit path.
 

Detailed Description

Manages generation of high-level UAV flight missions.

Provides methods to generate common flight patterns and potentially load missions from external sources.

Constructor & Destructor Documentation

◆ MissionManager()

MissionManager::MissionManager ( )

Default constructor.

Member Function Documentation

◆ generateSquareCircuit()

Path MissionManager::generateSquareCircuit ( float  centerX,
float  centerY,
float  size,
float  altitude 
)

Generate a simple square flight circuit path.

Generates a square flight path centered at (centerX, centerY) with a given size and altitude.

Creates a square path centered at (centerX, centerY) with the specified size and constant altitude. The path can be used for repetitive circuits or testing.

Parameters
centerXX-coordinate of the square's center in world units.
centerYY-coordinate of the square's center in world units.
sizeLength of each side of the square (world units).
altitudeAltitude at which the square circuit is flown.
Returns
Path object representing the generated square circuit.

The path consists of four straight segments forming a closed square loop.

Parameters
centerXX coordinate of the square center
centerYY coordinate of the square center
sizeLength of each side of the square
altitudeConstant altitude for the square flight path
Returns
Path object representing the square circuit

The documentation for this class was generated from the following files: