selfdriving
|
#include <mpp/data/MoveEdgeSE2_TPS.h>
Public Member Functions | |
MoveEdgeSE2_TPS ()=default | |
~MoveEdgeSE2_TPS ()=default | |
ptg_t::TNavDynamicState | getPTGDynState () const |
std::string | asString () const |
Public Attributes | |
mrpt::graphs::TNodeID | parentId = mrpt::graphs::INVALID_NODEID |
SE2_KinState | stateFrom |
SE2_KinState | stateTo |
double | cost = std::numeric_limits<double>::max() |
int8_t | ptgIndex = -1 |
int16_t | ptgPathIndex = -1 |
distance_t | ptgDist = std::numeric_limits<distance_t>::max() |
normalized_speed_t | ptgTrimmableSpeed = 1.0 |
mrpt::math::TPose2D | ptgFinalRelativeGoal |
normalized_speed_t | ptgFinalGoalRelSpeed = .0 |
duration_seconds_t | estimatedExecTime = .0 |
std::map< duration_seconds_t, mrpt::math::TPose2D > | interpolatedPath |
An edge for the move tree used for planning in SE2 and TP-space
|
default |
|
default |
std::string mpp::MoveEdgeSE2_TPS::asString | ( | ) | const |
For debugging purposes.
ptg_t::TNavDynamicState mpp::MoveEdgeSE2_TPS::getPTGDynState | ( | ) | const |
double mpp::MoveEdgeSE2_TPS::cost = std::numeric_limits<double>::max() |
cost associated to each motion, this should be defined by the user according to a specific cost function
duration_seconds_t mpp::MoveEdgeSE2_TPS::estimatedExecTime = .0 |
std::map<duration_seconds_t, mrpt::math::TPose2D> mpp::MoveEdgeSE2_TPS::interpolatedPath |
Subsampled path, in coordinates relative to "stateFrom", stored here for rendering purposes, to avoid having to re-seed the PTG with the initial velocity state while visualization, and to estimate the pose at each time. Minimum length: 2=start and final pose.
mrpt::graphs::TNodeID mpp::MoveEdgeSE2_TPS::parentId = mrpt::graphs::INVALID_NODEID |
The ID of the parent node in the tree (all edges must have a valid starting node).
distance_t mpp::MoveEdgeSE2_TPS::ptgDist = std::numeric_limits<distance_t>::max() |
identify the PTG "pseudometers" distance of the trajectory for this motion segment (NOT normalized distances)
normalized_speed_t mpp::MoveEdgeSE2_TPS::ptgFinalGoalRelSpeed = .0 |
mrpt::math::TPose2D mpp::MoveEdgeSE2_TPS::ptgFinalRelativeGoal |
int8_t mpp::MoveEdgeSE2_TPS::ptgIndex = -1 |
indicate the type of trajectory used for this motion
int16_t mpp::MoveEdgeSE2_TPS::ptgPathIndex = -1 |
identify the trajectory number K of the type ptgIndex
normalized_speed_t mpp::MoveEdgeSE2_TPS::ptgTrimmableSpeed = 1.0 |
SE2_KinState mpp::MoveEdgeSE2_TPS::stateFrom |
SE2_KinState mpp::MoveEdgeSE2_TPS::stateTo |