Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
ridgeback_base::RidgebackCooling Class Reference

#include <ridgeback_cooling.h>

List of all members.

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::NodeHandlenh_
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

Detailed Description

Definition at line 45 of file ridgeback_cooling.h.


Constructor & Destructor Documentation

Definition at line 46 of file ridgeback_cooling.cpp.


Member Function Documentation

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.


Member Data Documentation

const double ridgeback_base::RidgebackCooling::ANGULAR_VEL_THRESHOLD = 0.4 [static, private]

Definition at line 65 of file ridgeback_cooling.h.

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.

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.


The documentation for this class was generated from the following files:


ridgeback_base
Author(s): Mike Purvis , Tony Baltovski
autogenerated on Sun Mar 24 2019 03:01:13