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

#include <qnode.hpp>

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

Public Types

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

Signals

void rosShutdown ()
 

Public Member Functions

bool getOpenManipulatorActuatorState ()
 
bool getOpenManipulatorMovingState ()
 
std::vector< double > getPresentJointAngle ()
 
Eigen::Quaterniond getPresentKinematicsOrientation ()
 
Eigen::Vector3d getPresentKinematicsOrientationRPY ()
 
std::vector< double > getPresentKinematicsPosition ()
 
bool getWithGripperState ()
 
bool init ()
 
void jointStatesCallback (const sensor_msgs::JointState::ConstPtr &msg)
 
void kinematicsPoseCallback (const open_manipulator_msgs::KinematicsPose::ConstPtr &msg)
 
void log (const LogLevel &level, const std::string &msg)
 
QStringListModel * loggingModel ()
 
void manipulatorStatesCallback (const open_manipulator_msgs::OpenManipulatorState::ConstPtr &msg)
 
 QNode (int argc, char **argv)
 
void run ()
 
bool setActuatorState (bool actuator_state)
 
bool setDrawingTrajectory (std::string name, std::vector< double > arg, double path_time)
 
bool setJointSpacePath (std::vector< std::string > joint_name, std::vector< double > joint_angle, double path_time)
 
void setOption (std::string opt)
 
bool setTaskSpacePath (std::vector< double > kinematics_pose, double path_time)
 
bool setToolControl (std::vector< double > joint_angle)
 
virtual ~QNode ()
 

Private Attributes

ros::ServiceClient goal_drawing_trajectory_client_
 
ros::ServiceClient goal_joint_space_path_client_
 
ros::ServiceClient goal_task_space_path_client_
 
ros::ServiceClient goal_task_space_path_position_only_client_
 
ros::ServiceClient goal_tool_control_client_
 
int init_argc
 
char ** init_argv
 
open_manipulator_msgs::KinematicsPose kinematics_pose_
 
QStringListModel logging_model
 
bool open_manipulator_actuator_enabled_
 
bool open_manipulator_is_moving_
 
ros::Subscriber open_manipulator_joint_states_sub_
 
ros::Subscriber open_manipulator_kinematics_pose_sub_
 
ros::Publisher open_manipulator_option_pub_
 
ros::Subscriber open_manipulator_states_sub_
 
std::vector< double > present_joint_angle_
 
Eigen::Quaterniond present_kinematics_orientation_
 
Eigen::Vector3d present_kinematics_orientation_rpy_
 
std::vector< double > present_kinematics_position_
 
ros::ServiceClient set_actuator_state_client_
 
bool with_gripper_
 

Detailed Description

Definition at line 64 of file qnode.hpp.

Member Enumeration Documentation

Enumerator
Debug 
Info 
Warn 
Error 
Fatal 

Definition at line 75 of file qnode.hpp.

Constructor & Destructor Documentation

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

Definition at line 40 of file qnode.cpp.

open_manipulator_p_control_gui::QNode::~QNode ( )
virtual

Definition at line 48 of file qnode.cpp.

Member Function Documentation

bool open_manipulator_p_control_gui::QNode::getOpenManipulatorActuatorState ( )

Definition at line 168 of file qnode.cpp.

bool open_manipulator_p_control_gui::QNode::getOpenManipulatorMovingState ( )

Definition at line 164 of file qnode.cpp.

std::vector< double > open_manipulator_p_control_gui::QNode::getPresentJointAngle ( )

Definition at line 146 of file qnode.cpp.

Eigen::Quaterniond open_manipulator_p_control_gui::QNode::getPresentKinematicsOrientation ( )

Definition at line 154 of file qnode.cpp.

Eigen::Vector3d open_manipulator_p_control_gui::QNode::getPresentKinematicsOrientationRPY ( )

Definition at line 158 of file qnode.cpp.

std::vector< double > open_manipulator_p_control_gui::QNode::getPresentKinematicsPosition ( )

Definition at line 150 of file qnode.cpp.

bool open_manipulator_p_control_gui::QNode::getWithGripperState ( )

Definition at line 172 of file qnode.cpp.

bool open_manipulator_p_control_gui::QNode::init ( )

Definition at line 56 of file qnode.cpp.

void open_manipulator_p_control_gui::QNode::jointStatesCallback ( const sensor_msgs::JointState::ConstPtr &  msg)

Definition at line 108 of file qnode.cpp.

void open_manipulator_p_control_gui::QNode::kinematicsPoseCallback ( const open_manipulator_msgs::KinematicsPose::ConstPtr &  msg)

Definition at line 131 of file qnode.cpp.

void open_manipulator_p_control_gui::QNode::log ( const LogLevel level,
const std::string &  msg 
)
QStringListModel* open_manipulator_p_control_gui::QNode::loggingModel ( )
inline

