Public Member Functions | Private Attributes | List of all members
industrial_robot_status_controller::IndustrialRobotStatusController Class Reference

#include <industrial_robot_status_controller.h>

Inheritance diagram for industrial_robot_status_controller::IndustrialRobotStatusController:
Inheritance graph
[legend]

Public Member Functions

 IndustrialRobotStatusController ()=default
 
bool init (InterfaceType *hw, ros::NodeHandle &root_node_handle, ros::NodeHandle &controller_node_handle) override
 
void starting (const ros::Time &time) override
 
void update (const ros::Time &time, const ros::Duration &period) override
 
virtual ~IndustrialRobotStatusController () override
 
- Public Member Functions inherited from controller_interface::Controller< InterfaceType >
 Controller ()
 
virtual bool init (InterfaceType *, ros::NodeHandle &)
 
virtual bool init (InterfaceType *, ros::NodeHandle &, ros::NodeHandle &)
 
virtual ~Controller ()
 
- 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)
 
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

ros::Time last_publish_time_
 
double publish_rate_
 
std::unique_ptr< HandleTyperobot_status_handle_ {}
 
InterfaceTyperobot_status_interface_ {}
 
realtime_tools::RealtimePublisher< industrial_msgs::RobotStatus > robot_status_pub_
 

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::Controller< InterfaceType >
std::string getHardwareInterfaceType () const
 
virtual bool initRequest (hardware_interface::RobotHW *robot_hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh, ClaimedResources &claimed_resources)
 

Detailed Description

Definition at line 39 of file industrial_robot_status_controller.h.

Constructor & Destructor Documentation

industrial_robot_status_controller::IndustrialRobotStatusController::IndustrialRobotStatusController ( )
default
virtual industrial_robot_status_controller::IndustrialRobotStatusController::~IndustrialRobotStatusController ( )
inlineoverridevirtual

Definition at line 45 of file industrial_robot_status_controller.h.

Member Function Documentation

bool industrial_robot_status_controller::IndustrialRobotStatusController::init ( InterfaceType hw,
ros::NodeHandle root_node_handle,
ros::NodeHandle controller_node_handle 
)
override

Definition at line 30 of file controller.cpp.

void industrial_robot_status_controller::IndustrialRobotStatusController::starting ( const ros::Time time)
overridevirtual

Reimplemented from controller_interface::ControllerBase.

Definition at line 75 of file controller.cpp.

void industrial_robot_status_controller::IndustrialRobotStatusController::update ( const ros::Time time,
const ros::Duration period 
)
overridevirtual

Implements controller_interface::ControllerBase.

Definition at line 103 of file controller.cpp.

Member Data Documentation

ros::Time industrial_robot_status_controller::IndustrialRobotStatusController::last_publish_time_
private

Definition at line 59 of file industrial_robot_status_controller.h.

double industrial_robot_status_controller::IndustrialRobotStatusController::publish_rate_
private

Definition at line 60 of file industrial_robot_status_controller.h.

std::unique_ptr<HandleType> industrial_robot_status_controller::IndustrialRobotStatusController::robot_status_handle_ {}
private

Definition at line 56 of file industrial_robot_status_controller.h.

InterfaceType* industrial_robot_status_controller::IndustrialRobotStatusController::robot_status_interface_ {}
private

Definition at line 55 of file industrial_robot_status_controller.h.

realtime_tools::RealtimePublisher<industrial_msgs::RobotStatus> industrial_robot_status_controller::IndustrialRobotStatusController::robot_status_pub_
private

Definition at line 58 of file industrial_robot_status_controller.h.


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


industrial_robot_status_controller
Author(s): G.A. vd. Hoorn (TU Delft Robotics Institute)
autogenerated on Tue Feb 11 2020 03:27:52