A joint angle below this value indicates there is nothing inside the gripper. More...
Public Member Functions | |
pr2_controllers_msgs::JointTrajectoryGoal | closeGoal () |
actionlib::SimpleClientGoalState | getState () |
Returns the current state of the action. | |
pr2_controllers_msgs::JointTrajectoryGoal | openGoal () |
void | startTrajectory (pr2_controllers_msgs::JointTrajectoryGoal goal) |
Sends the command to start a given trajectory. | |
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_ |
TrajClient * | traj_client_ |
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.
Definition at line 90 of file test_gripper_joint_trajectory.cpp.
Definition at line 112 of file test_gripper_joint_trajectory.cpp.
pr2_controllers_msgs::JointTrajectoryGoal TestGripperJointTrajectory::closeGoal | ( | ) | [inline] |
Definition at line 125 of file test_gripper_joint_trajectory.cpp.
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 | ) | [inline, private] |
Definition at line 62 of file test_gripper_joint_trajectory.cpp.
pr2_controllers_msgs::JointTrajectoryGoal TestGripperJointTrajectory::openGoal | ( | ) | [inline] |
Definition at line 167 of file test_gripper_joint_trajectory.cpp.
void TestGripperJointTrajectory::startTrajectory | ( | pr2_controllers_msgs::JointTrajectoryGoal | goal | ) | [inline] |
Sends the command to start a given trajectory.
Definition at line 118 of file test_gripper_joint_trajectory.cpp.
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.
Definition at line 55 of file test_gripper_joint_trajectory.cpp.
Definition at line 53 of file test_gripper_joint_trajectory.cpp.
Definition at line 59 of file test_gripper_joint_trajectory.cpp.
Definition at line 51 of file test_gripper_joint_trajectory.cpp.