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

◆ MotorDataChecker()

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.

◆ ~MotorDataChecker()

generic_updater::MotorDataChecker::~MotorDataChecker ( )

Definition at line 40 of file motor_data_checker.cpp.

Member Function Documentation

◆ check_message()

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.

◆ find()

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

Definition at line 152 of file motor_data_checker.cpp.

◆ init()

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.

◆ is_everything_checked()

bool generic_updater::MotorDataChecker::is_everything_checked ( )
protected

Definition at line 129 of file motor_data_checker.cpp.

◆ timer_callback()

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

Definition at line 164 of file motor_data_checker.cpp.

Member Data Documentation

◆ check_timeout_timer

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

Definition at line 131 of file motor_data_checker.hpp.

◆ init_max_duration

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

Definition at line 133 of file motor_data_checker.hpp.

◆ msg_checkers_

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

Definition at line 141 of file motor_data_checker.hpp.

◆ nh_tilde

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

Definition at line 130 of file motor_data_checker.hpp.

◆ timeout

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

Definition at line 129 of file motor_data_checker.hpp.

◆ update_state

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 Mon Feb 28 2022 23:50:43