Class FeasibilityBase

Inheritance Relationships

Derived Types

Class Documentation

class FeasibilityBase

A base class for different implementations for dynamic and position feasibility checks.

Subclassed by mav_trajectory_generation::FeasibilityAnalytic, mav_trajectory_generation::FeasibilityRecursive, mav_trajectory_generation::FeasibilitySampling

Public Functions

FeasibilityBase()

Default input constraints, no half plane constraints.

FeasibilityBase(const InputConstraints &input_constraints)

User input constraints, no half plane constraints.

InputFeasibilityResult checkInputFeasibilityTrajectory(const Trajectory &trajectory) const

Checks a trajectory for input feasibility.

virtual InputFeasibilityResult checkInputFeasibility(const Segment &segment) const

Checks a segment for input feasibility.

InputConstraints getInputConstraints() const
bool checkHalfPlaneFeasibility(const Trajectory &trajectory) const

Checks if a trajectory stays within a set of half planes.

bool checkHalfPlaneFeasibility(const Segment &segment) const

Checks if a segment stays within a set of half planes.

This check computes the extrema for each axis and checks whether these lie in the positive half space as in https://github.com/markwmuller/RapidQuadrocopterTrajectories/blob/master/C%2B%2B/RapidTrajectoryGenerator.cpp#L149

Public Members

InputConstraints input_constraints_

Input constraints.

HalfPlane::Vector half_plane_constraints_

Half plane constraints, e.g., the ground plane or a box.

Eigen::Vector3d gravity_