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


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