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

#include <pos_eff_opt_controller.h>

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

Public Member Functions

bool init (hardware_interface::RobotHW *robot_hw, ros::NodeHandle &n)
 
 PosEffOptController ()
 
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_opt_controller.h.

Constructor & Destructor Documentation

controller_manager_tests::PosEffOptController::PosEffOptController ( )
inline

Definition at line 44 of file pos_eff_opt_controller.h.

Member Function Documentation

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

Reimplemented from controller_interface::ControllerBase.

Definition at line 79 of file pos_eff_opt_controller.cpp.

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

Reimplemented from controller_interface::ControllerBase.

Definition at line 87 of file pos_eff_opt_controller.cpp.

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

Implements controller_interface::ControllerBase.

Definition at line 84 of file pos_eff_opt_controller.cpp.

Member Data Documentation

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

Definition at line 55 of file pos_eff_opt_controller.h.

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

Definition at line 54 of file pos_eff_opt_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 Mon Apr 20 2020 03:52:10