Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
ROS_Client Class Reference

Public Types

typedef actionlib::SimpleActionClient< control_msgs::FollowJointTrajectoryAction > TrajClient
 

Public Member Functions

void go_init (double task_duration=7.0)
 
void init_action_clients ()
 
ROS_Clientoperator= (const ROS_Client &obj)
 
 ROS_Client ()
 
 ROS_Client (std::vector< std::string > joingroups)
 
 ROS_Client (const ROS_Client &obj)
 
void set_joint_angles_deg (std::string groupname, std::vector< double > positions_deg, double duration=7.0, bool wait=false)
 
void set_joint_angles_rad (std::string groupname, std::vector< double > positions_radian, double duration=7.0, bool wait=false)
 
 ~ROS_Client ()
 

Public Attributes

control_msgs::FollowJointTrajectoryGoal goal
 

Private Member Functions

void set_groupnames (std::vector< std::string > groupnames)
 
std::vector< double > to_rad_list (std::vector< double > list_degree)
 

Private Attributes

control_msgs::FollowJointTrajectoryGoal goal_head
 
control_msgs::FollowJointTrajectoryGoal goal_larm
 
control_msgs::FollowJointTrajectoryGoal goal_rarm
 
control_msgs::FollowJointTrajectoryGoal goal_torso
 
std::string GR_HEAD
 
std::string GR_LARM
 
std::string GR_RARM
 
std::string GR_TORSO
 
const std::string MSG_ASK_ISSUEREPORT
 

Detailed Description

Definition at line 48 of file ros_client.cpp.

Member Typedef Documentation

typedef actionlib::SimpleActionClient<control_msgs::FollowJointTrajectoryAction> ROS_Client::TrajClient

Definition at line 65 of file ros_client.cpp.

Constructor & Destructor Documentation

ROS_Client::ROS_Client ( )
inline

Definition at line 69 of file ros_client.cpp.

ROS_Client::ROS_Client ( std::vector< std::string joingroups)
inlineexplicit

Definition at line 76 of file ros_client.cpp.

ROS_Client::ROS_Client ( const ROS_Client obj)
inline

Definition at line 84 of file ros_client.cpp.

ROS_Client::~ROS_Client ( )
inline

Definition at line 101 of file ros_client.cpp.

Member Function Documentation

void ROS_Client::go_init ( double  task_duration = 7.0)
inline

Definition at line 166 of file ros_client.cpp.

void ROS_Client::init_action_clients ( )
inline

Definition at line 105 of file ros_client.cpp.

ROS_Client& ROS_Client::operator= ( const ROS_Client obj)
inline

Definition at line 92 of file ros_client.cpp.

void ROS_Client::set_groupnames ( std::vector< std::string groupnames)
inlineprivate

Definition at line 279 of file ros_client.cpp.

void ROS_Client::set_joint_angles_deg ( std::string  groupname,
std::vector< double >  positions_deg,
double  duration = 7.0,
bool  wait = false 
)
inline

Definition at line 251 of file ros_client.cpp.

void ROS_Client::set_joint_angles_rad ( std::string  groupname,
std::vector< double >  positions_radian,
double  duration = 7.0,
bool  wait = false 
)
inline

Definition at line 198 of file ros_client.cpp.

std::vector<double> ROS_Client::to_rad_list ( std::vector< double >  list_degree)
inlineprivate

Definition at line 295 of file ros_client.cpp.

Member Data Documentation

control_msgs::FollowJointTrajectoryGoal ROS_Client::goal

Definition at line 67 of file ros_client.cpp.

control_msgs::FollowJointTrajectoryGoal ROS_Client::goal_head
private

Definition at line 267 of file ros_client.cpp.

control_msgs::FollowJointTrajectoryGoal ROS_Client::goal_larm
private

Definition at line 265 of file ros_client.cpp.

control_msgs::FollowJointTrajectoryGoal ROS_Client::goal_rarm
private

Definition at line 266 of file ros_client.cpp.

control_msgs::FollowJointTrajectoryGoal ROS_Client::goal_torso
private

Definition at line 268 of file ros_client.cpp.

std::string ROS_Client::GR_HEAD
private

Definition at line 259 of file ros_client.cpp.

std::string ROS_Client::GR_LARM
private

Definition at line 260 of file ros_client.cpp.

std::string ROS_Client::GR_RARM
private

Definition at line 261 of file ros_client.cpp.

std::string ROS_Client::GR_TORSO
private

Definition at line 258 of file ros_client.cpp.

const std::string ROS_Client::MSG_ASK_ISSUEREPORT
private

Definition at line 263 of file ros_client.cpp.


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


hironx_ros_bridge
Author(s): Kei Okada , Isaac I.Y. Saito
autogenerated on Thu May 14 2020 03:52:06