Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
generic_updater::MotorDataChecker Class Reference

#include <motor_data_checker.hpp>

Public Member Functions

bool check_message (std::vector< shadow_joints::Joint >::iterator joint_tmp, FROM_MOTOR_DATA_TYPE motor_data_type, int16u motor_slow_data_type)
 
void init (std::vector< shadow_joints::Joint > joints_vector, std::vector< UpdateConfig > initialization_configs_vector)
 
 MotorDataChecker (std::vector< shadow_joints::Joint > joints_vector, std::vector< UpdateConfig > initialization_configs_vector)
 
 ~MotorDataChecker ()
 

Protected Member Functions

int find (FROM_MOTOR_DATA_TYPE motor_data_type)
 
bool is_everything_checked ()
 
void timer_callback (const ros::TimerEvent &event)
 

Protected Attributes

ros::Timer check_timeout_timer
 
ros::Duration init_max_duration
 
std::vector< MessageCheckermsg_checkers_
 
ros::NodeHandle nh_tilde
 
operation_mode::device_update_state::DeviceUpdateState update_state
 

Static Protected Attributes

static const double timeout = 5.0
 

Detailed Description

Definition at line 96 of file motor_data_checker.hpp.

Constructor & Destructor Documentation

generic_updater::MotorDataChecker::MotorDataChecker ( std::vector< shadow_joints::Joint joints_vector,
std::vector< UpdateConfig initialization_configs_vector 
)

Definition at line 33 of file motor_data_checker.cpp.

generic_updater::MotorDataChecker::~MotorDataChecker ( )

Definition at line 40 of file motor_data_checker.cpp.

Member Function Documentation

bool generic_updater::MotorDataChecker::check_message ( std::vector< shadow_joints::Joint >::iterator  joint_tmp,
FROM_MOTOR_DATA_TYPE  motor_data_type,
int16u  motor_slow_data_type 
)

Definition at line 87 of file motor_data_checker.cpp.

int generic_updater::MotorDataChecker::find ( FROM_MOTOR_DATA_TYPE  motor_data_type)
protected

Definition at line 152 of file motor_data_checker.cpp.

void generic_updater::MotorDataChecker::init ( std::vector< shadow_joints::Joint joints_vector,
std::vector< UpdateConfig initialization_configs_vector 
)

Definition at line 51 of file motor_data_checker.cpp.

bool generic_updater::MotorDataChecker::is_everything_checked ( )
protected

Definition at line 129 of file motor_data_checker.cpp.

void generic_updater::MotorDataChecker::timer_callback ( const ros::TimerEvent event)
protected

Definition at line 164 of file motor_data_checker.cpp.

Member Data Documentation

ros::Timer generic_updater::MotorDataChecker::check_timeout_timer
protected

Definition at line 131 of file motor_data_checker.hpp.

ros::Duration generic_updater::MotorDataChecker::init_max_duration
protected

Definition at line 133 of file motor_data_checker.hpp.

std::vector<MessageChecker> generic_updater::MotorDataChecker::msg_checkers_
protected

Definition at line 141 of file motor_data_checker.hpp.

ros::NodeHandle generic_updater::MotorDataChecker::nh_tilde
protected

Definition at line 130 of file motor_data_checker.hpp.

const double generic_updater::MotorDataChecker::timeout = 5.0
staticprotected

Definition at line 129 of file motor_data_checker.hpp.

operation_mode::device_update_state::DeviceUpdateState generic_updater::MotorDataChecker::update_state
protected

Definition at line 132 of file motor_data_checker.hpp.


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


sr_robot_lib
Author(s): Ugo Cupcic, Toni Oliver
autogenerated on Tue Oct 13 2020 04:01:58