Public Member Functions | Protected Member Functions | Private Attributes
YumiJointStateHandler Class Reference

#include <yumi_hw_rapid.h>

Inheritance diagram for YumiJointStateHandler:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Overrides message handler: keeps joint states thread-safe.

Definition at line 24 of file yumi_hw_rapid.h.


Member Function Documentation

bool YumiJointStateHandler::getJointStates ( float(&)  jnts[N_YUMI_JOINTS]) [inline]

Definition at line 37 of file yumi_hw_rapid.h.

Definition at line 54 of file yumi_hw_rapid.h.

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.


Member Data Documentation

Definition at line 33 of file yumi_hw_rapid.h.

Definition at line 33 of file yumi_hw_rapid.h.

Definition at line 31 of file yumi_hw_rapid.h.

Definition at line 30 of file yumi_hw_rapid.h.

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.

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.

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.


The documentation for this class was generated from the following file:


yumi_hw
Author(s):
autogenerated on Sat Jun 8 2019 20:47:40