#include <ros/ros.h>
#include <gtest/gtest.h>
#include <boost/thread.hpp>
#include <actionlib/client/simple_action_client.h>
#include <pr2_plugs_msgs/DetectPlugInGripperAction.h>
#include <pr2_plugs_msgs/VisionPlugDetectionAction.h>
#include <pr2_controllers_msgs/JointTrajectoryAction.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) |
int | main (int argc, char **argv) |
void | plug_execute (const pr2_plugs_msgs::VisionPlugDetectionGoalConstPtr &goal, actionlib::SimpleActionServer< pr2_plugs_msgs::VisionPlugDetectionAction > *as) |
void | spinThread () |
TEST (ActionServerTest, detect_plug) |
void arm_execute | ( | const pr2_controllers_msgs::JointTrajectoryGoalConstPtr & | goal, |
actionlib::SimpleActionServer< pr2_controllers_msgs::JointTrajectoryAction > * | as | ||
) |
Definition at line 48 of file detect_plug_test.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 76 of file detect_plug_test.cpp.
void plug_execute | ( | const pr2_plugs_msgs::VisionPlugDetectionGoalConstPtr & | goal, |
actionlib::SimpleActionServer< pr2_plugs_msgs::VisionPlugDetectionAction > * | as | ||
) |
Definition at line 53 of file detect_plug_test.cpp.
void spinThread | ( | ) |
Definition at line 43 of file detect_plug_test.cpp.
TEST | ( | ActionServerTest | , |
detect_plug | |||
) |
Definition at line 59 of file detect_plug_test.cpp.