Public Member Functions | Public Attributes | Protected Attributes
tactiles::ShadowPSTs Class Reference

#include <shadow_PSTs.hpp>

Inheritance diagram for tactiles::ShadowPSTs:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void add_diagnostics (std::vector< diagnostic_msgs::DiagnosticStatus > &vec, diagnostic_updater::DiagnosticStatusWrapper &d)
virtual std::vector
< AllTactileData > * 
get_tactile_data ()
void init (std::vector< generic_updater::UpdateConfig > update_configs_vector, operation_mode::device_update_state::DeviceUpdateState update_state)
virtual void publish ()
 ShadowPSTs (std::vector< generic_updater::UpdateConfig > update_configs_vector, operation_mode::device_update_state::DeviceUpdateState update_state)
 ShadowPSTs (std::vector< generic_updater::UpdateConfig > update_configs_vector, operation_mode::device_update_state::DeviceUpdateState update_state, boost::shared_ptr< std::vector< GenericTactileData > > init_tactiles_vector)
virtual void update (ETHERCAT_DATA_STRUCTURE_0200_PALM_EDC_STATUS *status_data)
 ~ShadowPSTs ()

Public Attributes

boost::shared_ptr< std::vector
< PST3Data > > 
tactiles_vector
 the vector containing the data for the tactiles.

Protected Attributes

boost::shared_ptr
< realtime_tools::RealtimePublisher
< sr_robot_msgs::ShadowPST > > 
tactile_publisher

Detailed Description

Definition at line 41 of file shadow_PSTs.hpp.


Constructor & Destructor Documentation

Definition at line 33 of file shadow_PSTs.cpp.

tactiles::ShadowPSTs::ShadowPSTs ( std::vector< generic_updater::UpdateConfig update_configs_vector,
operation_mode::device_update_state::DeviceUpdateState  update_state,
boost::shared_ptr< std::vector< GenericTactileData > >  init_tactiles_vector 
)

Definition at line 39 of file shadow_PSTs.cpp.

Definition at line 48 of file shadow_PSTs.hpp.


Member Function Documentation

void tactiles::ShadowPSTs::add_diagnostics ( std::vector< diagnostic_msgs::DiagnosticStatus > &  vec,
diagnostic_updater::DiagnosticStatusWrapper d 
) [virtual]

This function adds the diagnostics for the tactiles to the multi diagnostic status published by the hand.

Reimplemented from tactiles::GenericTactiles.

Definition at line 174 of file shadow_PSTs.cpp.

Reimplemented from tactiles::GenericTactiles.

Definition at line 202 of file shadow_PSTs.cpp.

Definition at line 51 of file shadow_PSTs.cpp.

void tactiles::ShadowPSTs::publish ( ) [virtual]

Publish the information to a ROS topic.

Reimplemented from tactiles::GenericTactiles.

Definition at line 149 of file shadow_PSTs.cpp.

void tactiles::ShadowPSTs::update ( ETHERCAT_DATA_STRUCTURE_0200_PALM_EDC_STATUS *  status_data) [virtual]

This function is called each time a new etherCAT message is received in the sr06.cpp driver. It updates the tactile sensors values contained in tactiles_vector.

Parameters:
status_datathe received etherCAT message

Reimplemented from tactiles::GenericTactiles.

Definition at line 61 of file shadow_PSTs.cpp.


Member Data Documentation

boost::shared_ptr<realtime_tools::RealtimePublisher<sr_robot_msgs::ShadowPST> > tactiles::ShadowPSTs::tactile_publisher [protected]

Definition at line 82 of file shadow_PSTs.hpp.

the vector containing the data for the tactiles.

Reimplemented from tactiles::GenericTactiles.

Definition at line 75 of file shadow_PSTs.hpp.


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


sr_robot_lib
Author(s): Ugo Cupcic / ugo@shadowrobot.com , software@shadowrobot.com
autogenerated on Thu Jan 2 2014 12:02:17