#include <ridgeback_cooling.h>
Public Member Functions | |
RidgebackCooling (ros::NodeHandle *nh) | |
Private Member Functions | |
void | cmdFansCallback (const ros::TimerEvent &) |
void | cmdVelCallback (const geometry_msgs::Twist::ConstPtr &twist) |
void | statusCallback (const ridgeback_msgs::Status::ConstPtr &status) |
Private Attributes | |
bool | charger_disconnected_ |
ridgeback_msgs::Fans | cmd_fans_msg_ |
ros::Publisher | cmd_fans_pub_ |
ros::Timer | cmd_fans_timer_ |
ros::Subscriber | cmd_vel_sub_ |
double | last_motion_cmd_time_ |
ros::NodeHandle * | nh_ |
ros::Subscriber | status_sub_ |
Static Private Attributes | |
static const double | ANGULAR_VEL_THRESHOLD = 0.4 |
static const double | LINEAR_VEL_THRESHOLD = 0.1 |
static const double | MOITON_COMMAND_TIMEOUT = 3.0 |
Definition at line 45 of file ridgeback_cooling.h.
ridgeback_base::RidgebackCooling::RidgebackCooling | ( | ros::NodeHandle * | nh | ) | [explicit] |
Definition at line 46 of file ridgeback_cooling.cpp.
void ridgeback_base::RidgebackCooling::cmdFansCallback | ( | const ros::TimerEvent & | ) | [private] |
Definition at line 92 of file ridgeback_cooling.cpp.
void ridgeback_base::RidgebackCooling::cmdVelCallback | ( | const geometry_msgs::Twist::ConstPtr & | twist | ) | [private] |
Definition at line 78 of file ridgeback_cooling.cpp.
void ridgeback_base::RidgebackCooling::statusCallback | ( | const ridgeback_msgs::Status::ConstPtr & | status | ) | [private] |
Definition at line 63 of file ridgeback_cooling.cpp.
const double ridgeback_base::RidgebackCooling::ANGULAR_VEL_THRESHOLD = 0.4 [static, private] |
Definition at line 65 of file ridgeback_cooling.h.
bool ridgeback_base::RidgebackCooling::charger_disconnected_ [private] |
Definition at line 60 of file ridgeback_cooling.h.
ridgeback_msgs::Fans ridgeback_base::RidgebackCooling::cmd_fans_msg_ [private] |
Definition at line 61 of file ridgeback_cooling.h.
Definition at line 53 of file ridgeback_cooling.h.
Definition at line 58 of file ridgeback_cooling.h.
Definition at line 56 of file ridgeback_cooling.h.
double ridgeback_base::RidgebackCooling::last_motion_cmd_time_ [private] |
Definition at line 62 of file ridgeback_cooling.h.
const double ridgeback_base::RidgebackCooling::LINEAR_VEL_THRESHOLD = 0.1 [static, private] |
Definition at line 64 of file ridgeback_cooling.h.
const double ridgeback_base::RidgebackCooling::MOITON_COMMAND_TIMEOUT = 3.0 [static, private] |
Definition at line 66 of file ridgeback_cooling.h.
Definition at line 51 of file ridgeback_cooling.h.
Definition at line 55 of file ridgeback_cooling.h.