Definition at line 83 of file qnode.hpp.

void open_manipulator_p_control_gui::QNode::manipulatorStatesCallback ( const open_manipulator_msgs::OpenManipulatorState::ConstPtr &  msg)

Definition at line 96 of file qnode.cpp.

void open_manipulator_p_control_gui::QNode::rosShutdown ( )
signal
void open_manipulator_p_control_gui::QNode::run ( )

Definition at line 86 of file qnode.cpp.

bool open_manipulator_p_control_gui::QNode::setActuatorState ( bool  actuator_state)

Definition at line 251 of file qnode.cpp.

bool open_manipulator_p_control_gui::QNode::setDrawingTrajectory ( std::string  name,
std::vector< double >  arg,
double  path_time 
)

Definition at line 222 of file qnode.cpp.

bool open_manipulator_p_control_gui::QNode::setJointSpacePath ( std::vector< std::string >  joint_name,
std::vector< double >  joint_angle,
double  path_time 
)

Definition at line 184 of file qnode.cpp.

void open_manipulator_p_control_gui::QNode::setOption ( std::string  opt)

Definition at line 177 of file qnode.cpp.

bool open_manipulator_p_control_gui::QNode::setTaskSpacePath ( std::vector< double >  kinematics_pose,
double  path_time 
)

Definition at line 198 of file qnode.cpp.

bool open_manipulator_p_control_gui::QNode::setToolControl ( std::vector< double >  joint_angle)

Definition at line 238 of file qnode.cpp.

Member Data Documentation

ros::ServiceClient open_manipulator_p_control_gui::QNode::goal_drawing_trajectory_client_
private

Definition at line 130 of file qnode.hpp.

ros::ServiceClient open_manipulator_p_control_gui::QNode::goal_joint_space_path_client_
private

Definition at line 125 of file qnode.hpp.

ros::ServiceClient open_manipulator_p_control_gui::QNode::goal_task_space_path_client_
private

Definition at line 127 of file qnode.hpp.

ros::ServiceClient open_manipulator_p_control_gui::QNode::goal_task_space_path_position_only_client_
private

Definition at line 126 of file qnode.hpp.

ros::ServiceClient open_manipulator_p_control_gui::QNode::goal_tool_control_client_
private

Definition at line 128 of file qnode.hpp.

int open_manipulator_p_control_gui::QNode::init_argc
private

Definition at line 109 of file qnode.hpp.

char** open_manipulator_p_control_gui::QNode::init_argv
private

Definition at line 110 of file qnode.hpp.

open_manipulator_msgs::KinematicsPose open_manipulator_p_control_gui::QNode::kinematics_pose_
private

Definition at line 136 of file qnode.hpp.

QStringListModel open_manipulator_p_control_gui::QNode::logging_model
private

Definition at line 111 of file qnode.hpp.

bool open_manipulator_p_control_gui::QNode::open_manipulator_actuator_enabled_
private

Definition at line 139 of file qnode.hpp.

bool open_manipulator_p_control_gui::QNode::open_manipulator_is_moving_
private

Definition at line 138 of file qnode.hpp.

ros::Subscriber open_manipulator_p_control_gui::QNode::open_manipulator_joint_states_sub_
private

Definition at line 121 of file qnode.hpp.

ros::Subscriber open_manipulator_p_control_gui::QNode::open_manipulator_kinematics_pose_sub_
private

Definition at line 122 of file qnode.hpp.

ros::Publisher open_manipulator_p_control_gui::QNode::open_manipulator_option_pub_
private

Definition at line 117 of file qnode.hpp.

ros::Subscriber open_manipulator_p_control_gui::QNode::open_manipulator_states_sub_
private

Definition at line 120 of file qnode.hpp.

std::vector<double> open_manipulator_p_control_gui::QNode::present_joint_angle_
private

Definition at line 132 of file qnode.hpp.

Eigen::Quaterniond open_manipulator_p_control_gui::QNode::present_kinematics_orientation_
private

Definition at line 134 of file qnode.hpp.

Eigen::Vector3d open_manipulator_p_control_gui::QNode::present_kinematics_orientation_rpy_
private

Definition at line 135 of file qnode.hpp.

std::vector<double> open_manipulator_p_control_gui::QNode::present_kinematics_position_
private

Definition at line 133 of file qnode.hpp.

ros::ServiceClient open_manipulator_p_control_gui::QNode::set_actuator_state_client_
private

Definition at line 129 of file qnode.hpp.

bool open_manipulator_p_control_gui::QNode::with_gripper_
private

Definition at line 114 of file qnode.hpp.


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


open_manipulator_p_control_gui
Author(s): Ryan Shim , Yong-Ho Na , Hye-Jong KIM
autogenerated on Thu Oct 22 2020 03:16:32