MoveArmResult.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-arm_navigation/doc_stacks/2013-12-12_11-02-12.519893/arm_navigation/arm_navigation_msgs/msg/MoveArmResult.msg */
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_MOVEARMRESULT_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_MOVEARMRESULT_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 "arm_navigation_msgs/ArmNavigationErrorCodes.h"
00018 #include "arm_navigation_msgs/ContactInformation.h"
00019 
00020 namespace arm_navigation_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct MoveArmResult_ {
00024   typedef MoveArmResult_<ContainerAllocator> Type;
00025 
00026   MoveArmResult_()
00027   : error_code()
00028   , contacts()
00029   {
00030   }
00031 
00032   MoveArmResult_(const ContainerAllocator& _alloc)
00033   : error_code(_alloc)
00034   , contacts(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator>  _error_code_type;
00039    ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator>  error_code;
00040 
00041   typedef std::vector< ::arm_navigation_msgs::ContactInformation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::ContactInformation_<ContainerAllocator> >::other >  _contacts_type;
00042   std::vector< ::arm_navigation_msgs::ContactInformation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::ContactInformation_<ContainerAllocator> >::other >  contacts;
00043 
00044 
00045   typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct MoveArmResult
00049 typedef  ::arm_navigation_msgs::MoveArmResult_<std::allocator<void> > MoveArmResult;
00050 
00051 typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmResult> MoveArmResultPtr;
00052 typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmResult const> MoveArmResultConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace arm_navigation_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "3229301226a0605e3ffc9dfdaeac662f";
00074   }
00075 
00076   static const char* value(const  ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x3229301226a0605eULL;
00078   static const uint64_t static_value2 = 0x3ffc9dfdaeac662fULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "arm_navigation_msgs/MoveArmResult";
00086   }
00087 
00088   static const char* value(const  ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00096 # An error code reflecting what went wrong\n\
00097 ArmNavigationErrorCodes error_code\n\
00098 \n\
00099 ContactInformation[] contacts\n\
00100 \n\
00101 ================================================================================\n\
00102 MSG: arm_navigation_msgs/ArmNavigationErrorCodes\n\
00103 int32 val\n\
00104 \n\
00105 # overall behavior\n\
00106 int32 PLANNING_FAILED=-1\n\
00107 int32 SUCCESS=1\n\
00108 int32 TIMED_OUT=-2\n\
00109 \n\
00110 # start state errors\n\
00111 int32 START_STATE_IN_COLLISION=-3\n\
00112 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\
00113 \n\
00114 # goal errors\n\
00115 int32 GOAL_IN_COLLISION=-5\n\
00116 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\
00117 \n\
00118 # robot state\n\
00119 int32 INVALID_ROBOT_STATE=-7\n\
00120 int32 INCOMPLETE_ROBOT_STATE=-8\n\
00121 \n\
00122 # planning request errors\n\
00123 int32 INVALID_PLANNER_ID=-9\n\
00124 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\
00125 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\
00126 int32 INVALID_GROUP_NAME=-12\n\
00127 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\
00128 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\
00129 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\
00130 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\
00131 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\
00132 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\
00133 \n\
00134 # state/trajectory monitor errors\n\
00135 int32 INVALID_TRAJECTORY=-19\n\
00136 int32 INVALID_INDEX=-20\n\
00137 int32 JOINT_LIMITS_VIOLATED=-21\n\
00138 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\
00139 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\
00140 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\
00141 int32 JOINTS_NOT_MOVING=-25\n\
00142 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\
00143 \n\
00144 # system errors\n\
00145 int32 FRAME_TRANSFORM_FAILURE=-27\n\
00146 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\
00147 int32 ROBOT_STATE_STALE=-29\n\
00148 int32 SENSOR_INFO_STALE=-30\n\
00149 \n\
00150 # kinematics errors\n\
00151 int32 NO_IK_SOLUTION=-31\n\
00152 int32 INVALID_LINK_NAME=-32\n\
00153 int32 IK_LINK_IN_COLLISION=-33\n\
00154 int32 NO_FK_SOLUTION=-34\n\
00155 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\
00156 \n\
00157 # general errors\n\
00158 int32 INVALID_TIMEOUT=-36\n\
00159 \n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: arm_navigation_msgs/ContactInformation\n\
00163 # Standard ROS header contains information \n\
00164 # about the frame in which this \n\
00165 # contact is specified\n\
00166 Header header\n\
00167 \n\
00168 # Position of the contact point\n\
00169 geometry_msgs/Point position\n\
00170 \n\
00171 # Normal corresponding to the contact point\n\
00172 geometry_msgs/Vector3 normal \n\
00173 \n\
00174 # Depth of contact point\n\
00175 float64 depth\n\
00176 \n\
00177 # Name of the first body that is in contact\n\
00178 # This could be a link or a namespace that represents a body\n\
00179 string contact_body_1\n\
00180 string attached_body_1\n\
00181 uint32 body_type_1\n\
00182 \n\
00183 # Name of the second body that is in contact\n\
00184 # This could be a link or a namespace that represents a body\n\
00185 string contact_body_2\n\
00186 string attached_body_2\n\
00187 uint32 body_type_2\n\
00188 \n\
00189 uint32 ROBOT_LINK=0\n\
00190 uint32 OBJECT=1\n\
00191 uint32 ATTACHED_BODY=2\n\
00192 ================================================================================\n\
00193 MSG: std_msgs/Header\n\
00194 # Standard metadata for higher-level stamped data types.\n\
00195 # This is generally used to communicate timestamped data \n\
00196 # in a particular coordinate frame.\n\
00197 # \n\
00198 # sequence ID: consecutively increasing ID \n\
00199 uint32 seq\n\
00200 #Two-integer timestamp that is expressed as:\n\
00201 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00202 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00203 # time-handling sugar is provided by the client library\n\
00204 time stamp\n\
00205 #Frame this data is associated with\n\
00206 # 0: no frame\n\
00207 # 1: global frame\n\
00208 string frame_id\n\
00209 \n\
00210 ================================================================================\n\
00211 MSG: geometry_msgs/Point\n\
00212 # This contains the position of a point in free space\n\
00213 float64 x\n\
00214 float64 y\n\
00215 float64 z\n\
00216 \n\
00217 ================================================================================\n\
00218 MSG: geometry_msgs/Vector3\n\
00219 # This represents a vector in free space. \n\
00220 \n\
00221 float64 x\n\
00222 float64 y\n\
00223 float64 z\n\
00224 ";
00225   }
00226 
00227   static const char* value(const  ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> &) { return value(); } 
00228 };
00229 
00230 } // namespace message_traits
00231 } // namespace ros
00232 
00233 namespace ros
00234 {
00235 namespace serialization
00236 {
00237 
00238 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> >
00239 {
00240   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00241   {
00242     stream.next(m.error_code);
00243     stream.next(m.contacts);
00244   }
00245 
00246   ROS_DECLARE_ALLINONE_SERIALIZER;
00247 }; // struct MoveArmResult_
00248 } // namespace serialization
00249 } // namespace ros
00250 
00251 namespace ros
00252 {
00253 namespace message_operations
00254 {
00255 
00256 template<class ContainerAllocator>
00257 struct Printer< ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> >
00258 {
00259   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::arm_navigation_msgs::MoveArmResult_<ContainerAllocator> & v) 
00260   {
00261     s << indent << "error_code: ";
00262 s << std::endl;
00263     Printer< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> >::stream(s, indent + "  ", v.error_code);
00264     s << indent << "contacts[]" << std::endl;
00265     for (size_t i = 0; i < v.contacts.size(); ++i)
00266     {
00267       s << indent << "  contacts[" << i << "]: ";
00268       s << std::endl;
00269       s << indent;
00270       Printer< ::arm_navigation_msgs::ContactInformation_<ContainerAllocator> >::stream(s, indent + "    ", v.contacts[i]);
00271     }
00272   }
00273 };
00274 
00275 
00276 } // namespace message_operations
00277 } // namespace ros
00278 
00279 #endif // ARM_NAVIGATION_MSGS_MESSAGE_MOVEARMRESULT_H
00280 


arm_navigation_msgs
Author(s): Gil Jones
autogenerated on Thu Dec 12 2013 11:08:10