#include <auto_docking_ros.hpp>
Public Member Functions | |
AutoDockingROS (std::string name) | |
bool | init (ros::NodeHandle &nh) |
void | spin () |
~AutoDockingROS () | |
Private Member Functions | |
void | debugCb (const std_msgs::StringConstPtr &msg) |
void | goalCb () |
void | preemptCb () |
void | syncCb (const nav_msgs::OdometryConstPtr &odom, const kobuki_msgs::SensorStateConstPtr &core, const kobuki_msgs::DockInfraRedConstPtr &ir) |
void | toggleMotor (const bool &on_off) |
Private Attributes | |
actionlib::SimpleActionServer < kobuki_msgs::AutoDockingAction > | as_ |
boost::shared_ptr < message_filters::Subscriber < kobuki_msgs::SensorState > > | core_sub_ |
ros::Subscriber | debug_ |
ros::Publisher | debug_jabber_ |
DockDrive | dock_ |
kobuki_msgs::AutoDockingFeedback | feedback_ |
kobuki_msgs::AutoDockingGoal | goal_ |
boost::shared_ptr < message_filters::Subscriber < kobuki_msgs::DockInfraRed > > | ir_sub_ |
ros::Publisher | motor_power_enabler_ |
std::string | name_ |
ros::NodeHandle | nh_ |
boost::shared_ptr < message_filters::Subscriber < nav_msgs::Odometry > > | odom_sub_ |
kobuki_msgs::AutoDockingResult | result_ |
AutoDockingROS * | self |
bool | shutdown_requested_ |
boost::shared_ptr < message_filters::Synchronizer < SyncPolicy > > | sync_ |
ros::Publisher | velocity_commander_ |
Definition at line 53 of file auto_docking_ros.hpp.
kobuki::AutoDockingROS::AutoDockingROS | ( | std::string | name | ) |
Definition at line 19 of file auto_docking_ros.cpp.
Definition at line 33 of file auto_docking_ros.cpp.
void kobuki::AutoDockingROS::debugCb | ( | const std_msgs::StringConstPtr & | msg | ) | [private] |
Definition at line 161 of file auto_docking_ros.cpp.
void kobuki::AutoDockingROS::goalCb | ( | ) | [private] |
Definition at line 68 of file auto_docking_ros.cpp.
bool kobuki::AutoDockingROS::init | ( | ros::NodeHandle & | nh | ) |
Definition at line 44 of file auto_docking_ros.cpp.
void kobuki::AutoDockingROS::preemptCb | ( | ) | [private] |
Definition at line 83 of file auto_docking_ros.cpp.
void kobuki::AutoDockingROS::spin | ( | ) |
Definition at line 61 of file auto_docking_ros.cpp.
void kobuki::AutoDockingROS::syncCb | ( | const nav_msgs::OdometryConstPtr & | odom, |
const kobuki_msgs::SensorStateConstPtr & | core, | ||
const kobuki_msgs::DockInfraRedConstPtr & | ir | ||
) | [private] |
Definition at line 100 of file auto_docking_ros.cpp.
void kobuki::AutoDockingROS::toggleMotor | ( | const bool & | on_off | ) | [private] |
Definition at line 166 of file auto_docking_ros.cpp.
actionlib::SimpleActionServer<kobuki_msgs::AutoDockingAction> kobuki::AutoDockingROS::as_ [private] |
Definition at line 73 of file auto_docking_ros.hpp.
boost::shared_ptr<message_filters::Subscriber<kobuki_msgs::SensorState> > kobuki::AutoDockingROS::core_sub_ [private] |
Definition at line 84 of file auto_docking_ros.hpp.
Definition at line 79 of file auto_docking_ros.hpp.
Definition at line 80 of file auto_docking_ros.hpp.
DockDrive kobuki::AutoDockingROS::dock_ [private] |
Definition at line 67 of file auto_docking_ros.hpp.
kobuki_msgs::AutoDockingFeedback kobuki::AutoDockingROS::feedback_ [private] |
Definition at line 76 of file auto_docking_ros.hpp.
kobuki_msgs::AutoDockingGoal kobuki::AutoDockingROS::goal_ [private] |
Definition at line 75 of file auto_docking_ros.hpp.
boost::shared_ptr<message_filters::Subscriber<kobuki_msgs::DockInfraRed> > kobuki::AutoDockingROS::ir_sub_ [private] |
Definition at line 83 of file auto_docking_ros.hpp.
Definition at line 80 of file auto_docking_ros.hpp.
std::string kobuki::AutoDockingROS::name_ [private] |
Definition at line 69 of file auto_docking_ros.hpp.
ros::NodeHandle kobuki::AutoDockingROS::nh_ [private] |
Definition at line 72 of file auto_docking_ros.hpp.
boost::shared_ptr<message_filters::Subscriber<nav_msgs::Odometry> > kobuki::AutoDockingROS::odom_sub_ [private] |
Definition at line 82 of file auto_docking_ros.hpp.
kobuki_msgs::AutoDockingResult kobuki::AutoDockingROS::result_ [private] |
Definition at line 77 of file auto_docking_ros.hpp.
AutoDockingROS* kobuki::AutoDockingROS::self [private] |
Definition at line 66 of file auto_docking_ros.hpp.
bool kobuki::AutoDockingROS::shutdown_requested_ [private] |
Definition at line 70 of file auto_docking_ros.hpp.
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > kobuki::AutoDockingROS::sync_ [private] |
Definition at line 85 of file auto_docking_ros.hpp.
Definition at line 80 of file auto_docking_ros.hpp.