#include <ros/ros.h>
#include <gtest/gtest.h>
#include <boost/thread.hpp>
#include <actionlib/client/simple_action_client.h>
#include <boost/thread/condition.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/scoped_ptr.hpp>
#include "ros/callback_queue.h"
#include "ros/callback_queue_interface.h"
#include <boost/thread/recursive_mutex.hpp>
#include <boost/interprocess/sync/scoped_lock.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include "actionlib/action_definition.h"
#include "ros/console.h"
#include <list>
#include <actionlib/destruction_guard.h>
#include "actionlib/enclosure_deleter.h"
#include "actionlib/goal_id_generator.h"
#include <string>
#include "actionlib_msgs/GoalID.h"
#include "actionlib_msgs/GoalStatusArray.h"
#include <set>
#include <map>
#include "actionlib/client/terminal_state.h"
#include <vector>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
#include "ros/message.h"
#include "ros/time.h"
#include "std_msgs/Header.h"
#include "actionlib_msgs/GoalStatus.h"
#include "geometry_msgs/PoseStamped.h"
#include <pr2_plugs_msgs/VisionPlugDetectionAction.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 74 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.