Classes | Public Member Functions | Private Member Functions | Private Attributes
ridgeback_base::RidgebackLighting Class Reference

#include <ridgeback_lighting.h>

List of all members.

Classes

struct  patterns

Public Member Functions

 RidgebackLighting (ros::NodeHandle *nh)

Private Member Functions

void cmdVelCallback (const geometry_msgs::Twist::ConstPtr &msg)
void mcuStatusCallback (const ridgeback_msgs::Status::ConstPtr &status_msg)
void pumaStatusCallback (const puma_motor_msgs::MultiStatus::ConstPtr &status_msg)
void setLights (ridgeback_msgs::Lights *lights, uint32_t pattern[8])
void setRGB (ridgeback_msgs::RGB *rgb, uint32_t colour)
void timerCb (const ros::TimerEvent &)
void updatePattern ()
void updateState ()
void userCmdCallback (const ridgeback_msgs::Lights::ConstPtr &lights_msg)
void userTimeoutCb (const ros::TimerEvent &)

Private Attributes

bool allow_user_
geometry_msgs::Twist cmd_vel_msg_
ros::Subscriber cmd_vel_sub_
uint32_t current_pattern_ [8]
uint8_t current_pattern_count_
ros::Publisher lights_pub_
ridgeback_msgs::Status mcu_status_msg_
ros::Subscriber mcu_status_sub_
ros::NodeHandlenh_
uint8_t old_state_
struct
ridgeback_base::RidgebackLighting::patterns 
patterns_
ros::Timer pub_timer_
ros::Subscriber puma_status_sub_
puma_motor_msgs::MultiStatus pumas_status_msg_
uint8_t state_
ros::Subscriber user_cmds_sub_
bool user_publishing_
ros::Timer user_timeout_

Detailed Description

Definition at line 46 of file ridgeback_lighting.h.


Constructor & Destructor Documentation

Definition at line 77 of file ridgeback_lighting.cpp.


Member Function Documentation

void ridgeback_base::RidgebackLighting::cmdVelCallback ( const geometry_msgs::Twist::ConstPtr &  msg) [private]

Definition at line 172 of file ridgeback_lighting.cpp.

void ridgeback_base::RidgebackLighting::mcuStatusCallback ( const ridgeback_msgs::Status::ConstPtr &  status_msg) [private]

Definition at line 162 of file ridgeback_lighting.cpp.

void ridgeback_base::RidgebackLighting::pumaStatusCallback ( const puma_motor_msgs::MultiStatus::ConstPtr &  status_msg) [private]

Definition at line 167 of file ridgeback_lighting.cpp.

void ridgeback_base::RidgebackLighting::setLights ( ridgeback_msgs::Lights *  lights,
uint32_t  pattern[8] 
) [private]

Definition at line 145 of file ridgeback_lighting.cpp.

void ridgeback_base::RidgebackLighting::setRGB ( ridgeback_msgs::RGB *  rgb,
uint32_t  colour 
) [private]

Definition at line 138 of file ridgeback_lighting.cpp.

Definition at line 177 of file ridgeback_lighting.cpp.

Definition at line 246 of file ridgeback_lighting.cpp.

Definition at line 204 of file ridgeback_lighting.cpp.

void ridgeback_base::RidgebackLighting::userCmdCallback ( const ridgeback_msgs::Lights::ConstPtr &  lights_msg) [private]

Definition at line 153 of file ridgeback_lighting.cpp.

Definition at line 199 of file ridgeback_lighting.cpp.


Member Data Documentation

Definition at line 68 of file ridgeback_lighting.h.

geometry_msgs::Twist ridgeback_base::RidgebackLighting::cmd_vel_msg_ [private]

Definition at line 63 of file ridgeback_lighting.h.

Definition at line 59 of file ridgeback_lighting.h.

Definition at line 73 of file ridgeback_lighting.h.

Definition at line 72 of file ridgeback_lighting.h.

Definition at line 54 of file ridgeback_lighting.h.

ridgeback_msgs::Status ridgeback_base::RidgebackLighting::mcu_status_msg_ [private]

Definition at line 62 of file ridgeback_lighting.h.

Definition at line 57 of file ridgeback_lighting.h.

Definition at line 52 of file ridgeback_lighting.h.

Definition at line 71 of file ridgeback_lighting.h.

Definition at line 65 of file ridgeback_lighting.h.

Definition at line 58 of file ridgeback_lighting.h.

puma_motor_msgs::MultiStatus ridgeback_base::RidgebackLighting::pumas_status_msg_ [private]

Definition at line 61 of file ridgeback_lighting.h.

Definition at line 70 of file ridgeback_lighting.h.

Definition at line 56 of file ridgeback_lighting.h.

Definition at line 69 of file ridgeback_lighting.h.

Definition at line 66 of file ridgeback_lighting.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