#include <stepback_and_steerturn_recovery.h>
Recovery behavior that takes a given twist and tries to execute it for up to d seconds, or until reaching an obstacle.
Definition at line 55 of file stepback_and_steerturn_recovery.h.
Definition at line 73 of file stepback_and_steerturn_recovery.h.
Definition at line 81 of file stepback_and_steerturn_recovery.h.
Definition at line 87 of file stepback_and_steerturn_recovery.h.
Doesn't do anything: initialize is where the actual work happens.
int stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::determineTurnDirection | ( | ) | [private] |
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::getCurrentDiff | ( | const gm::Pose2D | initialPose, |
const COSTMAP_SEARCH_MODE | mode = FORWARD |
||
) | const [private] |
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::getCurrentDistDiff | ( | const gm::Pose2D | initialPose, |
const double | distination, | ||
const COSTMAP_SEARCH_MODE | mode = FORWARD |
||
) | const [private] |
gm::Pose2D stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::getCurrentLocalPose | ( | ) | const [private] |
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::getDistBetweenTwoPoints | ( | const gm::Pose2D | pose1, |
const gm::Pose2D | pose2 | ||
) | const [private] |
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::getMinimalDistanceToObstacle | ( | const COSTMAP_SEARCH_MODE | mode | ) | const [private] |
gm::Pose2D stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::getPoseToObstacle | ( | const gm::Pose2D & | current, |
const gm::Twist & | twist | ||
) | const [private] |
void stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::initialize | ( | std::string | n, |
tf::TransformListener * | tf, | ||
costmap_2d::Costmap2DROS * | global_costmap, | ||
costmap_2d::Costmap2DROS * | local_costmap | ||
) | [virtual] |
Initialize the parameters of the behavior.
Implements nav_core::RecoveryBehavior.
void stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::moveSpacifiedLength | ( | const gm::Twist | twist, |
const double | length, | ||
const COSTMAP_SEARCH_MODE | mode = FORWARD |
||
) | const [private] |
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::normalizedPoseCost | ( | const gm::Pose2D & | pose | ) | const [private] |
void stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::runBehavior | ( | ) | [virtual] |
Run the behavior.
Implements nav_core::RecoveryBehavior.
gm::Twist stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::scaleGivenAccelerationLimits | ( | const gm::Twist & | twist, |
const double | time_remaining | ||
) | const [private] |
gm::Twist stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::transformTwist | ( | const gm::Pose2D & | pose | ) | const [private] |
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::angular_acceleration_limit_ [private] |
Definition at line 129 of file stepback_and_steerturn_recovery.h.
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::angular_speed_limit_ [private] |
Definition at line 127 of file stepback_and_steerturn_recovery.h.
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::angular_speed_steer_ [private] |
Definition at line 145 of file stepback_and_steerturn_recovery.h.
gm::Twist stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::base_frame_twist_ [private] |
Definition at line 123 of file stepback_and_steerturn_recovery.h.
ros::Publisher stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::cmd_vel_pub_ [private] |
Definition at line 115 of file stepback_and_steerturn_recovery.h.
const int stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::CNT_TURN = 2 [static, private] |
Definition at line 92 of file stepback_and_steerturn_recovery.h.
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::controller_frequency_ [private] |
Definition at line 130 of file stepback_and_steerturn_recovery.h.
costmap_2d::Costmap2D stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::costmap_ [private] |
Definition at line 112 of file stepback_and_steerturn_recovery.h.
Definition at line 125 of file stepback_and_steerturn_recovery.h.
costmap_2d::Costmap2DROS* stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::global_costmap_ [private] |
Definition at line 110 of file stepback_and_steerturn_recovery.h.
Definition at line 117 of file stepback_and_steerturn_recovery.h.
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::linear_acceleration_limit_ [private] |
Definition at line 128 of file stepback_and_steerturn_recovery.h.
Definition at line 126 of file stepback_and_steerturn_recovery.h.
Definition at line 140 of file stepback_and_steerturn_recovery.h.
Definition at line 149 of file stepback_and_steerturn_recovery.h.
Definition at line 144 of file stepback_and_steerturn_recovery.h.
costmap_2d::Costmap2DROS* stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::local_costmap_ [private] |
Definition at line 111 of file stepback_and_steerturn_recovery.h.
std::string stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::name_ [private] |
Definition at line 113 of file stepback_and_steerturn_recovery.h.
Definition at line 109 of file stepback_and_steerturn_recovery.h.
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::obstacle_check_frequency_ [private] |
Definition at line 137 of file stepback_and_steerturn_recovery.h.
Definition at line 136 of file stepback_and_steerturn_recovery.h.
Definition at line 134 of file stepback_and_steerturn_recovery.h.
ros::Publisher stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::recover_run_pub_ [private] |
Definition at line 116 of file stepback_and_steerturn_recovery.h.
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::sim_angle_resolution_ [private] |
Definition at line 138 of file stepback_and_steerturn_recovery.h.
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::simulation_frequency_ [private] |
Definition at line 131 of file stepback_and_steerturn_recovery.h.
Definition at line 132 of file stepback_and_steerturn_recovery.h.
Definition at line 147 of file stepback_and_steerturn_recovery.h.
Definition at line 141 of file stepback_and_steerturn_recovery.h.
Definition at line 142 of file stepback_and_steerturn_recovery.h.
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::step_forward_length_ [private] |
Definition at line 150 of file stepback_and_steerturn_recovery.h.
double stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::step_forward_timeout_ [private] |
Definition at line 151 of file stepback_and_steerturn_recovery.h.
Definition at line 114 of file stepback_and_steerturn_recovery.h.
Definition at line 135 of file stepback_and_steerturn_recovery.h.
Definition at line 146 of file stepback_and_steerturn_recovery.h.
gm::Twist stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::TWIST_STOP [private] |
Definition at line 94 of file stepback_and_steerturn_recovery.h.
base_local_planner::CostmapModel* stepback_and_steerturn_recovery::StepBackAndSteerTurnRecovery::world_model_ [mutable, private] |
Definition at line 121 of file stepback_and_steerturn_recovery.h.