ReactiveLiftResult.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-object_manipulation/doc_stacks/2014-10-06_02-51-20.607186/object_manipulation/object_manipulation_msgs/msg/ReactiveLiftResult.msg */
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVELIFTRESULT_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVELIFTRESULT_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 object_manipulation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ReactiveLiftResult_ {
00023   typedef ReactiveLiftResult_<ContainerAllocator> Type;
00024 
00025   ReactiveLiftResult_()
00026   : manipulation_result()
00027   {
00028   }
00029 
00030   ReactiveLiftResult_(const ContainerAllocator& _alloc)
00031   : manipulation_result(_alloc)
00032   {
00033   }
00034 
00035   typedef  ::object_manipulation_msgs::ManipulationResult_<ContainerAllocator>  _manipulation_result_type;
00036    ::object_manipulation_msgs::ManipulationResult_<ContainerAllocator>  manipulation_result;
00037 
00038 
00039   typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct ReactiveLiftResult
00043 typedef  ::object_manipulation_msgs::ReactiveLiftResult_<std::allocator<void> > ReactiveLiftResult;
00044 
00045 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftResult> ReactiveLiftResultPtr;
00046 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftResult const> ReactiveLiftResultConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace object_manipulation_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "659cc9c343e1df3a6e418ad380f5e7c4";
00068   }
00069 
00070   static const char* value(const  ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x659cc9c343e1df3aULL;
00072   static const uint64_t static_value2 = 0x6e418ad380f5e7c4ULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "object_manipulation_msgs/ReactiveLiftResult";
00080   }
00081 
00082   static const char* value(const  ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 \n\
00091 # The result of the lift attempt\n\
00092 ManipulationResult manipulation_result\n\
00093 \n\
00094 \n\
00095 ================================================================================\n\
00096 MSG: object_manipulation_msgs/ManipulationResult\n\
00097 # Result codes for manipulation tasks\n\
00098 \n\
00099 # task completed as expected\n\
00100 # generally means you can proceed as planned\n\
00101 int32 SUCCESS = 1\n\
00102 \n\
00103 # task not possible (e.g. out of reach or obstacles in the way)\n\
00104 # generally means that the world was not disturbed, so you can try another task\n\
00105 int32 UNFEASIBLE = -1\n\
00106 \n\
00107 # task was thought possible, but failed due to unexpected events during execution\n\
00108 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00109 # your sensed world model before proceeding to another task\n\
00110 int32 FAILED = -2\n\
00111 \n\
00112 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00113 # generally requires human attention\n\
00114 int32 ERROR = -3\n\
00115 \n\
00116 # means that at some point during execution we ended up in a state that the collision-aware\n\
00117 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00118 # probably need a new collision map to move the arm out of the stuck position\n\
00119 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00120 \n\
00121 # specific to grasp actions\n\
00122 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00123 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00124 int32 LIFT_FAILED = -5\n\
00125 \n\
00126 # specific to place actions\n\
00127 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00128 # it is likely that the collision environment will see collisions between the hand and the object\n\
00129 int32 RETREAT_FAILED = -6\n\
00130 \n\
00131 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00132 int32 CANCELLED = -7\n\
00133 \n\
00134 # the actual value of this error code\n\
00135 int32 value\n\
00136 \n\
00137 ";
00138   }
00139 
00140   static const char* value(const  ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> &) { return value(); } 
00141 };
00142 
00143 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> > : public TrueType {};
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151 
00152 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> >
00153 {
00154   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155   {
00156     stream.next(m.manipulation_result);
00157   }
00158 
00159   ROS_DECLARE_ALLINONE_SERIALIZER;
00160 }; // struct ReactiveLiftResult_
00161 } // namespace serialization
00162 } // namespace ros
00163 
00164 namespace ros
00165 {
00166 namespace message_operations
00167 {
00168 
00169 template<class ContainerAllocator>
00170 struct Printer< ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> >
00171 {
00172   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::object_manipulation_msgs::ReactiveLiftResult_<ContainerAllocator> & v) 
00173   {
00174     s << indent << "manipulation_result: ";
00175 s << std::endl;
00176     Printer< ::object_manipulation_msgs::ManipulationResult_<ContainerAllocator> >::stream(s, indent + "  ", v.manipulation_result);
00177   }
00178 };
00179 
00180 
00181 } // namespace message_operations
00182 } // namespace ros
00183 
00184 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVELIFTRESULT_H
00185 


object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Mon Oct 6 2014 02:58:12