#include <industrial_robot_status_controller.h>
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 |
ControllerBase & | operator= (const ControllerBase &)=delete |
ControllerBase & | operator= (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< HandleType > | robot_status_handle_ {} |
InterfaceType * | robot_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::InterfaceResources > | ClaimedResources |
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 |
Definition at line 39 of file industrial_robot_status_controller.h.
|
default |
|
inlineoverridevirtual |
Definition at line 45 of file industrial_robot_status_controller.h.
|
override |
Definition at line 30 of file controller.cpp.
|
overridevirtual |
Reimplemented from controller_interface::ControllerBase.
Definition at line 75 of file controller.cpp.
|
overridevirtual |
Implements controller_interface::ControllerBase.
Definition at line 103 of file controller.cpp.
|
private |
Definition at line 59 of file industrial_robot_status_controller.h.
|
private |
Definition at line 60 of file industrial_robot_status_controller.h.
|
private |
Definition at line 56 of file industrial_robot_status_controller.h.
|
private |
Definition at line 55 of file industrial_robot_status_controller.h.
|
private |
Definition at line 58 of file industrial_robot_status_controller.h.