27 template <
typename node_pose_t, 
typename world_limits_t>
    37 template <
typename tree_t>
   220     template <
typename node_pose_t, 
typename world_limits_t, 
typename tree_t>
   225         const TRenderPlannedPathOptions& options);
   238         const std::string& sSectionName = std::string(
"PTG_CONFIG"));
   251         const double MAX_DIST, std::vector<double>& out_TPObstacles);
   254         const int tp_space_k_direction,
   257         const double MAX_DIST, 
double& out_TPObstacle_k);
 mrpt::img::TColor color_normal_edge
 
mrpt::img::TColor color_last_edge
 
double minComputationTime
In seconds. 
 
double vehicle_shape_z
(Default=0.01) Height (Z coordinate) for the vehicle shapes. 
 
virtual ~TRenderPlannedPathOptions()=default
 
double minDistanceBetweenNewNodes
Minimum distance [meters] to nearest node to accept creating a new one (default=0.10). 
 
void internal_loadConfig_PTG(const mrpt::config::CConfigFileBase &cfgSource, const std::string &sSectionName=std::string("PTG_CONFIG"))
Load all PTG params from a config file source. 
 
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 othe...
 
mrpt::graphs::TNodeID best_goal_node_id
The ID of the best target node in the tree. 
 
mrpt::system::CTimeLogger m_timelogger
 
double maxLength
(Very sensitive parameter!) Max length of each edge path (in meters, default=1.0) ...
 
double minAngBetweenNewNodes
Minimum angle [rad] to nearest node to accept creating a new one (default=15 deg) (Any of minDistance...
 
void spaceTransformerOneDirectionOnly(const int tp_space_k_direction, const mrpt::maps::CSimplePointsMap &in_obstacles, const mrpt::nav::CParameterizedTrajectoryGenerator *in_PTG, const double MAX_DIST, double &out_TPObstacle_k)
 
void spaceTransformer(const mrpt::maps::CSimplePointsMap &in_obstacles, const mrpt::nav::CParameterizedTrajectoryGenerator *in_PTG, const double MAX_DIST, std::vector< double > &out_TPObstacles)
 
A cloud of points in 2D or 3D, which can be built from a sequence of laser scans. ...
 
const mrpt::maps::CPointsMap * local_obs_from_nearest_pose
 
const mrpt::poses::CPose2D * x_rand_pose
 
PlannerTPS_VirtualBase()
ctor 
 
mrpt::math::TPoint3D log_msg_position
 
size_t save_3d_log_freq
Frequency (in iters) of saving tree state to debug log files viewable in SceneViewer3D (default=0...
 
double xyzcorners_scale
A scale factor to all XYZ corners (default=0, means auto determien from vehicle shape) ...
 
double acceptedAngToTarget
Maximum angle from a pose to target to accept it as a valid solution (rad). 
 
bool highlight_last_added_edge
(Default=false) 
 
mrpt::img::TColor color_start
START indication color. 
 
double robot_shape_circular_radius
The radius of a circular-shape-model of the robot shape. 
 
std::vector< mrpt::nav::CParameterizedTrajectoryGenerator::Ptr > TListPTGPtr
A list of PTGs (smart pointers) 
 
mrpt::img::TColor color_obstacles
obstacles color 
 
A cloud of points in 2D or 3D, which can be built from a sequence of laser scans or other sensors...
 
This is the base class for any user-defined PTG. 
 
This class allows loading and storing values and vectors of different types from a configuration text...
 
mrpt::nav::TListPTGPtr m_PTGs
 
constexpr double DEG2RAD(const double x)
Degrees to radians. 
 
bool success
Whether the target was reached or not. 
 
mrpt::img::TColor color_goal
END indication color. 
 
Virtual base class for TP-Space-based path planners. 
 
Options for renderMoveTree() 
 
double vehicle_line_width
Robot line width for visualization - default 2.0. 
 
const mrpt::nav::TListPTGPtr & getPTGs() const
 
double acceptedDistToTarget
Maximum distance from a pose to target to accept it as a valid solution (meters). ...
 
RRTEndCriteria end_criteria
 
mrpt::img::TColor color_ground_xy_grid
 
double ground_xy_grid_frequency
(Default=10 meters) Set to 0 to disable 
 
double path_cost
Total cost of the best found path (cost ~~ Euclidean distance) 
 
void internal_initialize_PTG()
Must be called after setting all params (see internal_loadConfig_PTG()) and before calling solve() ...
 
const mrpt::poses::CPose2D * x_nearest_pose
 
bool draw_obstacles
(Default=true) 
 
double maxComputationTime
In seconds. 
 
RRTAlgorithmParams params
Parameters specific to this path solver algorithm. 
 
double goal_distance
Distance from best found path to goal. 
 
double computation_time
Time spent (in secs) 
 
static void transformPointcloudWithSquareClipping(const mrpt::maps::CPointsMap &in_map, mrpt::maps::CPointsMap &out_map, const mrpt::poses::CPose2D &asSeenFrom, const double MAX_DIST_XY)
 
A versatile "profiler" that logs the time spent within each pair of calls to enter(X)-leave(X), among other stats. 
 
int point_size_local_obstacles
 
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
 
mrpt::maps::CSimplePointsMap m_local_obs
 
const mrpt::poses::CPose2D * new_state
 
bool ptg_verbose
Display PTG construction info (default=true) 
 
This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives...
 
uint64_t TNodeID
A generic numeric type for unique IDs of nodes or entities. 
 
mrpt::img::TColor color_vehicle
Robot color. 
 
size_t draw_shape_decimation
(Default=1) Draw one out of N vehicle shapes along the highlighted path 
 
TRenderPlannedPathOptions()
 
mrpt::math::TPolygon2D robot_shape
The robot shape used when computing collisions; it's loaded from the config file/text as a single 2xN...
 
double goalBias
Probabily of picking the goal as random target (in [0,1], default=0.05) 
 
mrpt::system::CTimeLogger & getProfiler()
 
mrpt::graphs::TNodeID highlight_path_to_node_id
Highlight the path from root towards this node (usually, the target) 
 
void renderMoveTree(mrpt::opengl::COpenGLScene &scene, const TPlannerInputTempl< node_pose_t, world_limits_t > &pi, const TPlannerResultTempl< tree_t > &result, const TRenderPlannedPathOptions &options)
 
std::string ptg_cache_files_directory
(Default: ".") 
 
2D polygon, inheriting from std::vector<TPoint2D>. 
 
mrpt::img::TColor color_local_obstacles
local obstacles color 
 
mrpt::img::TColor color_optimal_edge
 
tree_t move_tree
The generated motion tree that explores free space starting at "start".