TP Space-based RRT path planning for SE(2) (planar) robots.
This planner algorithm is described in the paper:
Typical usage:
Definition at line 67 of file PlannerRRT_SE2_TPS.h.
#include <mrpt/nav/planners/PlannerRRT_SE2_TPS.h>
Classes | |
struct | TPlannerInput |
struct | TPlannerResult |
Public Types | |
typedef mrpt::math::TPose2D | node_pose_t |
The type of poses at nodes. More... | |
Public Member Functions | |
PlannerRRT_SE2_TPS () | |
Constructor. More... | |
void | loadConfig (const mrpt::utils::CConfigFileBase &cfgSource, const std::string &sSectionName=std::string("PTG_CONFIG")) |
Load all params from a config file source. More... | |
void | initialize () |
Must be called after setting all params (see loadConfig() ) and before calling solve() More... | |
void | solve (const TPlannerInput &pi, TPlannerResult &result) |
The main API entry point: tries to find a planned path from 'goal' to 'target'. More... | |
mrpt::utils::CTimeLogger & | getProfiler () |
const mrpt::nav::TListPTGPtr & | getPTGs () const |
template<typename node_pose_t , typename world_limits_t , typename tree_t > | |
void | renderMoveTree (mrpt::opengl::COpenGLScene &scene, const TPlannerInputTempl< node_pose_t, world_limits_t > &pi, const TPlannerResultTempl< tree_t > &result, const TRenderPlannedPathOptions &options) |
Public Attributes | |
RRTEndCriteria | end_criteria |
RRTAlgorithmParams | params |
Parameters specific to this path solver algorithm. More... | |
Protected Member Functions | |
void | internal_loadConfig_PTG (const mrpt::utils::CConfigFileBase &cfgSource, const std::string &sSectionName=std::string("PTG_CONFIG")) |
Load all PTG params from a config file source. More... | |
void | internal_initialize_PTG () |
Must be called after setting all params (see internal_loadConfig_PTG() ) and before calling solve() More... | |
void | spaceTransformer (const mrpt::maps::CSimplePointsMap &in_obstacles, const mrpt::nav::CParameterizedTrajectoryGenerator *in_PTG, const double MAX_DIST, std::vector< double > &out_TPObstacles) |
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) |
Static Protected Member Functions | |
static void | transformPointcloudWithSquareClipping (const mrpt::maps::CPointsMap &in_map, mrpt::maps::CPointsMap &out_map, const mrpt::poses::CPose2D &asSeenFrom, const double MAX_DIST_XY) |
Protected Attributes | |
bool | m_initialized |
mrpt::utils::CTimeLogger | m_timelogger |
bool | m_initialized_PTG |
mrpt::nav::TListPTGPtr | m_PTGs |
mrpt::maps::CSimplePointsMap | m_local_obs |
The type of poses at nodes.
Definition at line 70 of file PlannerRRT_SE2_TPS.h.
mrpt::nav::PlannerRRT_SE2_TPS::PlannerRRT_SE2_TPS | ( | ) |
Constructor.
|
inlineinherited |
Definition at line 111 of file PlannerRRT_common.h.
|
inlineinherited |
Definition at line 112 of file PlannerRRT_common.h.
void mrpt::nav::PlannerRRT_SE2_TPS::initialize | ( | ) |
Must be called after setting all params (see loadConfig()
) and before calling solve()
|
protectedinherited |
Must be called after setting all params (see internal_loadConfig_PTG()
) and before calling solve()
|
protectedinherited |
Load all PTG params from a config file source.
void mrpt::nav::PlannerRRT_SE2_TPS::loadConfig | ( | const mrpt::utils::CConfigFileBase & | cfgSource, |
const std::string & | sSectionName = std::string("PTG_CONFIG") |
||
) |
Load all params from a config file source.
|
inherited |
Definition at line 25 of file impl_renderMoveTree.h.
References ASSERT_, ASSERT_ABOVE_, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::color_goal, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::color_ground_xy_grid, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::color_last_edge, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::color_local_obstacles, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::color_normal_edge, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::color_obstacles, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::color_optimal_edge, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::color_start, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::color_vehicle, mrpt::opengl::stock_objects::CornerXYZ(), mrpt::opengl::stock_objects::CornerXYZSimple(), mrpt::opengl::CGridPlaneXY::Create(), mrpt::opengl::CSetOfLines::Create(), mrpt::opengl::CText3D::Create(), mrpt::opengl::CPointCloud::Create(), mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::draw_obstacles, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::draw_shape_decimation, mrpt::nav::TPlannerInputTempl< node_pose_t, world_limits_t >::goal_pose, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::ground_xy_grid_frequency, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::highlight_last_added_edge, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::highlight_path_to_node_id, mrpt::opengl::COpenGLScene::insert(), INVALID_NODEID, mrpt::mrpt::utils::keep_max(), mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::local_obs_from_nearest_pose, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::log_msg, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::log_msg_position, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::log_msg_scale, M_PI, mrpt::nav::PlannerTPS_VirtualBase::m_PTGs, mrpt::nav::TPlannerResultTempl< tree_t >::move_tree, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::new_state, mrpt::nav::TPlannerInputTempl< node_pose_t, world_limits_t >::obstacles_points, mrpt::nav::PlannerTPS_VirtualBase::params, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::point_size_local_obstacles, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::point_size_obstacles, mrpt::nav::CParameterizedTrajectoryGenerator::renderPathAsSimpleLine(), mrpt::nav::RRTAlgorithmParams::robot_shape, mrpt::nav::RRTAlgorithmParams::robot_shape_circular_radius, mrpt::nav::TPlannerInputTempl< node_pose_t, world_limits_t >::start_pose, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::vehicle_line_width, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::vehicle_shape_z, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::width_last_edge, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::width_normal_edge, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::width_optimal_edge, mrpt::nav::TPlannerInputTempl< node_pose_t, world_limits_t >::world_bbox_max, mrpt::nav::TPlannerInputTempl< node_pose_t, world_limits_t >::world_bbox_min, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::x_nearest_pose, mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::x_rand_pose, and mrpt::nav::PlannerTPS_VirtualBase::TRenderPlannedPathOptions::xyzcorners_scale.
void mrpt::nav::PlannerRRT_SE2_TPS::solve | ( | const TPlannerInput & | pi, |
TPlannerResult & | result | ||
) |
The main API entry point: tries to find a planned path from 'goal' to 'target'.
|
protectedinherited |
|
protectedinherited |
|
staticprotectedinherited |
|
inherited |
Definition at line 106 of file PlannerRRT_common.h.
|
protected |
Definition at line 100 of file PlannerRRT_SE2_TPS.h.
|
protectedinherited |
Definition at line 197 of file PlannerRRT_common.h.
|
protectedinherited |
Definition at line 199 of file PlannerRRT_common.h.
|
protectedinherited |
Definition at line 198 of file PlannerRRT_common.h.
Referenced by mrpt::nav::PlannerTPS_VirtualBase::renderMoveTree().
|
protectedinherited |
Definition at line 196 of file PlannerRRT_common.h.
|
inherited |
Parameters specific to this path solver algorithm.
Definition at line 107 of file PlannerRRT_common.h.
Referenced by mrpt::nav::PlannerTPS_VirtualBase::renderMoveTree().
Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Sun Nov 26 00:44:48 UTC 2017 |