00001
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVELIFTFEEDBACK_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVELIFTFEEDBACK_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "object_manipulation_msgs/ManipulationPhase.h"
00014
00015 namespace object_manipulation_msgs
00016 {
00017 template <class ContainerAllocator>
00018 struct ReactiveLiftFeedback_ : public ros::Message
00019 {
00020 typedef ReactiveLiftFeedback_<ContainerAllocator> Type;
00021
00022 ReactiveLiftFeedback_()
00023 : manipulation_phase()
00024 {
00025 }
00026
00027 ReactiveLiftFeedback_(const ContainerAllocator& _alloc)
00028 : manipulation_phase(_alloc)
00029 {
00030 }
00031
00032 typedef ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> _manipulation_phase_type;
00033 ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> manipulation_phase;
00034
00035
00036 private:
00037 static const char* __s_getDataType_() { return "object_manipulation_msgs/ReactiveLiftFeedback"; }
00038 public:
00039 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00040
00041 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00042
00043 private:
00044 static const char* __s_getMD5Sum_() { return "f5854fd8810580aa0bc24d4d76384836"; }
00045 public:
00046 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00047
00048 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00049
00050 private:
00051 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00052 \n\
00053 # Which phase the lift is in\n\
00054 \n\
00055 ManipulationPhase manipulation_phase\n\
00056 \n\
00057 \n\
00058 \n\
00059 ================================================================================\n\
00060 MSG: object_manipulation_msgs/ManipulationPhase\n\
00061 int32 CHECKING_FEASIBILITY = 0\n\
00062 int32 MOVING_TO_PREGRASP = 1\n\
00063 int32 MOVING_TO_GRASP = 2\n\
00064 int32 CLOSING = 3 \n\
00065 int32 ADJUSTING_GRASP = 4\n\
00066 int32 LIFTING = 5\n\
00067 int32 MOVING_WITH_OBJECT = 6\n\
00068 int32 MOVING_TO_PLACE = 7\n\
00069 int32 PLACING = 8\n\
00070 int32 OPENING = 9\n\
00071 int32 RETREATING = 10\n\
00072 int32 MOVING_WITHOUT_OBJECT = 11\n\
00073 int32 SHAKING = 12\n\
00074 int32 SUCCEEDED = 13\n\
00075 int32 FAILED = 14\n\
00076 int32 ABORTED = 15\n\
00077 int32 HOLDING_OBJECT = 16\n\
00078 \n\
00079 int32 phase\n\
00080 "; }
00081 public:
00082 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00083
00084 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00085
00086 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00087 {
00088 ros::serialization::OStream stream(write_ptr, 1000000000);
00089 ros::serialization::serialize(stream, manipulation_phase);
00090 return stream.getData();
00091 }
00092
00093 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00094 {
00095 ros::serialization::IStream stream(read_ptr, 1000000000);
00096 ros::serialization::deserialize(stream, manipulation_phase);
00097 return stream.getData();
00098 }
00099
00100 ROS_DEPRECATED virtual uint32_t serializationLength() const
00101 {
00102 uint32_t size = 0;
00103 size += ros::serialization::serializationLength(manipulation_phase);
00104 return size;
00105 }
00106
00107 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > Ptr;
00108 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> const> ConstPtr;
00109 };
00110 typedef ::object_manipulation_msgs::ReactiveLiftFeedback_<std::allocator<void> > ReactiveLiftFeedback;
00111
00112 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftFeedback> ReactiveLiftFeedbackPtr;
00113 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftFeedback const> ReactiveLiftFeedbackConstPtr;
00114
00115
00116 template<typename ContainerAllocator>
00117 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> & v)
00118 {
00119 ros::message_operations::Printer< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> >::stream(s, "", v);
00120 return s;}
00121
00122 }
00123
00124 namespace ros
00125 {
00126 namespace message_traits
00127 {
00128 template<class ContainerAllocator>
00129 struct MD5Sum< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > {
00130 static const char* value()
00131 {
00132 return "f5854fd8810580aa0bc24d4d76384836";
00133 }
00134
00135 static const char* value(const ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> &) { return value(); }
00136 static const uint64_t static_value1 = 0xf5854fd8810580aaULL;
00137 static const uint64_t static_value2 = 0x0bc24d4d76384836ULL;
00138 };
00139
00140 template<class ContainerAllocator>
00141 struct DataType< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > {
00142 static const char* value()
00143 {
00144 return "object_manipulation_msgs/ReactiveLiftFeedback";
00145 }
00146
00147 static const char* value(const ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> &) { return value(); }
00148 };
00149
00150 template<class ContainerAllocator>
00151 struct Definition< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > {
00152 static const char* value()
00153 {
00154 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00155 \n\
00156 # Which phase the lift is in\n\
00157 \n\
00158 ManipulationPhase manipulation_phase\n\
00159 \n\
00160 \n\
00161 \n\
00162 ================================================================================\n\
00163 MSG: object_manipulation_msgs/ManipulationPhase\n\
00164 int32 CHECKING_FEASIBILITY = 0\n\
00165 int32 MOVING_TO_PREGRASP = 1\n\
00166 int32 MOVING_TO_GRASP = 2\n\
00167 int32 CLOSING = 3 \n\
00168 int32 ADJUSTING_GRASP = 4\n\
00169 int32 LIFTING = 5\n\
00170 int32 MOVING_WITH_OBJECT = 6\n\
00171 int32 MOVING_TO_PLACE = 7\n\
00172 int32 PLACING = 8\n\
00173 int32 OPENING = 9\n\
00174 int32 RETREATING = 10\n\
00175 int32 MOVING_WITHOUT_OBJECT = 11\n\
00176 int32 SHAKING = 12\n\
00177 int32 SUCCEEDED = 13\n\
00178 int32 FAILED = 14\n\
00179 int32 ABORTED = 15\n\
00180 int32 HOLDING_OBJECT = 16\n\
00181 \n\
00182 int32 phase\n\
00183 ";
00184 }
00185
00186 static const char* value(const ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> &) { return value(); }
00187 };
00188
00189 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > : public TrueType {};
00190 }
00191 }
00192
00193 namespace ros
00194 {
00195 namespace serialization
00196 {
00197
00198 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> >
00199 {
00200 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00201 {
00202 stream.next(m.manipulation_phase);
00203 }
00204
00205 ROS_DECLARE_ALLINONE_SERIALIZER;
00206 };
00207 }
00208 }
00209
00210 namespace ros
00211 {
00212 namespace message_operations
00213 {
00214
00215 template<class ContainerAllocator>
00216 struct Printer< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> >
00217 {
00218 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> & v)
00219 {
00220 s << indent << "manipulation_phase: ";
00221 s << std::endl;
00222 Printer< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> >::stream(s, indent + " ", v.manipulation_phase);
00223 }
00224 };
00225
00226
00227 }
00228 }
00229
00230 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVELIFTFEEDBACK_H
00231