Public Member Functions | |
void | actionCB (const move_base_msgs::MoveBaseGoalConstPtr &goal) |
bool | getUseMoveAction (void) |
NodeClass (std::string name) | |
void | odometryCB (const nav_msgs::Odometry::ConstPtr &odometry) |
void | performControllerStep () |
bool | serviceCB (cob_srvs::SetString::Request &req, cob_srvs::SetString::Response &res) |
void | topicCB (const geometry_msgs::PoseStamped::ConstPtr &goal) |
~NodeClass () | |
Public Attributes | |
actionlib::SimpleActionClient< move_base_msgs::MoveBaseAction > * | action_client_ |
actionlib::SimpleActionServer< move_base_msgs::MoveBaseAction > | as_ |
ros::Subscriber | goal_sub_ |
ros::NodeHandle | nh_ |
ros::Subscriber | odometry_sub_ |
move_base_msgs::MoveBaseResult | result_ |
ros::ServiceServer | ss_ |
ros::Publisher | topic_pub_command_ |
Private Member Functions | |
double | getDistance2d (geometry_msgs::PoseStamped a, geometry_msgs::PoseStamped b) |
double | getDistance2d (geometry_msgs::Point a, geometry_msgs::Point b) |
geometry_msgs::PoseStamped | getRobotPoseGlobal () |
double | getThetaDiffRad (double target, double actual) |
bool | goalValid (const geometry_msgs::PoseStamped &goal_pose) |
bool | notMovingDueToObstacle () |
void | publishVelocitiesGlobal (double vx, double vy, double theta) |
double | sign (double x) |
void | stopMovement () |
geometry_msgs::PoseStamped | transformGoalToMap (geometry_msgs::PoseStamped goal_pose) |
Private Attributes | |
bool | finished_ |
std::string | global_frame_ |
double | goal_abortion_speed_ |
double | goal_abortion_speed_rot_ |
double | goal_abortion_time_ |
geometry_msgs::PoseStamped | goal_pose_global_ |
double | goal_threshold_ |
double | goal_threshold_rot_ |
double | kp_ |
double | kp_rot_ |
double | kv_ |
double | kv_rot_ |
double | last_time_ |
double | last_time_moving_ |
pthread_mutex_t | m_mutex |
bool | move_ |
std::string | robot_footprint_frame_ |
std::string | robot_frame_ |
geometry_msgs::PoseStamped | robot_pose_global_ |
geometry_msgs::Vector3Stamped | robot_twist_angular_robot_ |
geometry_msgs::Vector3Stamped | robot_twist_linear_robot_ |
double | slow_down_distance_ |
double | speed_threshold_ |
double | speed_threshold_rot_ |
tf::TransformListener | tf_listener_ |
double | theta_last_ |
bool | use_move_action_ |
double | v_max_ |
double | virt_mass_ |
double | virt_mass_rot_ |
double | vtheta_last_ |
double | vtheta_max_ |
double | vx_last_ |
double | vy_last_ |
double | x_last_ |
double | y_last_ |
geometry_msgs::PoseStamped | zero_pose_ |
Definition at line 44 of file cob_linear_nav.cpp.
|
inline |
Definition at line 66 of file cob_linear_nav.cpp.
|
inline |
Definition at line 324 of file cob_linear_nav.cpp.
|
inline |
Definition at line 218 of file cob_linear_nav.cpp.
|
private |
Definition at line 406 of file cob_linear_nav.cpp.
|
private |
Definition at line 410 of file cob_linear_nav.cpp.
|
private |
Definition at line 390 of file cob_linear_nav.cpp.
|
private |
Definition at line 419 of file cob_linear_nav.cpp.
bool NodeClass::getUseMoveAction | ( | void | ) |
Definition at line 373 of file cob_linear_nav.cpp.
|
private |
Definition at line 497 of file cob_linear_nav.cpp.
|
private |
Definition at line 478 of file cob_linear_nav.cpp.
|
inline |
Definition at line 289 of file cob_linear_nav.cpp.
void NodeClass::performControllerStep | ( | ) |
Definition at line 525 of file cob_linear_nav.cpp.
|
private |
Definition at line 423 of file cob_linear_nav.cpp.
|
inline |
Definition at line 311 of file cob_linear_nav.cpp.
|
private |
Definition at line 414 of file cob_linear_nav.cpp.
|
private |
Definition at line 471 of file cob_linear_nav.cpp.
|
inline |
Definition at line 174 of file cob_linear_nav.cpp.
|
private |
Definition at line 378 of file cob_linear_nav.cpp.
actionlib::SimpleActionClient<move_base_msgs::MoveBaseAction>* NodeClass::action_client_ |
Definition at line 62 of file cob_linear_nav.cpp.
actionlib::SimpleActionServer<move_base_msgs::MoveBaseAction> NodeClass::as_ |
Definition at line 58 of file cob_linear_nav.cpp.
|
private |
Definition at line 341 of file cob_linear_nav.cpp.
|
private |
Definition at line 333 of file cob_linear_nav.cpp.
|
private |
Definition at line 363 of file cob_linear_nav.cpp.
|
private |
Definition at line 364 of file cob_linear_nav.cpp.
|
private |
Definition at line 339 of file cob_linear_nav.cpp.
|
private |
Definition at line 334 of file cob_linear_nav.cpp.
ros::Subscriber NodeClass::goal_sub_ |
Definition at line 53 of file cob_linear_nav.cpp.
|
private |
Definition at line 363 of file cob_linear_nav.cpp.
|
private |
Definition at line 364 of file cob_linear_nav.cpp.
|
private |
Definition at line 365 of file cob_linear_nav.cpp.
|
private |
Definition at line 366 of file cob_linear_nav.cpp.
|
private |
Definition at line 365 of file cob_linear_nav.cpp.
|
private |
Definition at line 366 of file cob_linear_nav.cpp.
|
private |
Definition at line 367 of file cob_linear_nav.cpp.
|
private |
Definition at line 369 of file cob_linear_nav.cpp.
|
private |
Definition at line 345 of file cob_linear_nav.cpp.
|
private |
Definition at line 341 of file cob_linear_nav.cpp.
ros::NodeHandle NodeClass::nh_ |
Definition at line 48 of file cob_linear_nav.cpp.
ros::Subscriber NodeClass::odometry_sub_ |
Definition at line 53 of file cob_linear_nav.cpp.
move_base_msgs::MoveBaseResult NodeClass::result_ |
Definition at line 59 of file cob_linear_nav.cpp.
|
private |
Definition at line 333 of file cob_linear_nav.cpp.
|
private |
Definition at line 333 of file cob_linear_nav.cpp.
|
private |
Definition at line 336 of file cob_linear_nav.cpp.
|
private |
Definition at line 337 of file cob_linear_nav.cpp.
|
private |
Definition at line 337 of file cob_linear_nav.cpp.
|
private |
Definition at line 339 of file cob_linear_nav.cpp.
|
private |
Definition at line 363 of file cob_linear_nav.cpp.
|
private |
Definition at line 364 of file cob_linear_nav.cpp.
ros::ServiceServer NodeClass::ss_ |
Definition at line 55 of file cob_linear_nav.cpp.
|
private |
Definition at line 332 of file cob_linear_nav.cpp.
|
private |
Definition at line 362 of file cob_linear_nav.cpp.
ros::Publisher NodeClass::topic_pub_command_ |
Definition at line 51 of file cob_linear_nav.cpp.
|
private |
Definition at line 343 of file cob_linear_nav.cpp.
|
private |
Definition at line 368 of file cob_linear_nav.cpp.
|
private |
Definition at line 365 of file cob_linear_nav.cpp.
|
private |
Definition at line 366 of file cob_linear_nav.cpp.
|
private |
Definition at line 362 of file cob_linear_nav.cpp.
|
private |
Definition at line 368 of file cob_linear_nav.cpp.
|
private |
Definition at line 362 of file cob_linear_nav.cpp.
|
private |
Definition at line 362 of file cob_linear_nav.cpp.
|
private |
Definition at line 362 of file cob_linear_nav.cpp.
|
private |
Definition at line 362 of file cob_linear_nav.cpp.
|
private |
Definition at line 335 of file cob_linear_nav.cpp.