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::AveragingAction ( std::string  name)
inline

Definition at line 10 of file averaging_server.cpp.

◆ ~AveragingAction()

AveragingAction::~AveragingAction ( void  )
inline

Definition at line 23 of file averaging_server.cpp.

Member Function Documentation

◆ analysisCB()

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

Definition at line 44 of file averaging_server.cpp.

◆ goalCB()

void AveragingAction::goalCB ( )
inline

Definition at line 27 of file averaging_server.cpp.

◆ preemptCB()

void AveragingAction::preemptCB ( )
inline

Definition at line 37 of file averaging_server.cpp.

Member Data Documentation

◆ action_name_

std::string AveragingAction::action_name_
protected

Definition at line 84 of file averaging_server.cpp.

◆ as_

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

Definition at line 83 of file averaging_server.cpp.

◆ data_count_

int AveragingAction::data_count_
protected

Definition at line 85 of file averaging_server.cpp.

◆ feedback_

actionlib_tutorials::AveragingFeedback AveragingAction::feedback_
protected

Definition at line 87 of file averaging_server.cpp.

◆ goal_

int AveragingAction::goal_
protected

Definition at line 85 of file averaging_server.cpp.

◆ nh_

ros::NodeHandle AveragingAction::nh_
protected

Definition at line 82 of file averaging_server.cpp.

◆ result_

actionlib_tutorials::AveragingResult AveragingAction::result_
protected

Definition at line 88 of file averaging_server.cpp.

◆ sub_

ros::Subscriber AveragingAction::sub_
protected

Definition at line 89 of file averaging_server.cpp.

◆ sum_

float AveragingAction::sum_
protected

Definition at line 86 of file averaging_server.cpp.

◆ sum_sq_

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 Mon Feb 28 2022 22:11:41