Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Static Public Member Functions | Public Attributes
mrpt::slam::CPathPlanningCircularRobot Class Reference

Detailed Description

An implementation of CPathPlanningMethod.

See also:
CPathPlanningMethod

#include <mrpt/slam/CPathPlanningCircularRobot.h>

Inheritance diagram for mrpt::slam::CPathPlanningCircularRobot:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CPathPlanningCircularRobot ()
 Default constructor.
virtual ~CPathPlanningCircularRobot ()
 Destructor.
void computePath (const COccupancyGridMap2D &theMap, const CPose2D &origin, const CPose2D &target, std::deque< math::TPoint2D > &path, bool &notFound, float maxSearchPathLength=-1) const
 This method compute the optimal path for a circular robot, in the given occupancy grid map, from the origin location to a target point.

Static Public Member Functions

static void printf_debug (const char *frmt,...)
 Sends a formated text to "debugOut" if not NULL, or to cout otherwise.

Public Attributes

float robotRadius
 The aproximate robot radius used in the planification.
float occupancyThreshold
 The maximum occupancy probability to consider a cell as an obstacle, default=0.5.
float minStepInReturnedPath
 The minimum distance between points in the returned found path (default=0.4); Notice that full grid resolution is used in path finding, this is only a way to reduce the amount of redundant information to be returned.

Constructor & Destructor Documentation

mrpt::slam::CPathPlanningCircularRobot::CPathPlanningCircularRobot ( )

Default constructor.

virtual mrpt::slam::CPathPlanningCircularRobot::~CPathPlanningCircularRobot ( ) [inline, virtual]

Destructor.

Definition at line 52 of file CPathPlanningCircularRobot.h.


Member Function Documentation

void mrpt::slam::CPathPlanningCircularRobot::computePath ( const COccupancyGridMap2D theMap,
const CPose2D origin,
const CPose2D target,
std::deque< math::TPoint2D > &  path,
bool &  notFound,
float  maxSearchPathLength = -1 
) const [virtual]

This method compute the optimal path for a circular robot, in the given occupancy grid map, from the origin location to a target point.

The options and additional parameters to this method can be set with member configuration variables.

Parameters:
theMap[IN] The occupancy gridmap used to the planning.
origin[IN] The starting pose of the robot, in coordinates of "map".
target[IN] The desired target pose for the robot, in coordinates of "map".
path[OUT] The found path, in global coordinates relative to "map".
notFount[OUT] Will be true if no path has been found.
maxSearchPathLength[IN] The maximum path length to search for, in meters (-1 = no limit)
See also:
robotRadius
Exceptions:
std::exceptionOn any error

Implements mrpt::slam::CPathPlanningMethod.

static void mrpt::utils::CDebugOutputCapable::printf_debug ( const char *  frmt,
  ... 
) [static, inherited]

Sends a formated text to "debugOut" if not NULL, or to cout otherwise.

Referenced by mrpt::math::CLevenbergMarquardtTempl::execute().


Member Data Documentation

The minimum distance between points in the returned found path (default=0.4); Notice that full grid resolution is used in path finding, this is only a way to reduce the amount of redundant information to be returned.

Definition at line 68 of file CPathPlanningMethod.h.

The maximum occupancy probability to consider a cell as an obstacle, default=0.5.

Definition at line 62 of file CPathPlanningMethod.h.

The aproximate robot radius used in the planification.

Default is 0.35m

Definition at line 58 of file CPathPlanningCircularRobot.h.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011