Public Member Functions | Protected Attributes | List of all members
controller::SrTactileSensorPublisher Class Reference

#include <sr_tactile_sensor_publisher.hpp>

Inheritance diagram for controller::SrTactileSensorPublisher:
Inheritance graph
[legend]

Public Member Functions

virtual void init (const ros::Time &time)
 
 SrTactileSensorPublisher (std::vector< tactiles::AllTactileData > *sensors, double publish_rate, ros::NodeHandle nh_prefix, std::string prefix)
 
virtual void update (const ros::Time &time, const ros::Duration &period)
 
virtual ~SrTactileSensorPublisher ()
 

Protected Attributes

ros::Time last_publish_time_
 
ros::NodeHandle nh_prefix_
 
std::string prefix_
 
double publish_rate_
 
std::vector< tactiles::AllTactileData > * sensors_
 

Detailed Description

Definition at line 35 of file sr_tactile_sensor_publisher.hpp.

Constructor & Destructor Documentation

◆ SrTactileSensorPublisher()

controller::SrTactileSensorPublisher::SrTactileSensorPublisher ( std::vector< tactiles::AllTactileData > *  sensors,
double  publish_rate,
ros::NodeHandle  nh_prefix,
std::string  prefix 
)

Definition at line 29 of file sr_tactile_sensor_publisher.cpp.

◆ ~SrTactileSensorPublisher()

virtual controller::SrTactileSensorPublisher::~SrTactileSensorPublisher ( )
inlinevirtual

Definition at line 40 of file sr_tactile_sensor_publisher.hpp.

Member Function Documentation

◆ init()

virtual void controller::SrTactileSensorPublisher::init ( const ros::Time time)
inlinevirtual

◆ update()

virtual void controller::SrTactileSensorPublisher::update ( const ros::Time time,
const ros::Duration period 
)
inlinevirtual

Member Data Documentation

◆ last_publish_time_

ros::Time controller::SrTactileSensorPublisher::last_publish_time_
protected

Definition at line 46 of file sr_tactile_sensor_publisher.hpp.

◆ nh_prefix_

ros::NodeHandle controller::SrTactileSensorPublisher::nh_prefix_
protected

Definition at line 48 of file sr_tactile_sensor_publisher.hpp.

◆ prefix_

std::string controller::SrTactileSensorPublisher::prefix_
protected

Definition at line 49 of file sr_tactile_sensor_publisher.hpp.

◆ publish_rate_

double controller::SrTactileSensorPublisher::publish_rate_
protected

Definition at line 47 of file sr_tactile_sensor_publisher.hpp.

◆ sensors_

std::vector<tactiles::AllTactileData>* controller::SrTactileSensorPublisher::sensors_
protected

Definition at line 45 of file sr_tactile_sensor_publisher.hpp.


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


sr_tactile_sensor_controller
Author(s): Guillaume Walck
autogenerated on Mon Feb 28 2022 23:51:01