Public Types | Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
manipulator_h_gui::QNode Class Reference

#include <qnode.hpp>

Inheritance diagram for manipulator_h_gui::QNode:
Inheritance graph
[legend]

Public Types

enum  LogLevel {
  Debug, Info, Warn, Error,
  Fatal
}
 

Public Slots

void getJointPose (std::vector< std::string > joint_name)
 
void getKinematicsPose (std::string group_name)
 

Signals

void loggingUpdated ()
 
void rosShutdown ()
 
void updateCurrentJointPose (manipulator_h_base_module_msgs::JointPose)
 
void updateCurrentKinematicsPose (manipulator_h_base_module_msgs::KinematicsPose)
 

Public Member Functions

bool init ()
 
void log (const LogLevel &level, const std::string &msg, std::string sender="GUI")
 
QStringListModel * loggingModel ()
 
 QNode (int argc, char **argv)
 
void run ()
 
void sendIniPoseMsg (std_msgs::String msg)
 
void sendJointPoseMsg (manipulator_h_base_module_msgs::JointPose msg)
 
void sendKinematicsPoseMsg (manipulator_h_base_module_msgs::KinematicsPose msg)
 
void sendSetModeMsg (std_msgs::String msg)
 
void statusMsgCallback (const robotis_controller_msgs::StatusMsg::ConstPtr &msg)
 
virtual ~QNode ()
 

Private Attributes

ros::Publisher chatter_publisher_
 
ros::ServiceClient get_joint_pose_client_
 
ros::ServiceClient get_kinematics_pose_client_
 
ros::Publisher ini_pose_msg_pub_
 
int init_argc_
 
char ** init_argv_
 
ros::Publisher joint_pose_msg_pub_
 
ros::Publisher kinematics_pose_msg_pub_
 
QStringListModel logging_model_
 
ros::Publisher set_mode_msg_pub_
 
ros::Subscriber status_msg_sub_
 

Detailed Description

Definition at line 73 of file qnode.hpp.

Member Enumeration Documentation

Enumerator
Debug 
Info 
Warn 
Error 
Fatal 

Definition at line 85 of file qnode.hpp.

Constructor & Destructor Documentation

manipulator_h_gui::QNode::QNode ( int  argc,
char **  argv 
)

Definition at line 45 of file qnode.cpp.

manipulator_h_gui::QNode::~QNode ( )
virtual

Definition at line 50 of file qnode.cpp.

Member Function Documentation

void manipulator_h_gui::QNode::getJointPose ( std::vector< std::string >  joint_name)
slot

Definition at line 168 of file qnode.cpp.

void manipulator_h_gui::QNode::getKinematicsPose ( std::string  group_name)
slot

Definition at line 195 of file qnode.cpp.

bool manipulator_h_gui::QNode::init ( )

Definition at line 58 of file qnode.cpp.

void manipulator_h_gui::QNode::log ( const LogLevel level,
const std::string &  msg,
std::string  sender = "GUI" 
)

Definition at line 100 of file qnode.cpp.

QStringListModel* manipulator_h_gui::QNode::loggingModel ( )
inline

Definition at line 90 of file qnode.hpp.

void manipulator_h_gui::QNode::loggingUpdated ( )
signal
void manipulator_h_gui::QNode::rosShutdown ( )
signal
void manipulator_h_gui::QNode::run ( )

Definition at line 80 of file qnode.cpp.

void manipulator_h_gui::QNode::sendIniPoseMsg ( std_msgs::String  msg)

Definition at line 154 of file qnode.cpp.

void manipulator_h_gui::QNode::sendJointPoseMsg ( manipulator_h_base_module_msgs::JointPose  msg)

Definition at line 140 of file qnode.cpp.

void manipulator_h_gui::QNode::sendKinematicsPoseMsg ( manipulator_h_base_module_msgs::KinematicsPose  msg)

Definition at line 147 of file qnode.cpp.

void manipulator_h_gui::QNode::sendSetModeMsg ( std_msgs::String  msg)

Definition at line 161 of file qnode.cpp.

void manipulator_h_gui::QNode::statusMsgCallback ( const robotis_controller_msgs::StatusMsg::ConstPtr &  msg)

Definition at line 95 of file qnode.cpp.

void manipulator_h_gui::QNode::updateCurrentJointPose ( manipulator_h_base_module_msgs::JointPose  )
signal
void manipulator_h_gui::QNode::updateCurrentKinematicsPose ( manipulator_h_base_module_msgs::KinematicsPose  )
signal

Member Data Documentation

ros::Publisher manipulator_h_gui::QNode::chatter_publisher_
private

Definition at line 118 of file qnode.hpp.

ros::ServiceClient manipulator_h_gui::QNode::get_joint_pose_client_
private

Definition at line 127 of file qnode.hpp.

ros::ServiceClient manipulator_h_gui::QNode::get_kinematics_pose_client_
private

Definition at line 128 of file qnode.hpp.

ros::Publisher manipulator_h_gui::QNode::ini_pose_msg_pub_
private

Definition at line 121 of file qnode.hpp.

int manipulator_h_gui::QNode::init_argc_
private

Definition at line 115 of file qnode.hpp.

char** manipulator_h_gui::QNode::init_argv_
private

Definition at line 116 of file qnode.hpp.

ros::Publisher manipulator_h_gui::QNode::joint_pose_msg_pub_
private

Definition at line 124 of file qnode.hpp.

ros::Publisher manipulator_h_gui::QNode::kinematics_pose_msg_pub_
private

Definition at line 125 of file qnode.hpp.

QStringListModel manipulator_h_gui::QNode::logging_model_
private

Definition at line 119 of file qnode.hpp.

ros::Publisher manipulator_h_gui::QNode::set_mode_msg_pub_
private

Definition at line 122 of file qnode.hpp.

ros::Subscriber manipulator_h_gui::QNode::status_msg_sub_
private

Definition at line 130 of file qnode.hpp.


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


manipulator_h_gui
Author(s): SCH
autogenerated on Mon Jun 10 2019 14:02:56