Go to the documentation of this file.00001
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEGRASPFEEDBACK_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEGRASPFEEDBACK_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "object_manipulation_msgs/ManipulationPhase.h"
00018
00019 namespace object_manipulation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ReactiveGraspFeedback_ {
00023 typedef ReactiveGraspFeedback_<ContainerAllocator> Type;
00024
00025 ReactiveGraspFeedback_()
00026 : manipulation_phase()
00027 {
00028 }
00029
00030 ReactiveGraspFeedback_(const ContainerAllocator& _alloc)
00031 : manipulation_phase(_alloc)
00032 {
00033 }
00034
00035 typedef ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> _manipulation_phase_type;
00036 ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> manipulation_phase;
00037
00038
00039 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::object_manipulation_msgs::ReactiveGraspFeedback_<std::allocator<void> > ReactiveGraspFeedback;
00044
00045 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveGraspFeedback> ReactiveGraspFeedbackPtr;
00046 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveGraspFeedback const> ReactiveGraspFeedbackConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "f5854fd8810580aa0bc24d4d76384836";
00068 }
00069
00070 static const char* value(const ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0xf5854fd8810580aaULL;
00072 static const uint64_t static_value2 = 0x0bc24d4d76384836ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "object_manipulation_msgs/ReactiveGraspFeedback";
00080 }
00081
00082 static const char* value(const ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 \n\
00091 # which phase the grasp is in\n\
00092 \n\
00093 ManipulationPhase manipulation_phase\n\
00094 \n\
00095 \n\
00096 \n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: object_manipulation_msgs/ManipulationPhase\n\
00100 int32 CHECKING_FEASIBILITY = 0\n\
00101 int32 MOVING_TO_PREGRASP = 1\n\
00102 int32 MOVING_TO_GRASP = 2\n\
00103 int32 CLOSING = 3 \n\
00104 int32 ADJUSTING_GRASP = 4\n\
00105 int32 LIFTING = 5\n\
00106 int32 MOVING_WITH_OBJECT = 6\n\
00107 int32 MOVING_TO_PLACE = 7\n\
00108 int32 PLACING = 8\n\
00109 int32 OPENING = 9\n\
00110 int32 RETREATING = 10\n\
00111 int32 MOVING_WITHOUT_OBJECT = 11\n\
00112 int32 SHAKING = 12\n\
00113 int32 SUCCEEDED = 13\n\
00114 int32 FAILED = 14\n\
00115 int32 ABORTED = 15\n\
00116 int32 HOLDING_OBJECT = 16\n\
00117 \n\
00118 int32 phase\n\
00119 ";
00120 }
00121
00122 static const char* value(const ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> &) { return value(); }
00123 };
00124
00125 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> > : public TrueType {};
00126 }
00127 }
00128
00129 namespace ros
00130 {
00131 namespace serialization
00132 {
00133
00134 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> >
00135 {
00136 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00137 {
00138 stream.next(m.manipulation_phase);
00139 }
00140
00141 ROS_DECLARE_ALLINONE_SERIALIZER;
00142 };
00143 }
00144 }
00145
00146 namespace ros
00147 {
00148 namespace message_operations
00149 {
00150
00151 template<class ContainerAllocator>
00152 struct Printer< ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> >
00153 {
00154 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::ReactiveGraspFeedback_<ContainerAllocator> & v)
00155 {
00156 s << indent << "manipulation_phase: ";
00157 s << std::endl;
00158 Printer< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> >::stream(s, indent + " ", v.manipulation_phase);
00159 }
00160 };
00161
00162
00163 }
00164 }
00165
00166 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEGRASPFEEDBACK_H
00167