35 #ifndef LOCOMOVE_BASE_LOCOMOVE_BASE_H 36 #define LOCOMOVE_BASE_LOCOMOVE_BASE_H 40 #include <move_base_msgs/MoveBaseAction.h> 101 void goalCB(
const geometry_msgs::PoseStamped::ConstPtr& goal);
145 #endif // LOCOMOVE_BASE_LOCOMOVE_BASE_H ros::Timer control_loop_timer_
ros::NodeHandle private_nh_
locomotor::Locomotor locomotor_
void controlLoopCallback(const ros::TimerEvent &event)
costmap_2d::Costmap2DROS * planner_costmap_ros_
locomotor::Executor local_planning_ex_
void onLocalCostmapUpdate(const ros::Duration &planning_time)
void requestGlobalCostmapUpdate()
void onGlobalCostmapUpdate(const ros::Duration &planning_time)
ros::Time last_valid_plan_
geometry_msgs::Pose2D oscillation_pose_
bool loadRecoveryBehaviors(ros::NodeHandle node)
Load the recovery behaviors for the navigation stack from the parameter server.
void onNewLocalPlan(nav_2d_msgs::Twist2DStamped new_command, const ros::Duration &planning_time)
actionlib::SimpleActionServer< move_base_msgs::MoveBaseAction > server_
std::exception_ptr NavCore2ExceptionPtr
void loadDefaultRecoveryBehaviors()
Loads the default recovery behaviors for the navigation stack.
void onNavigationFailure(const locomotor_msgs::ResultCode result)
costmap_2d::Costmap2DROS * getCostmapPointer(const nav_core2::Costmap::Ptr &costmap)
ros::Time last_oscillation_reset_
void goalCB(const geometry_msgs::PoseStamped::ConstPtr &goal)
void onLocalPlanningException(nav_core2::NavCore2ExceptionPtr e_ptr, const ros::Duration &planning_time)
void setGoal(nav_2d_msgs::Pose2DStamped goal)
double oscillation_timeout_
int max_planning_retries_
ros::Duration desired_plan_duration_
void requestNavigationFailure(const locomotor_msgs::ResultCode &result)
LocoMoveBase(const ros::NodeHandle &nh)
void publishZeroVelocity()
ros::Duration desired_control_duration_
double controller_frequency_
ros::Time last_valid_control_
pluginlib::ClassLoader< nav_core::RecoveryBehavior > recovery_loader_
void planLoopCallback(const ros::TimerEvent &event)
double planner_frequency_
std::vector< boost::shared_ptr< nav_core::RecoveryBehavior > > recovery_behaviors_
unsigned int recovery_index_
ros::Subscriber goal_sub_
void onLocalCostmapException(nav_core2::NavCore2ExceptionPtr e_ptr, const ros::Duration &planning_time)
std::shared_ptr< Costmap > Ptr
void onNavigationCompleted()
void onNewGlobalPlan(nav_2d_msgs::Path2D new_global_plan, const ros::Duration &planning_time)
double oscillation_distance_
void onGlobalCostmapException(nav_core2::NavCore2ExceptionPtr e_ptr, const ros::Duration &planning_time)
ros::Timer plan_loop_timer_
costmap_2d::Costmap2DROS * controller_costmap_ros_
RecoveryTrigger recovery_trigger_
void onGlobalPlanningException(nav_core2::NavCore2ExceptionPtr e_ptr, const ros::Duration &planning_time)
locomotor::Executor global_planning_ex_
bool recovery_behavior_enabled_
double controller_patience_