#include <multi_trigger_controller.h>
Public Member Functions | |
bool | init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) |
MultiTriggerController () | |
void | update () |
~MultiTriggerController () | |
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_ |
Definition at line 55 of file multi_trigger_controller.h.
typedef ethercat_trigger_controllers::MultiWaveform controller::MultiTriggerController::config_t [private] |
Definition at line 57 of file multi_trigger_controller.h.
Definition at line 47 of file multi_trigger_controller.cpp.
Definition at line 52 of file multi_trigger_controller.cpp.
bool MultiTriggerController::init | ( | pr2_mechanism_model::RobotState * | robot, |
ros::NodeHandle & | n | ||
) | [virtual] |
Implements pr2_controller_interface::Controller.
Definition at line 111 of file multi_trigger_controller.cpp.
bool MultiTriggerController::setMultiWaveformSrv | ( | ethercat_trigger_controllers::SetMultiWaveform::Request & | req, |
ethercat_trigger_controllers::SetMultiWaveform::Response & | resp | ||
) | [private] |
Definition at line 180 of file multi_trigger_controller.cpp.
void MultiTriggerController::update | ( | void | ) | [virtual] |
Implements pr2_controller_interface::Controller.
Definition at line 56 of file multi_trigger_controller.cpp.
Definition at line 89 of file multi_trigger_controller.h.
boost::mutex controller::MultiTriggerController::config_mutex_ [private] |
Definition at line 68 of file multi_trigger_controller.h.
pr2_hardware_interface::DigitalOutCommand* controller::MultiTriggerController::digital_out_command_ [private] |
Definition at line 75 of file multi_trigger_controller.h.
std::string controller::MultiTriggerController::digital_output_name_ [private] |
Definition at line 90 of file multi_trigger_controller.h.
Definition at line 83 of file multi_trigger_controller.h.
std::vector<boost::shared_ptr<realtime_tools::RealtimePublisher<std_msgs::Header> > > controller::MultiTriggerController::pubs_ [private] |
Definition at line 86 of file multi_trigger_controller.h.
Definition at line 74 of file multi_trigger_controller.h.
Definition at line 82 of file multi_trigger_controller.h.
unsigned int controller::MultiTriggerController::transition_index_ [private] |
Definition at line 80 of file multi_trigger_controller.h.
double controller::MultiTriggerController::transition_period_ [private] |
Definition at line 79 of file multi_trigger_controller.h.
double controller::MultiTriggerController::transition_time_ [private] |
Definition at line 78 of file multi_trigger_controller.h.
Definition at line 84 of file multi_trigger_controller.h.