#include <yumi_hw_rapid.h>

Public Member Functions | |
| bool | getJointStates (float(&jnts)[N_YUMI_JOINTS]) |
| bool | init (industrial::smpl_msg_connection::SmplMsgConnection *connection) |
| bool | setJointCommands (float(&jnts)[N_YUMI_JOINTS], int mode_) |
Protected Member Functions | |
| bool | internalCB (industrial::simple_message::SimpleMessage &in) |
Private Attributes | |
| bool | b_joint_commands_set |
| bool | b_joint_state_received |
| boost::mutex | data_buffer_mutex |
| bool | first_iteration |
| float | joint_command [N_YUMI_JOINTS] |
| boost::condition_variable | joint_commands_set |
| float | joint_positions [N_YUMI_JOINTS] |
| boost::condition_variable | joint_state_received |
| int | mode |
| boost::mutex | t_m |
Overrides message handler: keeps joint states thread-safe.
Definition at line 24 of file yumi_hw_rapid.h.
| bool YumiJointStateHandler::getJointStates | ( | float(&) | jnts[N_YUMI_JOINTS] | ) | [inline] |
Definition at line 37 of file yumi_hw_rapid.h.
| bool YumiJointStateHandler::init | ( | industrial::smpl_msg_connection::SmplMsgConnection * | connection | ) | [inline] |
Definition at line 54 of file yumi_hw_rapid.h.
| bool YumiJointStateHandler::internalCB | ( | industrial::simple_message::SimpleMessage & | in | ) | [inline, protected, virtual] |
Implements industrial::message_handler::MessageHandler.
Definition at line 66 of file yumi_hw_rapid.h.
| bool YumiJointStateHandler::setJointCommands | ( | float(&) | jnts[N_YUMI_JOINTS], |
| int | mode_ | ||
| ) | [inline] |
Definition at line 46 of file yumi_hw_rapid.h.
bool YumiJointStateHandler::b_joint_commands_set [private] |
Definition at line 33 of file yumi_hw_rapid.h.
bool YumiJointStateHandler::b_joint_state_received [private] |
Definition at line 33 of file yumi_hw_rapid.h.
boost::mutex YumiJointStateHandler::data_buffer_mutex [private] |
Definition at line 31 of file yumi_hw_rapid.h.
bool YumiJointStateHandler::first_iteration [private] |
Definition at line 30 of file yumi_hw_rapid.h.
float YumiJointStateHandler::joint_command[N_YUMI_JOINTS] [private] |
Definition at line 29 of file yumi_hw_rapid.h.
boost::condition_variable YumiJointStateHandler::joint_commands_set [private] |
Definition at line 32 of file yumi_hw_rapid.h.
float YumiJointStateHandler::joint_positions[N_YUMI_JOINTS] [private] |
Definition at line 28 of file yumi_hw_rapid.h.
boost::condition_variable YumiJointStateHandler::joint_state_received [private] |
Definition at line 32 of file yumi_hw_rapid.h.
int YumiJointStateHandler::mode [private] |
Definition at line 34 of file yumi_hw_rapid.h.
boost::mutex YumiJointStateHandler::t_m [private] |
Definition at line 31 of file yumi_hw_rapid.h.