template struct mrpt::nav::TPlannerResultTempl
Overview
#include <mrpt/nav/planners/PlannerRRT_common.h> template <typename tree_t> struct TPlannerResultTempl { // fields bool success {false}; double computation_time {0}; double goal_distance; double path_cost; mrpt::graphs::TNodeID best_goal_node_id; std::set<mrpt::graphs::TNodeID> acceptable_goal_node_ids; tree_t move_tree; // construction TPlannerResultTempl(); }; // direct descendants struct TPlannerResult;
Fields
bool success {false}
Whether the target was reached or not.
double computation_time {0}
Time spent (in secs)
double goal_distance
Distance from best found path to goal.
double path_cost
Total cost of the best found path (cost ~~ Euclidean distance)
mrpt::graphs::TNodeID best_goal_node_id
The ID of the best target node in the tree.
std::set<mrpt::graphs::TNodeID> acceptable_goal_node_ids
The set of target nodes within an acceptable distance to target (including best_goal_node_id and others)
tree_t move_tree
The generated motion tree that explores free space starting at “start”.