$search
#include <ros/ros.h>
#include <gtest/gtest.h>
#include <boost/thread.hpp>
#include <actionlib/client/simple_action_client.h>
#include <pr2_plugs_msgs/FetchPlugAction.h>
#include <pr2_plugs_msgs/StowPlugAction.h>
#include <pr2_plugs_msgs/DetectPlugOnBaseAction.h>
#include <pr2_controllers_msgs/SingleJointPositionAction.h>
#include <pr2_controllers_msgs/JointTrajectoryAction.h>
#include <pr2_controllers_msgs/Pr2GripperCommandAction.h>
#include <pr2_common_action_msgs/ArmMoveIKAction.h>
#include <actionlib/server/simple_action_server.h>
Go to the source code of this file.
Functions | |
void | arm_execute (const pr2_controllers_msgs::JointTrajectoryGoalConstPtr &goal, actionlib::SimpleActionServer< pr2_controllers_msgs::JointTrajectoryAction > *as) |
void | gripper_execute (const pr2_controllers_msgs::Pr2GripperCommandGoalConstPtr &goal, actionlib::SimpleActionServer< pr2_controllers_msgs::Pr2GripperCommandAction > *as) |
void | ik_execute (const pr2_common_action_msgs::ArmMoveIKGoalConstPtr &goal, actionlib::SimpleActionServer< pr2_common_action_msgs::ArmMoveIKAction > *as) |
int | main (int argc, char **argv) |
void | plug_execute (const pr2_plugs_msgs::DetectPlugOnBaseGoalConstPtr &goal, actionlib::SimpleActionServer< pr2_plugs_msgs::DetectPlugOnBaseAction > *as) |
void | spine_execute (const pr2_controllers_msgs::SingleJointPositionGoalConstPtr &goal, actionlib::SimpleActionServer< pr2_controllers_msgs::SingleJointPositionAction > *as) |
void | spinThread () |
TEST (ActionServerTest, stow_plug) | |
TEST (ActionServerTest, fetch_plug) |
void arm_execute | ( | const pr2_controllers_msgs::JointTrajectoryGoalConstPtr & | goal, | |
actionlib::SimpleActionServer< pr2_controllers_msgs::JointTrajectoryAction > * | as | |||
) |
Definition at line 52 of file fetch_and_stow_plug_test.cpp.
void gripper_execute | ( | const pr2_controllers_msgs::Pr2GripperCommandGoalConstPtr & | goal, | |
actionlib::SimpleActionServer< pr2_controllers_msgs::Pr2GripperCommandAction > * | as | |||
) |
Definition at line 57 of file fetch_and_stow_plug_test.cpp.
void ik_execute | ( | const pr2_common_action_msgs::ArmMoveIKGoalConstPtr & | goal, | |
actionlib::SimpleActionServer< pr2_common_action_msgs::ArmMoveIKAction > * | as | |||
) |
Definition at line 62 of file fetch_and_stow_plug_test.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 117 of file fetch_and_stow_plug_test.cpp.
void plug_execute | ( | const pr2_plugs_msgs::DetectPlugOnBaseGoalConstPtr & | goal, | |
actionlib::SimpleActionServer< pr2_plugs_msgs::DetectPlugOnBaseAction > * | as | |||
) |
Definition at line 67 of file fetch_and_stow_plug_test.cpp.
void spine_execute | ( | const pr2_controllers_msgs::SingleJointPositionGoalConstPtr & | goal, | |
actionlib::SimpleActionServer< pr2_controllers_msgs::SingleJointPositionAction > * | as | |||
) |
Definition at line 72 of file fetch_and_stow_plug_test.cpp.
void spinThread | ( | ) |
Definition at line 47 of file fetch_and_stow_plug_test.cpp.
TEST | ( | ActionServerTest | , | |
stow_plug | ||||
) |
Definition at line 98 of file fetch_and_stow_plug_test.cpp.
TEST | ( | ActionServerTest | , | |
fetch_plug | ||||
) |
Definition at line 78 of file fetch_and_stow_plug_test.cpp.