#include <maneuverGenerator.hpp>
Public Member Functions | |
std::vector< Eigen::Vector4d > | calcCrossHatchPatternPoints (double width, double hstep, double curvOff, bool squareCurve, double bearingRad) |
std::vector< Eigen::Vector4d > | calcRIPatternPoints (double width, double hstep, double alternationPercent, double curvOff, bool squareCurve, double bearingRad) |
std::vector< Eigen::Vector4d > | calcRowsPoints (double width, double length, double hstep, double alternationPercent, double curvOff, bool squareCurve, double bearingRad, double crossAngleRadians) |
std::vector< Eigen::Vector4d > | calcRowsPoints (double width, double length, double hstep, double alternationPercent, double curvOff, bool squareCurve, double bearingRad, double crossAngleRadians, bool invertY) |
void | generateGoTo (double north, double east, double speed, double victory_radius) |
void | generateRows (double north, double east, double speed, double victory_radius, double width, double length, double hstep, double alternationPercent, double curvOff, bool squareCurve, double bearing, double crossAngle, bool invertY) |
void | generateStationKeeping (double north, double east, double heading) |
ManeuverGenerator () | |
std::pair< double, double > | rotate (double angleRadians, double x, double y, bool clockwiseRotation) |
void | writePrimitives (int primitiveID, std::vector< Eigen::Vector4d > points, double heading, double speed, double victoryRadius) |
Public Attributes | |
WriteXML | writeXML |
Definition at line 63 of file maneuverGenerator.hpp.
Definition at line 107 of file maneuverGenerator.hpp.
std::vector< Eigen::Vector4d > labust::maneuver::ManeuverGenerator::calcCrossHatchPatternPoints | ( | double | width, |
double | hstep, | ||
double | curvOff, | ||
bool | squareCurve, | ||
double | bearingRad | ||
) |
Definition at line 271 of file maneuverGenerator.hpp.
std::vector< Eigen::Vector4d > labust::maneuver::ManeuverGenerator::calcRIPatternPoints | ( | double | width, |
double | hstep, | ||
double | alternationPercent, | ||
double | curvOff, | ||
bool | squareCurve, | ||
double | bearingRad | ||
) |
Definition at line 197 of file maneuverGenerator.hpp.
std::vector< Eigen::Vector4d > labust::maneuver::ManeuverGenerator::calcRowsPoints | ( | double | width, |
double | length, | ||
double | hstep, | ||
double | alternationPercent, | ||
double | curvOff, | ||
bool | squareCurve, | ||
double | bearingRad, | ||
double | crossAngleRadians | ||
) |
Definition at line 328 of file maneuverGenerator.hpp.
std::vector< Eigen::Vector4d > labust::maneuver::ManeuverGenerator::calcRowsPoints | ( | double | width, |
double | length, | ||
double | hstep, | ||
double | alternationPercent, | ||
double | curvOff, | ||
bool | squareCurve, | ||
double | bearingRad, | ||
double | crossAngleRadians, | ||
bool | invertY | ||
) |
Definition at line 336 of file maneuverGenerator.hpp.
void labust::maneuver::ManeuverGenerator::generateGoTo | ( | double | north, |
double | east, | ||
double | speed, | ||
double | victory_radius | ||
) |
Definition at line 110 of file maneuverGenerator.hpp.
void labust::maneuver::ManeuverGenerator::generateRows | ( | double | north, |
double | east, | ||
double | speed, | ||
double | victory_radius, | ||
double | width, | ||
double | length, | ||
double | hstep, | ||
double | alternationPercent, | ||
double | curvOff, | ||
bool | squareCurve, | ||
double | bearing, | ||
double | crossAngle, | ||
bool | invertY | ||
) |
Definition at line 115 of file maneuverGenerator.hpp.
void labust::maneuver::ManeuverGenerator::generateStationKeeping | ( | double | north, |
double | east, | ||
double | heading | ||
) |
Definition at line 137 of file maneuverGenerator.hpp.
std::pair< double, double > labust::maneuver::ManeuverGenerator::rotate | ( | double | angleRadians, |
double | x, | ||
double | y, | ||
bool | clockwiseRotation | ||
) |
XY Coordinate conversion considering a rotation angle.
angleRadians | angle |
x | original x value on entry, rotated x value on exit. |
y | original y value on entry, rotated y value on exit. |
clockwiseRotation | clockwiseRotation rotation or not |
Definition at line 419 of file maneuverGenerator.hpp.
void labust::maneuver::ManeuverGenerator::writePrimitives | ( | int | primitiveID, |
std::vector< Eigen::Vector4d > | points, | ||
double | heading, | ||
double | speed, | ||
double | victoryRadius | ||
) |
Definition at line 142 of file maneuverGenerator.hpp.
Definition at line 103 of file maneuverGenerator.hpp.