$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_object_manipulation/doc_stacks/2013-03-05_12-10-38.333207/pr2_object_manipulation/manipulation/pr2_object_manipulation_msgs/msg/IMGUIResult.msg */ 00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIRESULT_H 00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIRESULT_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/ManipulationResult.h" 00018 00019 namespace pr2_object_manipulation_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct IMGUIResult_ { 00023 typedef IMGUIResult_<ContainerAllocator> Type; 00024 00025 IMGUIResult_() 00026 : result() 00027 { 00028 } 00029 00030 IMGUIResult_(const ContainerAllocator& _alloc) 00031 : result(_alloc) 00032 { 00033 } 00034 00035 typedef ::object_manipulation_msgs::ManipulationResult_<ContainerAllocator> _result_type; 00036 ::object_manipulation_msgs::ManipulationResult_<ContainerAllocator> result; 00037 00038 00039 private: 00040 static const char* __s_getDataType_() { return "pr2_object_manipulation_msgs/IMGUIResult"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "f81d941ac01806ebaf0578f78def0828"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00055 \n\ 00056 #empty result\n\ 00057 object_manipulation_msgs/ManipulationResult result\n\ 00058 \n\ 00059 \n\ 00060 ================================================================================\n\ 00061 MSG: object_manipulation_msgs/ManipulationResult\n\ 00062 # Result codes for manipulation tasks\n\ 00063 \n\ 00064 # task completed as expected\n\ 00065 # generally means you can proceed as planned\n\ 00066 int32 SUCCESS = 1\n\ 00067 \n\ 00068 # task not possible (e.g. out of reach or obstacles in the way)\n\ 00069 # generally means that the world was not disturbed, so you can try another task\n\ 00070 int32 UNFEASIBLE = -1\n\ 00071 \n\ 00072 # task was thought possible, but failed due to unexpected events during execution\n\ 00073 # it is likely that the world was disturbed, so you are encouraged to refresh\n\ 00074 # your sensed world model before proceeding to another task\n\ 00075 int32 FAILED = -2\n\ 00076 \n\ 00077 # a lower level error prevented task completion (e.g. joint controller not responding)\n\ 00078 # generally requires human attention\n\ 00079 int32 ERROR = -3\n\ 00080 \n\ 00081 # means that at some point during execution we ended up in a state that the collision-aware\n\ 00082 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\ 00083 # probably need a new collision map to move the arm out of the stuck position\n\ 00084 int32 ARM_MOVEMENT_PREVENTED = -4\n\ 00085 \n\ 00086 # specific to grasp actions\n\ 00087 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\ 00088 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\ 00089 int32 LIFT_FAILED = -5\n\ 00090 \n\ 00091 # specific to place actions\n\ 00092 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\ 00093 # it is likely that the collision environment will see collisions between the hand and the object\n\ 00094 int32 RETREAT_FAILED = -6\n\ 00095 \n\ 00096 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\ 00097 int32 CANCELLED = -7\n\ 00098 \n\ 00099 # the actual value of this error code\n\ 00100 int32 value\n\ 00101 \n\ 00102 "; } 00103 public: 00104 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00105 00106 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00107 00108 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00109 { 00110 ros::serialization::OStream stream(write_ptr, 1000000000); 00111 ros::serialization::serialize(stream, result); 00112 return stream.getData(); 00113 } 00114 00115 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00116 { 00117 ros::serialization::IStream stream(read_ptr, 1000000000); 00118 ros::serialization::deserialize(stream, result); 00119 return stream.getData(); 00120 } 00121 00122 ROS_DEPRECATED virtual uint32_t serializationLength() const 00123 { 00124 uint32_t size = 0; 00125 size += ros::serialization::serializationLength(result); 00126 return size; 00127 } 00128 00129 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > Ptr; 00130 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> const> ConstPtr; 00131 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00132 }; // struct IMGUIResult 00133 typedef ::pr2_object_manipulation_msgs::IMGUIResult_<std::allocator<void> > IMGUIResult; 00134 00135 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIResult> IMGUIResultPtr; 00136 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIResult const> IMGUIResultConstPtr; 00137 00138 00139 template<typename ContainerAllocator> 00140 std::ostream& operator<<(std::ostream& s, const ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> & v) 00141 { 00142 ros::message_operations::Printer< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> >::stream(s, "", v); 00143 return s;} 00144 00145 } // namespace pr2_object_manipulation_msgs 00146 00147 namespace ros 00148 { 00149 namespace message_traits 00150 { 00151 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > : public TrueType {}; 00152 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> const> : public TrueType {}; 00153 template<class ContainerAllocator> 00154 struct MD5Sum< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > { 00155 static const char* value() 00156 { 00157 return "f81d941ac01806ebaf0578f78def0828"; 00158 } 00159 00160 static const char* value(const ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> &) { return value(); } 00161 static const uint64_t static_value1 = 0xf81d941ac01806ebULL; 00162 static const uint64_t static_value2 = 0xaf0578f78def0828ULL; 00163 }; 00164 00165 template<class ContainerAllocator> 00166 struct DataType< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > { 00167 static const char* value() 00168 { 00169 return "pr2_object_manipulation_msgs/IMGUIResult"; 00170 } 00171 00172 static const char* value(const ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> &) { return value(); } 00173 }; 00174 00175 template<class ContainerAllocator> 00176 struct Definition< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > { 00177 static const char* value() 00178 { 00179 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00180 \n\ 00181 #empty result\n\ 00182 object_manipulation_msgs/ManipulationResult result\n\ 00183 \n\ 00184 \n\ 00185 ================================================================================\n\ 00186 MSG: object_manipulation_msgs/ManipulationResult\n\ 00187 # Result codes for manipulation tasks\n\ 00188 \n\ 00189 # task completed as expected\n\ 00190 # generally means you can proceed as planned\n\ 00191 int32 SUCCESS = 1\n\ 00192 \n\ 00193 # task not possible (e.g. out of reach or obstacles in the way)\n\ 00194 # generally means that the world was not disturbed, so you can try another task\n\ 00195 int32 UNFEASIBLE = -1\n\ 00196 \n\ 00197 # task was thought possible, but failed due to unexpected events during execution\n\ 00198 # it is likely that the world was disturbed, so you are encouraged to refresh\n\ 00199 # your sensed world model before proceeding to another task\n\ 00200 int32 FAILED = -2\n\ 00201 \n\ 00202 # a lower level error prevented task completion (e.g. joint controller not responding)\n\ 00203 # generally requires human attention\n\ 00204 int32 ERROR = -3\n\ 00205 \n\ 00206 # means that at some point during execution we ended up in a state that the collision-aware\n\ 00207 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\ 00208 # probably need a new collision map to move the arm out of the stuck position\n\ 00209 int32 ARM_MOVEMENT_PREVENTED = -4\n\ 00210 \n\ 00211 # specific to grasp actions\n\ 00212 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\ 00213 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\ 00214 int32 LIFT_FAILED = -5\n\ 00215 \n\ 00216 # specific to place actions\n\ 00217 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\ 00218 # it is likely that the collision environment will see collisions between the hand and the object\n\ 00219 int32 RETREAT_FAILED = -6\n\ 00220 \n\ 00221 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\ 00222 int32 CANCELLED = -7\n\ 00223 \n\ 00224 # the actual value of this error code\n\ 00225 int32 value\n\ 00226 \n\ 00227 "; 00228 } 00229 00230 static const char* value(const ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> &) { return value(); } 00231 }; 00232 00233 template<class ContainerAllocator> struct IsFixedSize< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > : public TrueType {}; 00234 } // namespace message_traits 00235 } // namespace ros 00236 00237 namespace ros 00238 { 00239 namespace serialization 00240 { 00241 00242 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > 00243 { 00244 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00245 { 00246 stream.next(m.result); 00247 } 00248 00249 ROS_DECLARE_ALLINONE_SERIALIZER; 00250 }; // struct IMGUIResult_ 00251 } // namespace serialization 00252 } // namespace ros 00253 00254 namespace ros 00255 { 00256 namespace message_operations 00257 { 00258 00259 template<class ContainerAllocator> 00260 struct Printer< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > 00261 { 00262 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> & v) 00263 { 00264 s << indent << "result: "; 00265 s << std::endl; 00266 Printer< ::object_manipulation_msgs::ManipulationResult_<ContainerAllocator> >::stream(s, indent + " ", v.result); 00267 } 00268 }; 00269 00270 00271 } // namespace message_operations 00272 } // namespace ros 00273 00274 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIRESULT_H 00275