#include <multi_trigger_controller.h>
Public Member Functions | |
bool | init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) |
MultiTriggerController () | |
void | update () |
~MultiTriggerController () | |
Public Member Functions inherited from pr2_controller_interface::Controller | |
Controller () | |
bool | getController (const std::string &name, int sched, ControllerType *&c) |
bool | initRequest (ControllerProvider *cp, pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) |
bool | isRunning () |
void | starting (const ros::Time &time) |
virtual void | starting () |
bool | startRequest () |
void | stopping (const ros::Time &time) |
virtual void | stopping () |
bool | stopRequest () |
void | update (const ros::Time &time, const ros::Duration &period) |
void | updateRequest () |
virtual | ~Controller () |
Private Types | |
typedef ethercat_trigger_controllers::MultiWaveform | config_t |
Private Member Functions | |
bool | setMultiWaveformSrv (ethercat_trigger_controllers::SetMultiWaveform::Request &req, ethercat_trigger_controllers::SetMultiWaveform::Response &resp) |
Private Attributes | |
config_t | config_ |
boost::mutex | config_mutex_ |
pr2_hardware_interface::DigitalOutCommand * | digital_out_command_ |
std::string | digital_output_name_ |
ros::NodeHandle | node_handle_ |
std::vector< boost::shared_ptr< realtime_tools::RealtimePublisher< std_msgs::Header > > > | pubs_ |
pr2_mechanism_model::RobotState * | robot_ |
ros::ServiceServer | set_waveform_handle_ |
unsigned int | transition_index_ |
double | transition_period_ |
double | transition_time_ |
ros::Publisher | waveform_ |
Additional Inherited Members | |
Public Attributes inherited from pr2_controller_interface::Controller | |
std::vector< std::string > | after_list_ |
AFTER_ME | |
std::vector< std::string > | before_list_ |
BEFORE_ME | |
CONSTRUCTED | |
INITIALIZED | |
RUNNING | |
enum pr2_controller_interface::Controller:: { ... } | state_ |
Definition at line 55 of file multi_trigger_controller.h.
|
private |
Definition at line 57 of file multi_trigger_controller.h.
MultiTriggerController::MultiTriggerController | ( | ) |
Definition at line 47 of file multi_trigger_controller.cpp.
MultiTriggerController::~MultiTriggerController | ( | ) |
Definition at line 52 of file multi_trigger_controller.cpp.
|
virtual |
Implements pr2_controller_interface::Controller.
Definition at line 111 of file multi_trigger_controller.cpp.
|
private |
Definition at line 180 of file multi_trigger_controller.cpp.
|
virtual |
Implements pr2_controller_interface::Controller.
Definition at line 56 of file multi_trigger_controller.cpp.
|
private |
Definition at line 89 of file multi_trigger_controller.h.
|
private |
Definition at line 68 of file multi_trigger_controller.h.
|
private |
Definition at line 75 of file multi_trigger_controller.h.
|
private |
Definition at line 90 of file multi_trigger_controller.h.
|
private |
Definition at line 83 of file multi_trigger_controller.h.
|
private |
Definition at line 86 of file multi_trigger_controller.h.
|
private |
Definition at line 74 of file multi_trigger_controller.h.
|
private |
Definition at line 82 of file multi_trigger_controller.h.
|
private |
Definition at line 80 of file multi_trigger_controller.h.
|
private |
Definition at line 79 of file multi_trigger_controller.h.
|
private |
Definition at line 78 of file multi_trigger_controller.h.
|
private |
Definition at line 84 of file multi_trigger_controller.h.