$search
A class that uses the actionlib::ActionServer interface that moves the robot base to a goal location. More...
#include <move_base.h>
A class that uses the actionlib::ActionServer interface that moves the robot base to a goal location.
Definition at line 83 of file move_base.h.
move_base::MoveBase::MoveBase | ( | std::string | name, | |
tf::TransformListener & | tf | |||
) |
Constructor for the actions.
name | The name of the action | |
tf | A reference to a TransformListener |
Definition at line 43 of file move_base.cpp.
move_base::MoveBase::~MoveBase | ( | ) | [virtual] |
Destructor - Cleans up.
Definition at line 466 of file move_base.cpp.
bool move_base::MoveBase::clearCostmapsService | ( | std_srvs::Empty::Request & | req, | |
std_srvs::Empty::Response & | resp | |||
) | [private] |
A service call that clears the costmaps of obstacles.
req | The service request | |
resp | The service response |
Definition at line 396 of file move_base.cpp.
void move_base::MoveBase::clearCostmapWindows | ( | double | size_x, | |
double | size_y | |||
) | [private] |
Clears obstacles within a window around the robot.
size_x | The x size of the window | |
size_y | The y size of the window |
Definition at line 334 of file move_base.cpp.
bool move_base::MoveBase::clearUnknownService | ( | std_srvs::Empty::Request & | req, | |
std_srvs::Empty::Response & | resp | |||
) | [private] |
A service call that clears unknown space in the robot's immediate area.
req | The service request | |
resp | The service response |
Definition at line 389 of file move_base.cpp.
double move_base::MoveBase::distance | ( | const geometry_msgs::PoseStamped & | p1, | |
const geometry_msgs::PoseStamped & | p2 | |||
) | [private] |
Definition at line 799 of file move_base.cpp.
void move_base::MoveBase::executeCb | ( | const move_base_msgs::MoveBaseGoalConstPtr & | move_base_goal | ) | [private] |
Definition at line 656 of file move_base.cpp.
bool move_base::MoveBase::executeCycle | ( | geometry_msgs::PoseStamped & | goal, | |
std::vector< geometry_msgs::PoseStamped > & | global_plan | |||
) |
Performs a control cycle.
goal | A reference to the goal to pursue | |
global_plan | A reference to the global plan being used |
Definition at line 805 of file move_base.cpp.
void move_base::MoveBase::goalCB | ( | const geometry_msgs::PoseStamped::ConstPtr & | goal | ) | [private] |
Definition at line 325 of file move_base.cpp.
geometry_msgs::PoseStamped move_base::MoveBase::goalToGlobalFrame | ( | const geometry_msgs::PoseStamped & | goal_pose_msg | ) | [private] |
Definition at line 562 of file move_base.cpp.
bool move_base::MoveBase::isQuaternionValid | ( | const geometry_msgs::Quaternion & | q | ) | [private] |
Definition at line 532 of file move_base.cpp.
void move_base::MoveBase::loadDefaultRecoveryBehaviors | ( | ) | [private] |
Loads the default recovery behaviors for the navigation stack.
Definition at line 1091 of file move_base.cpp.
bool move_base::MoveBase::loadRecoveryBehaviors | ( | ros::NodeHandle | node | ) | [private] |
Load the recovery behaviors for the navigation stack from the parameter server.
node | The ros::NodeHandle to be used for loading parameters |
Definition at line 1006 of file move_base.cpp.
bool move_base::MoveBase::makePlan | ( | const geometry_msgs::PoseStamped & | goal, | |
std::vector< geometry_msgs::PoseStamped > & | plan | |||
) | [private] |
Make a new global plan.
goal | The goal to plan to | |
plan | Will be filled in with the plan made by the planner |
Definition at line 494 of file move_base.cpp.
bool move_base::MoveBase::planService | ( | nav_msgs::GetPlan::Request & | req, | |
nav_msgs::GetPlan::Response & | resp | |||
) | [private] |
A service call that can be made when the action is inactive that will return a plan.
req | The goal request | |
resp | The plan request |
Definition at line 403 of file move_base.cpp.
void move_base::MoveBase::planThread | ( | ) | [private] |
Definition at line 586 of file move_base.cpp.
void move_base::MoveBase::publishZeroVelocity | ( | ) | [private] |
Publishes a velocity command of zero to the base.
Definition at line 523 of file move_base.cpp.
void move_base::MoveBase::reconfigureCB | ( | move_base::MoveBaseConfig & | config, | |
uint32_t | level | |||
) | [private] |
Definition at line 206 of file move_base.cpp.
void move_base::MoveBase::resetState | ( | ) | [private] |
Reset the state of the move_base action and send a zero velocity command to the base.
Definition at line 1127 of file move_base.cpp.
Definition at line 197 of file move_base.h.
MoveBaseActionServer* move_base::MoveBase::as_ [private] |
Definition at line 182 of file move_base.h.
Definition at line 208 of file move_base.h.
Definition at line 209 of file move_base.h.
bool move_base::MoveBase::c_freq_change_ [private] |
Definition at line 232 of file move_base.h.
double move_base::MoveBase::circumscribed_radius_ [private] |
Definition at line 194 of file move_base.h.
Definition at line 199 of file move_base.h.
Definition at line 199 of file move_base.h.
double move_base::MoveBase::clearing_radius_ [private] |
Definition at line 196 of file move_base.h.
bool move_base::MoveBase::clearing_roatation_allowed_ [private] |
Definition at line 200 of file move_base.h.
boost::recursive_mutex move_base::MoveBase::configuration_mutex_ [private] |
Definition at line 225 of file move_base.h.
double move_base::MoveBase::conservative_reset_dist_ [private] |
Definition at line 196 of file move_base.h.
Definition at line 185 of file move_base.h.
double move_base::MoveBase::controller_frequency_ [private] |
Definition at line 194 of file move_base.h.
double move_base::MoveBase::controller_patience_ [private] |
Definition at line 195 of file move_base.h.
std::vector<geometry_msgs::PoseStamped>* move_base::MoveBase::controller_plan_ [private] |
Definition at line 215 of file move_base.h.
Definition at line 197 of file move_base.h.
move_base::MoveBaseConfig move_base::MoveBase::default_config_ [private] |
Definition at line 231 of file move_base.h.
dynamic_reconfigure::Server<move_base::MoveBaseConfig>* move_base::MoveBase::dsrv_ [private] |
Definition at line 226 of file move_base.h.
std::string move_base::MoveBase::global_frame_ [private] |
Definition at line 188 of file move_base.h.
tf::Stamped<tf::Pose> move_base::MoveBase::global_pose_ [private] |
Definition at line 193 of file move_base.h.
Definition at line 198 of file move_base.h.
double move_base::MoveBase::inscribed_radius_ [private] |
Definition at line 194 of file move_base.h.
move_base::MoveBaseConfig move_base::MoveBase::last_config_ [private] |
Definition at line 230 of file move_base.h.
Definition at line 206 of file move_base.h.
Definition at line 206 of file move_base.h.
Definition at line 206 of file move_base.h.
std::vector<geometry_msgs::PoseStamped>* move_base::MoveBase::latest_plan_ [private] |
Definition at line 214 of file move_base.h.
Definition at line 199 of file move_base.h.
bool move_base::MoveBase::new_global_plan_ [private] |
Definition at line 233 of file move_base.h.
double move_base::MoveBase::oscillation_distance_ [private] |
Definition at line 201 of file move_base.h.
Definition at line 207 of file move_base.h.
double move_base::MoveBase::oscillation_timeout_ [private] |
Definition at line 201 of file move_base.h.
bool move_base::MoveBase::p_freq_change_ [private] |
Definition at line 232 of file move_base.h.
Definition at line 187 of file move_base.h.
boost::condition_variable move_base::MoveBase::planner_cond_ [private] |
Definition at line 220 of file move_base.h.
Definition at line 185 of file move_base.h.
double move_base::MoveBase::planner_frequency_ [private] |
Definition at line 194 of file move_base.h.
Definition at line 221 of file move_base.h.
boost::mutex move_base::MoveBase::planner_mutex_ [private] |
Definition at line 219 of file move_base.h.
double move_base::MoveBase::planner_patience_ [private] |
Definition at line 195 of file move_base.h.
std::vector<geometry_msgs::PoseStamped>* move_base::MoveBase::planner_plan_ [private] |
Definition at line 213 of file move_base.h.
boost::thread* move_base::MoveBase::planner_thread_ [private] |
Definition at line 222 of file move_base.h.
bool move_base::MoveBase::recovery_behavior_enabled_ [private] |
Definition at line 200 of file move_base.h.
std::vector<boost::shared_ptr<nav_core::RecoveryBehavior> > move_base::MoveBase::recovery_behaviors_ [private] |
Definition at line 190 of file move_base.h.
unsigned int move_base::MoveBase::recovery_index_ [private] |
Definition at line 191 of file move_base.h.
Definition at line 210 of file move_base.h.
Definition at line 204 of file move_base.h.
std::string move_base::MoveBase::robot_base_frame_ [private] |
Definition at line 188 of file move_base.h.
bool move_base::MoveBase::runPlanner_ [private] |
Definition at line 218 of file move_base.h.
bool move_base::MoveBase::setup_ [private] |
Definition at line 232 of file move_base.h.
bool move_base::MoveBase::shutdown_costmaps_ [private] |
Definition at line 200 of file move_base.h.
MoveBaseState move_base::MoveBase::state_ [private] |
Definition at line 203 of file move_base.h.
Definition at line 184 of file move_base.h.
tf::TransformListener& move_base::MoveBase::tf_ [private] |
Definition at line 180 of file move_base.h.
ros::Publisher move_base::MoveBase::vel_pub_ [private] |
Definition at line 197 of file move_base.h.