Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
controller::JointEffortController Class Reference

#include <joint_effort_controller.h>

Inheritance diagram for controller::JointEffortController:
Inheritance graph

Public Member Functions

bool init (pr2_mechanism_model::RobotState *robot, const std::string &joint_name)
virtual bool init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n)
 JointEffortController ()
virtual void starting ()
virtual void update ()
 ~JointEffortController ()
- Public Member Functions inherited from pr2_controller_interface::Controller
 Controller ()
bool getController (const std::string &name, int sched, ControllerType *&c)
bool initRequest (ControllerProvider *cp, pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n)
bool isRunning ()
void starting (const ros::Time &time)
bool startRequest ()
void stopping (const ros::Time &time)
virtual void stopping ()
bool stopRequest ()
void update (const ros::Time &time, const ros::Duration &period)
void updateRequest ()
virtual ~Controller ()

Public Attributes

double command_
- Public Attributes inherited from pr2_controller_interface::Controller
std::vector< std::string > after_list_
std::vector< std::string > before_list_
enum pr2_controller_interface::Controller:: { ... }  state_

Private Member Functions

void commandCB (const std_msgs::Float64ConstPtr &msg)

Private Attributes

ros::NodeHandle node_
ros::Subscriber sub_command_

Detailed Description

Definition at line 64 of file joint_effort_controller.h.

Constructor & Destructor Documentation

controller::JointEffortController::JointEffortController ( )

Definition at line 42 of file joint_effort_controller.cpp.

controller::JointEffortController::~JointEffortController ( )

Definition at line 47 of file joint_effort_controller.cpp.

Member Function Documentation

void controller::JointEffortController::commandCB ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 103 of file joint_effort_controller.cpp.

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

Definition at line 52 of file joint_effort_controller.cpp.

bool controller::JointEffortController::init ( pr2_mechanism_model::RobotState robot,
ros::NodeHandle n 

Implements pr2_controller_interface::Controller.

Definition at line 72 of file joint_effort_controller.cpp.

virtual void controller::JointEffortController::starting ( )

Reimplemented from pr2_controller_interface::Controller.

Definition at line 74 of file joint_effort_controller.h.

void controller::JointEffortController::update ( void  )

Implements pr2_controller_interface::Controller.

Definition at line 98 of file joint_effort_controller.cpp.

Member Data Documentation

double controller::JointEffortController::command_

Definition at line 79 of file joint_effort_controller.h.

pr2_mechanism_model::JointState* controller::JointEffortController::joint_state_

Definition at line 77 of file joint_effort_controller.h.

ros::NodeHandle controller::JointEffortController::node_

Definition at line 84 of file joint_effort_controller.h.

pr2_mechanism_model::RobotState* controller::JointEffortController::robot_

Definition at line 82 of file joint_effort_controller.h.

ros::Subscriber controller::JointEffortController::sub_command_

Definition at line 85 of file joint_effort_controller.h.

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

Author(s): John Hsu, Melonee Wise, Stuart Glaser
autogenerated on Mon Jun 10 2019 14:26:26