|
UAV Simulator
|
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. | |
Manages generation of high-level UAV flight missions.
Provides methods to generate common flight patterns and potentially load missions from external sources.
| MissionManager::MissionManager | ( | ) |
Default constructor.
| 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.
| centerX | X-coordinate of the square's center in world units. |
| centerY | Y-coordinate of the square's center in world units. |
| size | Length of each side of the square (world units). |
| altitude | Altitude at which the square circuit is flown. |
The path consists of four straight segments forming a closed square loop.
| centerX | X coordinate of the square center |
| centerY | Y coordinate of the square center |
| size | Length of each side of the square |
| altitude | Constant altitude for the square flight path |