#include <ros/ros.h>
#include <ros/package.h>
#include <std_msgs/Header.h>
#include <std_msgs/String.h>
#include <geometry_msgs/PointStamped.h>
#include <geometry_msgs/QuaternionStamped.h>
#include <geometry_msgs/TwistStamped.h>
#include <geometry_msgs/Pose2D.h>
#include <geometry_msgs/Point.h>
#include <sensor_msgs/Image.h>
#include <sensor_msgs/PointCloud2.h>
#include <sensor_msgs/CameraInfo.h>
#include <sensor_msgs/image_encodings.h>
#include <message_filters/subscriber.h>
#include <message_filters/time_synchronizer.h>
#include <message_filters/synchronizer.h>
#include <message_filters/sync_policies/approximate_time.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <tf/transform_listener.h>
#include <tf/transform_datatypes.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl_ros/transforms.h>
#include <boost/shared_ptr.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <vector>
#include <deque>
#include <queue>
#include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <utility>
#include <stdexcept>
#include <float.h>
#include <math.h>
#include <time.h>
#include <cstdlib>
#include <actionlib/client/simple_action_client.h>
#include <actionlib/client/terminal_state.h>
#include <visual_servo/VisualServoAction.h>
#include <visual_servo/VisualServoTwist.h>
#include <visual_servo/VisualServoPose.h>
#include <std_srvs/Empty.h>
#include "visual_servo.cpp"
Go to the source code of this file.
Classes | |
class | VisualServoNode |
Defines | |
#define | DESCEND 12 |
#define | DESCEND_INIT 11 |
#define | DISPLAY 1 |
#define | FINISH 14 |
#define | fmod(a, b) a - (float)((int)(a/b)*b) |
#define | GRAB 9 |
#define | INIT 0 |
#define | INIT_DESIRED 4 |
#define | INIT_HAND 3 |
#define | INIT_OBJS 2 |
#define | POSE_CONTR 5 |
#define | POSE_CONTR_2 6 |
#define | RELEASE 13 |
#define | RELOCATE 10 |
#define | SETTLE 1 |
#define | TERM 15 |
#define | VS_CONTR_1 7 |
#define | VS_CONTR_2 8 |
Typedefs | |
typedef message_filters::sync_policies::ApproximateTime < sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::PointCloud2 > | MySyncPolicy |
typedef actionlib::SimpleActionClient < visual_servo::VisualServoAction > | VisualServoClient |
typedef pcl::PointCloud < pcl::PointXYZ > | XYZPointCloud |
Functions | |
int | main (int argc, char **argv) |
#define DESCEND 12 |
Definition at line 114 of file vs_pose.cpp.
#define DESCEND_INIT 11 |
Definition at line 113 of file vs_pose.cpp.
#define DISPLAY 1 |
#define FINISH 14 |
Definition at line 116 of file vs_pose.cpp.
#define GRAB 9 |
Definition at line 111 of file vs_pose.cpp.
#define INIT 0 |
Definition at line 102 of file vs_pose.cpp.
#define INIT_DESIRED 4 |
Definition at line 106 of file vs_pose.cpp.
#define INIT_HAND 3 |
Definition at line 105 of file vs_pose.cpp.
#define INIT_OBJS 2 |
Definition at line 104 of file vs_pose.cpp.
#define POSE_CONTR 5 |
Definition at line 107 of file vs_pose.cpp.
#define POSE_CONTR_2 6 |
Definition at line 108 of file vs_pose.cpp.
#define RELEASE 13 |
Definition at line 115 of file vs_pose.cpp.
#define RELOCATE 10 |
Definition at line 112 of file vs_pose.cpp.
#define SETTLE 1 |
Definition at line 103 of file vs_pose.cpp.
#define TERM 15 |
Definition at line 117 of file vs_pose.cpp.
#define VS_CONTR_1 7 |
Definition at line 109 of file vs_pose.cpp.
#define VS_CONTR_2 8 |
Definition at line 110 of file vs_pose.cpp.
typedef message_filters::sync_policies::ApproximateTime<sensor_msgs::Image, sensor_msgs::Image,sensor_msgs::PointCloud2> MySyncPolicy |
Definition at line 122 of file vs_pose.cpp.
typedef actionlib::SimpleActionClient<visual_servo::VisualServoAction> VisualServoClient |
Definition at line 124 of file vs_pose.cpp.
typedef pcl::PointCloud<pcl::PointXYZ> XYZPointCloud |
Definition at line 123 of file vs_pose.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 453 of file vs_pose.cpp.