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

#include <pr2_gripper_controller.h>

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

List of all members.

Public Member Functions

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

Public Attributes

realtime_tools::RealtimeBox
< pr2_controllers_msgs::Pr2GripperCommandConstPtr > 
command_box_
pr2_mechanism_model::JointStatejoint_state_

Private Member Functions

void commandCB (const pr2_controllers_msgs::Pr2GripperCommandConstPtr &msg)

Private Attributes

boost::scoped_ptr
< realtime_tools::RealtimePublisher
< pr2_controllers_msgs::JointControllerState > > 
controller_state_publisher_
ros::Time last_time_
int loop_count_
ros::NodeHandle node_
control_toolbox::Pid pid_
pr2_mechanism_model::RobotStaterobot_
ros::Subscriber sub_command_

Detailed Description

Definition at line 78 of file pr2_gripper_controller.h.


Constructor & Destructor Documentation

Definition at line 45 of file pr2_gripper_controller.cpp.

Definition at line 51 of file pr2_gripper_controller.cpp.


Member Function Documentation

void controller::Pr2GripperController::commandCB ( const pr2_controllers_msgs::Pr2GripperCommandConstPtr &  msg) [private]

Definition at line 152 of file pr2_gripper_controller.cpp.

Implements pr2_controller_interface::Controller.

Definition at line 56 of file pr2_gripper_controller.cpp.

virtual void controller::Pr2GripperController::starting ( ) [inline, virtual]

Reimplemented from pr2_controller_interface::Controller.

Definition at line 87 of file pr2_gripper_controller.h.

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

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

Implements pr2_controller_interface::Controller.

Definition at line 100 of file pr2_gripper_controller.cpp.


Member Data Documentation

realtime_tools::RealtimeBox<pr2_controllers_msgs::Pr2GripperCommandConstPtr> controller::Pr2GripperController::command_box_

Definition at line 101 of file pr2_gripper_controller.h.

boost::scoped_ptr< realtime_tools::RealtimePublisher< pr2_controllers_msgs::JointControllerState> > controller::Pr2GripperController::controller_state_publisher_ [private]

Definition at line 113 of file pr2_gripper_controller.h.

Definition at line 100 of file pr2_gripper_controller.h.

Definition at line 107 of file pr2_gripper_controller.h.

Definition at line 104 of file pr2_gripper_controller.h.

Definition at line 109 of file pr2_gripper_controller.h.

Definition at line 106 of file pr2_gripper_controller.h.

Definition at line 105 of file pr2_gripper_controller.h.

Definition at line 115 of file pr2_gripper_controller.h.


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


pr2_mechanism_controllers
Author(s): Sachin Chita, John Hsu, Melonee Wise
autogenerated on Sat Jun 8 2019 20:49:34