Public Member Functions | Private Member Functions | Private Attributes
controller::SrhSyntouchController Class Reference

#include <srh_syntouch_controllers.hpp>

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

List of all members.

Public Member Functions

bool init (pr2_mechanism_model::RobotState *robot, const std::string &joint_name)
bool init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n)
 SrhSyntouchController ()
virtual void starting ()
virtual void update ()
 Issues commands to the joint. Should be called at regular intervals.
 ~SrhSyntouchController ()

Private Member Functions

void setCommandCB (const std_msgs::Float64ConstPtr &msg)

Private Attributes

sr_actuator::SrActuatoractuator_
boost::shared_ptr
< realtime_tools::RealtimePublisher
< sr_robot_msgs::JointControllerState > > 
controller_state_publisher_
ros::Subscriber sub_command_

Detailed Description

Definition at line 37 of file srh_syntouch_controllers.hpp.


Constructor & Destructor Documentation

Definition at line 40 of file srh_syntouch_controllers.cpp.

Definition at line 45 of file srh_syntouch_controllers.cpp.


Member Function Documentation

bool controller::SrhSyntouchController::init ( pr2_mechanism_model::RobotState robot,
const std::string &  joint_name 
)

Definition at line 50 of file srh_syntouch_controllers.cpp.

Reimplemented from controller::SrController.

Definition at line 79 of file srh_syntouch_controllers.cpp.

void controller::SrhSyntouchController::setCommandCB ( const std_msgs::Float64ConstPtr &  msg) [private]

Reimplemented from controller::SrController.

Reimplemented from controller::SrController.

Definition at line 94 of file srh_syntouch_controllers.cpp.

void controller::SrhSyntouchController::update ( void  ) [virtual]

Issues commands to the joint. Should be called at regular intervals.

Reimplemented from controller::SrController.

Definition at line 101 of file srh_syntouch_controllers.cpp.


Member Data Documentation

Definition at line 61 of file srh_syntouch_controllers.hpp.

boost::shared_ptr<realtime_tools::RealtimePublisher<sr_robot_msgs::JointControllerState> > controller::SrhSyntouchController::controller_state_publisher_ [private]

Reimplemented from controller::SrController.

Definition at line 56 of file srh_syntouch_controllers.hpp.

Reimplemented from controller::SrController.

Definition at line 58 of file srh_syntouch_controllers.hpp.


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


sr_mechanism_controllers
Author(s): Ugo Cupcic / ugo@shadowrobot.com , contact@shadowrobot.com
autogenerated on Fri Jan 3 2014 12:06:50