Public Member Functions | Private Attributes | List of all members
franka_example_controllers::ModelExampleController Class Reference

#include <model_example_controller.h>

Inheritance diagram for franka_example_controllers::ModelExampleController:
Inheritance graph
[legend]

Public Member Functions

bool init (hardware_interface::RobotHW *robot_hw, ros::NodeHandle &node_handle) override
 
void update (const ros::Time &, const ros::Duration &) override
 
- Public Member Functions inherited from controller_interface::MultiInterfaceController< franka_hw::FrankaModelInterface, franka_hw::FrankaStateInterface >
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 ()
 
virtual void starting (const ros::Time &)
 
virtual void starting (const ros::Time &)
 
bool startRequest (const ros::Time &time)
 
bool startRequest (const ros::Time &time)
 
virtual void stopping (const ros::Time &)
 
virtual void stopping (const ros::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::unique_ptr< franka_hw::FrankaStateHandlefranka_state_handle_
 
franka_hw::FrankaStateInterfacefranka_state_interface_
 
std::unique_ptr< franka_hw::FrankaModelHandlemodel_handle_
 
franka_hw::FrankaModelInterfacemodel_interface_
 
franka_hw::TriggerRate rate_trigger_ {1.0}
 

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< franka_hw::FrankaModelInterface, franka_hw::FrankaStateInterface >
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< franka_hw::FrankaModelInterface, franka_hw::FrankaStateInterface >
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< franka_hw::FrankaModelInterface, franka_hw::FrankaStateInterface >
bool allow_optional_interfaces_
 
hardware_interface::RobotHW robot_hw_ctrl_
 

Detailed Description

Definition at line 19 of file model_example_controller.h.

Member Function Documentation

bool franka_example_controllers::ModelExampleController::init ( hardware_interface::RobotHW robot_hw,
ros::NodeHandle node_handle 
)
overridevirtual
void franka_example_controllers::ModelExampleController::update ( const ros::Time ,
const ros::Duration  
)
overridevirtual

Implements controller_interface::ControllerBase.

Definition at line 71 of file model_example_controller.cpp.

Member Data Documentation

std::unique_ptr<franka_hw::FrankaStateHandle> franka_example_controllers::ModelExampleController::franka_state_handle_
private

Definition at line 28 of file model_example_controller.h.

franka_hw::FrankaStateInterface* franka_example_controllers::ModelExampleController::franka_state_interface_
private

Definition at line 27 of file model_example_controller.h.

std::unique_ptr<franka_hw::FrankaModelHandle> franka_example_controllers::ModelExampleController::model_handle_
private

Definition at line 30 of file model_example_controller.h.

franka_hw::FrankaModelInterface* franka_example_controllers::ModelExampleController::model_interface_
private

Definition at line 29 of file model_example_controller.h.

franka_hw::TriggerRate franka_example_controllers::ModelExampleController::rate_trigger_ {1.0}
private

Definition at line 31 of file model_example_controller.h.


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


franka_example_controllers
Author(s): Franka Emika GmbH
autogenerated on Fri Oct 23 2020 03:47:17