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 >
virtual bool init (T *, ros::NodeHandle &)
 
virtual bool init (T *, ros::NodeHandle &, ros::NodeHandle &)
 
- Public Member Functions inherited from controller_interface::ControllerBase
virtual void aborting (const ros::Time &)
 
virtual void aborting (const ros::Time &)
 
bool abortRequest (const ros::Time &time)
 
bool abortRequest (const ros::Time &time)
 
 ControllerBase ()=default
 
 ControllerBase (const ControllerBase &)=delete
 
 ControllerBase (ControllerBase &&)=delete
 
bool isAborted () const
 
bool isAborted () const
 
bool isInitialized () const
 
bool isInitialized () const
 
bool isRunning () const
 
bool isRunning () const
 
bool isStopped () const
 
bool isStopped () const
 
bool isWaiting () const
 
bool isWaiting () const
 
ControllerBaseoperator= (const ControllerBase &)=delete
 
ControllerBaseoperator= (ControllerBase &&)=delete
 
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 void waiting (const ros::Time &)
 
virtual void waiting (const ros::Time &)
 
bool waitRequest (const ros::Time &time)
 
bool waitRequest (const ros::Time &time)
 
virtual ~ControllerBase ()=default
 

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
 
enum  ControllerState {
  ControllerState::CONSTRUCTED, ControllerState::INITIALIZED, ControllerState::RUNNING, ControllerState::STOPPED,
  ControllerState::WAITING, ControllerState::ABORTED
}
 
- Public Attributes inherited from controller_interface::ControllerBase
ControllerState state_
 
- Protected Member Functions inherited from controller_interface::Controller< InterfaceType >
std::string getHardwareInterfaceType () const
 
bool initRequest (hardware_interface::RobotHW *robot_hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh, ClaimedResources &claimed_resources) override
 

Detailed Description

Definition at line 39 of file industrial_robot_status_controller.h.

Constructor & Destructor Documentation

◆ IndustrialRobotStatusController()

industrial_robot_status_controller::IndustrialRobotStatusController::IndustrialRobotStatusController ( )
default

◆ ~IndustrialRobotStatusController()

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

Definition at line 45 of file industrial_robot_status_controller.h.

Member Function Documentation

◆ init()

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.

◆ starting()

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.

◆ update()

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

◆ last_publish_time_

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

Definition at line 59 of file industrial_robot_status_controller.h.

◆ publish_rate_

double industrial_robot_status_controller::IndustrialRobotStatusController::publish_rate_
private

Definition at line 60 of file industrial_robot_status_controller.h.

◆ robot_status_handle_

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

Definition at line 56 of file industrial_robot_status_controller.h.

◆ robot_status_interface_

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

Definition at line 55 of file industrial_robot_status_controller.h.

◆ robot_status_pub_

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 Sun Jul 2 2023 02:32:38