Public Member Functions | Private Member Functions | Private Attributes
RobotNavigator Class Reference

#include <RobotNavigator.h>

List of all members.

Public Member Functions

bool receiveCommand (nav2d_navigator::SendCommand::Request &req, nav2d_navigator::SendCommand::Response &res)
void receiveExploreGoal (const nav2d_navigator::ExploreGoal::ConstPtr &goal)
void receiveGetMapGoal (const nav2d_navigator::GetFirstMapGoal::ConstPtr &goal)
void receiveLocalizeGoal (const nav2d_navigator::LocalizeGoal::ConstPtr &goal)
void receiveMoveGoal (const nav2d_navigator::MoveToPosition2DGoal::ConstPtr &goal)
 RobotNavigator ()
 ~RobotNavigator ()

Private Member Functions

bool correctGoalPose ()
bool createPlan ()
bool generateCommand ()
bool getMap ()
bool preparePlan ()
void publishPlan ()
bool setCurrentPosition ()
void stop ()

Private Attributes

unsigned int mCellInflationRadius
unsigned int mCellRobotRadius
ros::Publisher mCommandPublisher
ros::ServiceServer mCommandServer
char mCostLethal
char mCostObstacle
double mCurrentDirection
GridMap mCurrentMap
double * mCurrentPlan
double mCurrentPositionX
double mCurrentPositionY
double mExplorationGoalDistance
boost::shared_ptr
< ExplorationPlanner
mExplorationPlanner
std::string mExplorationStrategy
ExploreActionServermExploreActionServer
std::string mExploreActionTopic
GetMapActionServermGetMapActionServer
std::string mGetMapActionTopic
ros::ServiceClient mGetMapClient
unsigned int mGoalPoint
ros::Subscriber mGoalSubscriber
bool mHasNewMap
double mInflationRadius
MapInflationTool mInflationTool
bool mIsPaused
bool mIsStopped
LocalizeActionServermLocalizeActionServer
std::string mLocalizeActionTopic
std::string mMapFrame
ros::Publisher mMarkerPublisher
double mMaxReplanningPeriod
double mMinReplanningPeriod
MoveActionServermMoveActionServer
std::string mMoveActionTopic
double mNavigationGoalAngle
double mNavigationGoalDistance
double mNavigationHomingDistance
PlanLoadermPlanLoader
ros::Publisher mPlanPublisher
std::string mRobotFrame
int mRobotID
double mRobotRadius
unsigned int mStartPoint
int mStatus
tf::TransformListener mTfListener

Detailed Description

Definition at line 25 of file RobotNavigator.h.


Constructor & Destructor Documentation

Definition at line 17 of file RobotNavigator.cpp.

Definition at line 97 of file RobotNavigator.cpp.


Member Function Documentation

bool RobotNavigator::correctGoalPose ( ) [private]

Definition at line 359 of file RobotNavigator.cpp.

bool RobotNavigator::createPlan ( ) [private]

Definition at line 199 of file RobotNavigator.cpp.

bool RobotNavigator::generateCommand ( ) [private]

Definition at line 421 of file RobotNavigator.cpp.

bool RobotNavigator::getMap ( ) [private]

Definition at line 107 of file RobotNavigator.cpp.

bool RobotNavigator::preparePlan ( ) [private]

Definition at line 176 of file RobotNavigator.cpp.

void RobotNavigator::publishPlan ( ) [private]

Definition at line 314 of file RobotNavigator.cpp.

bool RobotNavigator::receiveCommand ( nav2d_navigator::SendCommand::Request &  req,
nav2d_navigator::SendCommand::Response &  res 
)

Definition at line 141 of file RobotNavigator.cpp.

void RobotNavigator::receiveExploreGoal ( const nav2d_navigator::ExploreGoal::ConstPtr &  goal)

Definition at line 794 of file RobotNavigator.cpp.

void RobotNavigator::receiveGetMapGoal ( const nav2d_navigator::GetFirstMapGoal::ConstPtr &  goal)

Definition at line 493 of file RobotNavigator.cpp.

