Public Member Functions | Protected Attributes | List of all members
AveragingAction Class Reference

Public Member Functions

void analysisCB (const std_msgs::Float32::ConstPtr &msg)
 
 AveragingAction (std::string name)
 
void goalCB ()
 
void preemptCB ()
 
 ~AveragingAction (void)
 

Protected Attributes

std::string action_name_
 
actionlib::SimpleActionServer< actionlib_tutorials::AveragingAction > as_
 
int data_count_
 
actionlib_tutorials::AveragingFeedback feedback_
 
int goal_
 
ros::NodeHandle nh_
 
actionlib_tutorials::AveragingResult result_
 
ros::Subscriber sub_
 
float sum_
 
float sum_sq_
 

Detailed Description

Definition at line 6 of file averaging_server.cpp.

Constructor & Destructor Documentation

AveragingAction::AveragingAction ( std::string  name)
inline

Definition at line 10 of file averaging_server.cpp.

AveragingAction::~AveragingAction ( void  )
inline

Definition at line 23 of file averaging_server.cpp.

Member Function Documentation

void AveragingAction::analysisCB ( const std_msgs::Float32::ConstPtr &  msg)
inline

Definition at line 44 of file averaging_server.cpp.

void AveragingAction::goalCB ( )
inline

Definition at line 27 of file averaging_server.cpp.

void AveragingAction::preemptCB ( )
inline

Definition at line 37 of file averaging_server.cpp.

Member Data Documentation

std::string AveragingAction::action_name_
protected

Definition at line 84 of file averaging_server.cpp.

actionlib::SimpleActionServer<actionlib_tutorials::AveragingAction> AveragingAction::as_
protected

Definition at line 83 of file averaging_server.cpp.

int AveragingAction::data_count_
protected

Definition at line 85 of file averaging_server.cpp.

actionlib_tutorials::AveragingFeedback AveragingAction::feedback_
protected

Definition at line 87 of file averaging_server.cpp.

int AveragingAction::goal_
protected

Definition at line 85 of file averaging_server.cpp.

ros::NodeHandle AveragingAction::nh_
protected

Definition at line 82 of file averaging_server.cpp.

actionlib_tutorials::AveragingResult AveragingAction::result_
protected

Definition at line 88 of file averaging_server.cpp.

ros::Subscriber AveragingAction::sub_
protected

Definition at line 89 of file averaging_server.cpp.

float AveragingAction::sum_
protected

Definition at line 86 of file averaging_server.cpp.

float AveragingAction::sum_sq_
protected

Definition at line 86 of file averaging_server.cpp.


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


actionlib_tutorials
Author(s): Melonee Wise
autogenerated on Sat Apr 4 2020 03:47:16