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

A joint angle below this value indicates there is nothing inside the gripper. More...

Public Member Functions

control_msgs::JointTrajectoryGoal closeGoal ()
 
actionlib::SimpleClientGoalState getState ()
 Returns the current state of the action. More...
 
control_msgs::JointTrajectoryGoal openGoal ()
 
void startTrajectory (control_msgs::JointTrajectoryGoal goal)
 Sends the command to start a given trajectory. More...
 
 TestGripperJointTrajectory ()
 
 ~TestGripperJointTrajectory ()
 

Private Member Functions

void jointStateCB (const sensor_msgs::JointState::ConstPtr &msg)
 

Private Attributes

std::vector< double > current_joint_state_
 
bool got_joint_state_
 
std::vector< std::string > joint_names_
 
ros::Subscriber joint_state_sub_
 
ros::NodeHandle nh_
 
ros::AsyncSpinner spinner_
 
TrajClienttraj_client_
 

Detailed Description

A joint angle below this value indicates there is nothing inside the gripper.

The maximum time it takes to open or close the gripper

Definition at line 46 of file test_gripper_joint_trajectory.cpp.

Constructor & Destructor Documentation

TestGripperJointTrajectory::TestGripperJointTrajectory ( )
inline

Definition at line 90 of file test_gripper_joint_trajectory.cpp.

TestGripperJointTrajectory::~TestGripperJointTrajectory ( )
inline

Definition at line 112 of file test_gripper_joint_trajectory.cpp.

Member Function Documentation

control_msgs::JointTrajectoryGoal TestGripperJointTrajectory::closeGoal ( )
inline

Definition at line 125 of file test_gripper_joint_trajectory.cpp.

actionlib::SimpleClientGoalState TestGripperJointTrajectory::getState ( )
inline

Returns the current state of the action.

Definition at line 209 of file test_gripper_joint_trajectory.cpp.

void TestGripperJointTrajectory::jointStateCB ( const sensor_msgs::JointState::ConstPtr &  msg)
inlineprivate

Definition at line 62 of file test_gripper_joint_trajectory.cpp.

control_msgs::JointTrajectoryGoal TestGripperJointTrajectory::openGoal ( )
inline

Definition at line 167 of file test_gripper_joint_trajectory.cpp.

void TestGripperJointTrajectory::startTrajectory ( control_msgs::JointTrajectoryGoal  goal)
inline

Sends the command to start a given trajectory.

Definition at line 118 of file test_gripper_joint_trajectory.cpp.

Member Data Documentation

std::vector<double> TestGripperJointTrajectory::current_joint_state_
private

Definition at line 58 of file test_gripper_joint_trajectory.cpp.

bool TestGripperJointTrajectory::got_joint_state_
private

Definition at line 57 of file test_gripper_joint_trajectory.cpp.

std::vector<std::string> TestGripperJointTrajectory::joint_names_
private

Definition at line 56 of file test_gripper_joint_trajectory.cpp.

ros::Subscriber TestGripperJointTrajectory::joint_state_sub_
private

Definition at line 55 of file test_gripper_joint_trajectory.cpp.

ros::NodeHandle TestGripperJointTrajectory::nh_
private

Definition at line 53 of file test_gripper_joint_trajectory.cpp.

ros::AsyncSpinner TestGripperJointTrajectory::spinner_
private

Definition at line 59 of file test_gripper_joint_trajectory.cpp.

TrajClient* TestGripperJointTrajectory::traj_client_
private

Definition at line 51 of file test_gripper_joint_trajectory.cpp.


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


katana_gazebo_plugins
Author(s): Martin Günther
autogenerated on Fri Jun 7 2019 22:06:34