void RobotNavigator::receiveLocalizeGoal ( const nav2d_navigator::LocalizeGoal::ConstPtr &  goal)

Definition at line 584 of file RobotNavigator.cpp.

void RobotNavigator::receiveMoveGoal ( const nav2d_navigator::MoveToPosition2DGoal::ConstPtr &  goal)

Definition at line 638 of file RobotNavigator.cpp.

Definition at line 923 of file RobotNavigator.cpp.

void RobotNavigator::stop ( ) [private]

Definition at line 410 of file RobotNavigator.cpp.


Member Data Documentation

unsigned int RobotNavigator::mCellInflationRadius [private]

Definition at line 91 of file RobotNavigator.h.

unsigned int RobotNavigator::mCellRobotRadius [private]

Definition at line 92 of file RobotNavigator.h.

Definition at line 52 of file RobotNavigator.h.

Definition at line 54 of file RobotNavigator.h.

Definition at line 95 of file RobotNavigator.h.

Definition at line 94 of file RobotNavigator.h.

Definition at line 78 of file RobotNavigator.h.

Definition at line 86 of file RobotNavigator.h.

double* RobotNavigator::mCurrentPlan [private]

Definition at line 87 of file RobotNavigator.h.

Definition at line 79 of file RobotNavigator.h.

Definition at line 80 of file RobotNavigator.h.

Definition at line 100 of file RobotNavigator.h.

Definition at line 85 of file RobotNavigator.h.

std::string RobotNavigator::mExplorationStrategy [private]

Definition at line 84 of file RobotNavigator.h.

Definition at line 64 of file RobotNavigator.h.

std::string RobotNavigator::mExploreActionTopic [private]

Definition at line 59 of file RobotNavigator.h.

Definition at line 65 of file RobotNavigator.h.

std::string RobotNavigator::mGetMapActionTopic [private]

Definition at line 60 of file RobotNavigator.h.

Definition at line 49 of file RobotNavigator.h.

unsigned int RobotNavigator::mGoalPoint [private]

Definition at line 76 of file RobotNavigator.h.

Definition at line 50 of file RobotNavigator.h.

Definition at line 71 of file RobotNavigator.h.

Definition at line 89 of file RobotNavigator.h.

Definition at line 83 of file RobotNavigator.h.

bool RobotNavigator::mIsPaused [private]

Definition at line 72 of file RobotNavigator.h.

Definition at line 73 of file RobotNavigator.h.

Definition at line 66 of file RobotNavigator.h.

std::string RobotNavigator::mLocalizeActionTopic [private]

Definition at line 61 of file RobotNavigator.h.

std::string RobotNavigator::mMapFrame [private]

Definition at line 56 of file RobotNavigator.h.

Definition at line 53 of file RobotNavigator.h.

Definition at line 102 of file RobotNavigator.h.

Definition at line 101 of file RobotNavigator.h.

Definition at line 63 of file RobotNavigator.h.

std::string RobotNavigator::mMoveActionTopic [private]

Definition at line 58 of file RobotNavigator.h.

Definition at line 98 of file RobotNavigator.h.

Definition at line 97 of file RobotNavigator.h.

Definition at line 99 of file RobotNavigator.h.

Definition at line 68 of file RobotNavigator.h.

Definition at line 51 of file RobotNavigator.h.

std::string RobotNavigator::mRobotFrame [private]

Definition at line 57 of file RobotNavigator.h.

int RobotNavigator::mRobotID [private]

Definition at line 75 of file RobotNavigator.h.

double RobotNavigator::mRobotRadius [private]

Definition at line 90 of file RobotNavigator.h.

unsigned int RobotNavigator::mStartPoint [private]

Definition at line 77 of file RobotNavigator.h.

int RobotNavigator::mStatus [private]

Definition at line 74 of file RobotNavigator.h.

Definition at line 48 of file RobotNavigator.h.


The documentation for this class was generated from the following files:


nav2d_navigator
Author(s): Sebastian Kasperski
autogenerated on Thu Aug 27 2015 14:07:13