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

#include <RobotNavigator.h>

List of all members.

Public Member Functions

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)
bool receivePause (std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res)
bool receiveStop (std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res)
 RobotNavigator ()
 ~RobotNavigator ()

Private Member Functions

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

Private Attributes

unsigned int mCellInflationRadius
unsigned int mCellRobotRadius
ros::Publisher mCommandPublisher
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
ros::ServiceServer mPauseServer
PlanLoadermPlanLoader
ros::Publisher mPlanPublisher
std::string mRobotFrame
int mRobotID
double mRobotRadius
unsigned int mStartPoint
int mStatus
ros::ServiceServer mStopServer
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 98 of file RobotNavigator.cpp.


Member Function Documentation

bool RobotNavigator::correctGoalPose ( ) [private]

Definition at line 356 of file RobotNavigator.cpp.

bool RobotNavigator::createPlan ( ) [private]

Definition at line 196 of file RobotNavigator.cpp.

bool RobotNavigator::generateCommand ( ) [private]

Definition at line 418 of file RobotNavigator.cpp.

bool RobotNavigator::getMap ( ) [private]

Definition at line 108 of file RobotNavigator.cpp.

bool RobotNavigator::isLocalized ( ) [private]

Definition at line 920 of file RobotNavigator.cpp.

bool RobotNavigator::preparePlan ( ) [private]

Definition at line 173 of file RobotNavigator.cpp.

void RobotNavigator::publishPlan ( ) [private]

Definition at line 311 of file RobotNavigator.cpp.

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

Definition at line 791 of file RobotNavigator.cpp.

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

Definition at line 490 of file RobotNavigator.cpp.

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

Definition at line 581 of file RobotNavigator.cpp.

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

Definition at line 635 of file RobotNavigator.cpp.

bool RobotNavigator::receivePause ( std_srvs::Trigger::Request &  req,
std_srvs::Trigger::Response &  res 
)

Definition at line 150 of file RobotNavigator.cpp.

bool RobotNavigator::receiveStop ( std_srvs::Trigger::Request &  req,
std_srvs::Trigger::Response &  res 
)

Definition at line 142 of file RobotNavigator.cpp.

Definition at line 925 of file RobotNavigator.cpp.

void RobotNavigator::stop ( ) [private]

Definition at line 407 of file RobotNavigator.cpp.


Member Data Documentation

unsigned int RobotNavigator::mCellInflationRadius [private]

Definition at line 94 of file RobotNavigator.h.

unsigned int RobotNavigator::mCellRobotRadius [private]

Definition at line 95 of file RobotNavigator.h.

Definition at line 54 of file RobotNavigator.h.

Definition at line 98 of file RobotNavigator.h.

Definition at line 97 of file RobotNavigator.h.

Definition at line 81 of file RobotNavigator.h.

Definition at line 89 of file RobotNavigator.h.

double* RobotNavigator::mCurrentPlan [private]

Definition at line 90 of file RobotNavigator.h.

Definition at line 82 of file RobotNavigator.h.

Definition at line 83 of file RobotNavigator.h.

Definition at line 103 of file RobotNavigator.h.

Definition at line 88 of file RobotNavigator.h.

std::string RobotNavigator::mExplorationStrategy [private]

Definition at line 87 of file RobotNavigator.h.

Definition at line 67 of file RobotNavigator.h.

std::string RobotNavigator::mExploreActionTopic [private]

Definition at line 62 of file RobotNavigator.h.

Definition at line 68 of file RobotNavigator.h.

std::string RobotNavigator::mGetMapActionTopic [private]

Definition at line 63 of file RobotNavigator.h.

Definition at line 51 of file RobotNavigator.h.

unsigned int RobotNavigator::mGoalPoint [private]

Definition at line 79 of file RobotNavigator.h.

Definition at line 52 of file RobotNavigator.h.

Definition at line 74 of file RobotNavigator.h.

Definition at line 92 of file RobotNavigator.h.

Definition at line 86 of file RobotNavigator.h.

bool RobotNavigator::mIsPaused [private]

Definition at line 75 of file RobotNavigator.h.

Definition at line 76 of file RobotNavigator.h.

Definition at line 69 of file RobotNavigator.h.

std::string RobotNavigator::mLocalizeActionTopic [private]

Definition at line 64 of file RobotNavigator.h.

std::string RobotNavigator::mMapFrame [private]

Definition at line 59 of file RobotNavigator.h.

Definition at line 55 of file RobotNavigator.h.

Definition at line 105 of file RobotNavigator.h.

Definition at line 104 of file RobotNavigator.h.

Definition at line 66 of file RobotNavigator.h.

std::string RobotNavigator::mMoveActionTopic [private]

Definition at line 61 of file RobotNavigator.h.

Definition at line 101 of file RobotNavigator.h.

Definition at line 100 of file RobotNavigator.h.

Definition at line 102 of file RobotNavigator.h.

Definition at line 57 of file RobotNavigator.h.

Definition at line 71 of file RobotNavigator.h.

Definition at line 53 of file RobotNavigator.h.

std::string RobotNavigator::mRobotFrame [private]

Definition at line 60 of file RobotNavigator.h.

int RobotNavigator::mRobotID [private]

Definition at line 78 of file RobotNavigator.h.

double RobotNavigator::mRobotRadius [private]

Definition at line 93 of file RobotNavigator.h.

unsigned int RobotNavigator::mStartPoint [private]

Definition at line 80 of file RobotNavigator.h.

int RobotNavigator::mStatus [private]

Definition at line 77 of file RobotNavigator.h.

Definition at line 56 of file RobotNavigator.h.

Definition at line 50 of file RobotNavigator.h.


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


nav2d_navigator
Author(s): Sebastian Kasperski
autogenerated on Sun Apr 2 2017 03:53:43