#include <simple_packet_controller.hpp>
Public Member Functions | |
virtual bool | init (usb_cam_hardware_interface::PacketInterface *hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh) |
SimplePacketController () | |
virtual void | starting (const ros::Time &time) |
virtual void | stopping (const ros::Time &time) |
virtual void | update (const ros::Time &time, const ros::Duration &period) |
virtual | ~SimplePacketController () |
![]() | |
virtual bool | init (T *, ros::NodeHandle &) |
virtual bool | init (T *, ros::NodeHandle &, ros::NodeHandle &) |
![]() | |
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) |
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 |
Protected Member Functions | |
virtual bool | initImpl (usb_cam_hardware_interface::PacketInterface *hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh)=0 |
virtual void | startingImpl (const ros::Time &time)=0 |
virtual void | stoppingImpl (const ros::Time &time)=0 |
virtual void | updateImpl (const ros::Time &time, const ros::Duration &period)=0 |
![]() | |
std::string | getHardwareInterfaceType () const |
bool | initRequest (hardware_interface::RobotHW *robot_hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh, ClaimedResources &claimed_resources) override |
Protected Attributes | |
usb_cam_hardware_interface::PacketHandle | packet_iface_ |
Private Attributes | |
ros::Time | last_stamp_ |
Additional Inherited Members | |
![]() | |
typedef std::vector< hardware_interface::InterfaceResources > | ClaimedResources |
enum | ControllerState { ControllerState::CONSTRUCTED, ControllerState::INITIALIZED, ControllerState::RUNNING, ControllerState::STOPPED, ControllerState::WAITING, ControllerState::ABORTED } |
![]() | |
ControllerState | state_ |
Definition at line 19 of file simple_packet_controller.hpp.
|
inline |
Definition at line 22 of file simple_packet_controller.hpp.
|
inlinevirtual |
Definition at line 24 of file simple_packet_controller.hpp.
|
inlinevirtual |
Definition at line 26 of file simple_packet_controller.hpp.
|
protectedpure virtual |
|
inlinevirtual |
Reimplemented from controller_interface::ControllerBase.
Definition at line 50 of file simple_packet_controller.hpp.
|
protectedpure virtual |
|
inlinevirtual |
Reimplemented from controller_interface::ControllerBase.
Definition at line 69 of file simple_packet_controller.hpp.
|
protectedpure virtual |
|
inlinevirtual |
Implements controller_interface::ControllerBase.
Definition at line 52 of file simple_packet_controller.hpp.
|
protectedpure virtual |
|
private |
Definition at line 88 of file simple_packet_controller.hpp.
|
protected |
Definition at line 85 of file simple_packet_controller.hpp.