Public Member Functions | Private Attributes | List of all members
controller_manager_tests::PosEffController Class Reference

#include <pos_eff_controller.h>

Inheritance diagram for controller_manager_tests::PosEffController:
Inheritance graph
[legend]

Public Member Functions

bool init (hardware_interface::RobotHW *robot_hw, ros::NodeHandle &n)
 
 PosEffController ()
 
void starting (const ros::Time &time)
 
void stopping (const ros::Time &time)
 
void update (const ros::Time &time, const ros::Duration &period)
 
- Public Member Functions inherited from controller_interface::MultiInterfaceController< hardware_interface::PositionJointInterface, hardware_interface::EffortJointInterface >
virtual bool init (hardware_interface::RobotHW *, ros::NodeHandle &, ros::NodeHandle &)
 
 MultiInterfaceController (bool allow_optional_interfaces=false)
 
virtual ~MultiInterfaceController ()
 
- Public Member Functions inherited from controller_interface::ControllerBase
 ControllerBase ()
 
bool isRunning ()
 
bool isRunning ()
 
bool startRequest (const ros::Time &time)
 
bool startRequest (const ros::Time &time)
 
bool stopRequest (const ros::Time &time)
 
bool stopRequest (const ros::Time &time)
 
void updateRequest (const ros::Time &time, const ros::Duration &period)
 
void updateRequest (const ros::Time &time, const ros::Duration &period)
 
virtual ~ControllerBase ()
 

Private Attributes

std::vector< hardware_interface::JointHandleeff_cmd_
 
std::vector< hardware_interface::JointHandlepos_cmd_
 

Additional Inherited Members

- Public Types inherited from controller_interface::ControllerBase
typedef std::vector< hardware_interface::InterfaceResourcesClaimedResources
 
- Public Attributes inherited from controller_interface::ControllerBase
 CONSTRUCTED
 
 INITIALIZED
 
 RUNNING
 
enum controller_interface::ControllerBase:: { ... }  state_
 
- Protected Member Functions inherited from controller_interface::MultiInterfaceController< hardware_interface::PositionJointInterface, hardware_interface::EffortJointInterface >
virtual bool initRequest (hardware_interface::RobotHW *robot_hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh, ClaimedResources &claimed_resources)
 
- Static Protected Member Functions inherited from controller_interface::MultiInterfaceController< hardware_interface::PositionJointInterface, hardware_interface::EffortJointInterface >
static void clearClaims (hardware_interface::RobotHW *robot_hw)
 
static void extractInterfaceResources (hardware_interface::RobotHW *robot_hw_in, hardware_interface::RobotHW *robot_hw_out)
 
static bool hasRequiredInterfaces (hardware_interface::RobotHW *robot_hw)
 
static void populateClaimedResources (hardware_interface::RobotHW *robot_hw, ClaimedResources &claimed_resources)
 
- Protected Attributes inherited from controller_interface::MultiInterfaceController< hardware_interface::PositionJointInterface, hardware_interface::EffortJointInterface >
bool allow_optional_interfaces_
 
hardware_interface::RobotHW robot_hw_ctrl_
 

Detailed Description

Definition at line 38 of file pos_eff_controller.h.

Constructor & Destructor Documentation

controller_manager_tests::PosEffController::PosEffController ( )
inline

Definition at line 43 of file pos_eff_controller.h.

Member Function Documentation

bool PosEffController::init ( hardware_interface::RobotHW robot_hw,
ros::NodeHandle n 
)
virtual
void PosEffController::starting ( const ros::Time time)
virtual

Reimplemented from controller_interface::ControllerBase.

Definition at line 62 of file pos_eff_controller.cpp.

void PosEffController::stopping ( const ros::Time time)
virtual

Reimplemented from controller_interface::ControllerBase.

Definition at line 70 of file pos_eff_controller.cpp.

void PosEffController::update ( const ros::Time time,
const ros::Duration period 
)
virtual

Implements controller_interface::ControllerBase.

Definition at line 67 of file pos_eff_controller.cpp.

Member Data Documentation

std::vector<hardware_interface::JointHandle> controller_manager_tests::PosEffController::eff_cmd_
private

Definition at line 52 of file pos_eff_controller.h.

std::vector<hardware_interface::JointHandle> controller_manager_tests::PosEffController::pos_cmd_
private

Definition at line 51 of file pos_eff_controller.h.


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


controller_manager_tests
Author(s): Vijay Pradeep, Adolfo Rodriguez Tsouroukdissian
autogenerated on Fri Jun 7 2019 22:00:10