ArmNavigationErrorCodes.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-arm_navigation/doc_stacks/2013-12-02_12-23-34.850326/arm_navigation/arm_navigation_msgs/msg/ArmNavigationErrorCodes.msg */
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_ARMNAVIGATIONERRORCODES_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_ARMNAVIGATIONERRORCODES_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 
00018 namespace arm_navigation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ArmNavigationErrorCodes_ {
00022   typedef ArmNavigationErrorCodes_<ContainerAllocator> Type;
00023 
00024   ArmNavigationErrorCodes_()
00025   : val(0)
00026   {
00027   }
00028 
00029   ArmNavigationErrorCodes_(const ContainerAllocator& _alloc)
00030   : val(0)
00031   {
00032   }
00033 
00034   typedef int32_t _val_type;
00035   int32_t val;
00036 
00037   enum { PLANNING_FAILED = -1 };
00038   enum { SUCCESS = 1 };
00039   enum { TIMED_OUT = -2 };
00040   enum { START_STATE_IN_COLLISION = -3 };
00041   enum { START_STATE_VIOLATES_PATH_CONSTRAINTS = -4 };
00042   enum { GOAL_IN_COLLISION = -5 };
00043   enum { GOAL_VIOLATES_PATH_CONSTRAINTS = -6 };
00044   enum { INVALID_ROBOT_STATE = -7 };
00045   enum { INCOMPLETE_ROBOT_STATE = -8 };
00046   enum { INVALID_PLANNER_ID = -9 };
00047   enum { INVALID_NUM_PLANNING_ATTEMPTS = -10 };
00048   enum { INVALID_ALLOWED_PLANNING_TIME = -11 };
00049   enum { INVALID_GROUP_NAME = -12 };
00050   enum { INVALID_GOAL_JOINT_CONSTRAINTS = -13 };
00051   enum { INVALID_GOAL_POSITION_CONSTRAINTS = -14 };
00052   enum { INVALID_GOAL_ORIENTATION_CONSTRAINTS = -15 };
00053   enum { INVALID_PATH_JOINT_CONSTRAINTS = -16 };
00054   enum { INVALID_PATH_POSITION_CONSTRAINTS = -17 };
00055   enum { INVALID_PATH_ORIENTATION_CONSTRAINTS = -18 };
00056   enum { INVALID_TRAJECTORY = -19 };
00057   enum { INVALID_INDEX = -20 };
00058   enum { JOINT_LIMITS_VIOLATED = -21 };
00059   enum { PATH_CONSTRAINTS_VIOLATED = -22 };
00060   enum { COLLISION_CONSTRAINTS_VIOLATED = -23 };
00061   enum { GOAL_CONSTRAINTS_VIOLATED = -24 };
00062   enum { JOINTS_NOT_MOVING = -25 };
00063   enum { TRAJECTORY_CONTROLLER_FAILED = -26 };
00064   enum { FRAME_TRANSFORM_FAILURE = -27 };
00065   enum { COLLISION_CHECKING_UNAVAILABLE = -28 };
00066   enum { ROBOT_STATE_STALE = -29 };
00067   enum { SENSOR_INFO_STALE = -30 };
00068   enum { NO_IK_SOLUTION = -31 };
00069   enum { INVALID_LINK_NAME = -32 };
00070   enum { IK_LINK_IN_COLLISION = -33 };
00071   enum { NO_FK_SOLUTION = -34 };
00072   enum { KINEMATICS_STATE_IN_COLLISION = -35 };
00073   enum { INVALID_TIMEOUT = -36 };
00074 
00075   typedef boost::shared_ptr< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > Ptr;
00076   typedef boost::shared_ptr< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator>  const> ConstPtr;
00077   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00078 }; // struct ArmNavigationErrorCodes
00079 typedef  ::arm_navigation_msgs::ArmNavigationErrorCodes_<std::allocator<void> > ArmNavigationErrorCodes;
00080 
00081 typedef boost::shared_ptr< ::arm_navigation_msgs::ArmNavigationErrorCodes> ArmNavigationErrorCodesPtr;
00082 typedef boost::shared_ptr< ::arm_navigation_msgs::ArmNavigationErrorCodes const> ArmNavigationErrorCodesConstPtr;
00083 
00084 
00085 template<typename ContainerAllocator>
00086 std::ostream& operator<<(std::ostream& s, const  ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> & v)
00087 {
00088   ros::message_operations::Printer< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> >::stream(s, "", v);
00089   return s;}
00090 
00091 } // namespace arm_navigation_msgs
00092 
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator>  const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "5acf26755415e1ec18a6d523028f204d";
00104   }
00105 
00106   static const char* value(const  ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> &) { return value(); } 
00107   static const uint64_t static_value1 = 0x5acf26755415e1ecULL;
00108   static const uint64_t static_value2 = 0x18a6d523028f204dULL;
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct DataType< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "arm_navigation_msgs/ArmNavigationErrorCodes";
00116   }
00117 
00118   static const char* value(const  ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct Definition< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "int32 val\n\
00126 \n\
00127 # overall behavior\n\
00128 int32 PLANNING_FAILED=-1\n\
00129 int32 SUCCESS=1\n\
00130 int32 TIMED_OUT=-2\n\
00131 \n\
00132 # start state errors\n\
00133 int32 START_STATE_IN_COLLISION=-3\n\
00134 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\
00135 \n\
00136 # goal errors\n\
00137 int32 GOAL_IN_COLLISION=-5\n\
00138 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\
00139 \n\
00140 # robot state\n\
00141 int32 INVALID_ROBOT_STATE=-7\n\
00142 int32 INCOMPLETE_ROBOT_STATE=-8\n\
00143 \n\
00144 # planning request errors\n\
00145 int32 INVALID_PLANNER_ID=-9\n\
00146 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\
00147 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\
00148 int32 INVALID_GROUP_NAME=-12\n\
00149 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\
00150 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\
00151 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\
00152 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\
00153 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\
00154 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\
00155 \n\
00156 # state/trajectory monitor errors\n\
00157 int32 INVALID_TRAJECTORY=-19\n\
00158 int32 INVALID_INDEX=-20\n\
00159 int32 JOINT_LIMITS_VIOLATED=-21\n\
00160 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\
00161 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\
00162 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\
00163 int32 JOINTS_NOT_MOVING=-25\n\
00164 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\
00165 \n\
00166 # system errors\n\
00167 int32 FRAME_TRANSFORM_FAILURE=-27\n\
00168 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\
00169 int32 ROBOT_STATE_STALE=-29\n\
00170 int32 SENSOR_INFO_STALE=-30\n\
00171 \n\
00172 # kinematics errors\n\
00173 int32 NO_IK_SOLUTION=-31\n\
00174 int32 INVALID_LINK_NAME=-32\n\
00175 int32 IK_LINK_IN_COLLISION=-33\n\
00176 int32 NO_FK_SOLUTION=-34\n\
00177 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\
00178 \n\
00179 # general errors\n\
00180 int32 INVALID_TIMEOUT=-36\n\
00181 \n\
00182 \n\
00183 ";
00184   }
00185 
00186   static const char* value(const  ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> &) { return value(); } 
00187 };
00188 
00189 template<class ContainerAllocator> struct IsFixedSize< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > : public TrueType {};
00190 } // namespace message_traits
00191 } // namespace ros
00192 
00193 namespace ros
00194 {
00195 namespace serialization
00196 {
00197 
00198 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> >
00199 {
00200   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00201   {
00202     stream.next(m.val);
00203   }
00204 
00205   ROS_DECLARE_ALLINONE_SERIALIZER;
00206 }; // struct ArmNavigationErrorCodes_
00207 } // namespace serialization
00208 } // namespace ros
00209 
00210 namespace ros
00211 {
00212 namespace message_operations
00213 {
00214 
00215 template<class ContainerAllocator>
00216 struct Printer< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> >
00217 {
00218   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> & v) 
00219   {
00220     s << indent << "val: ";
00221     Printer<int32_t>::stream(s, indent + "  ", v.val);
00222   }
00223 };
00224 
00225 
00226 } // namespace message_operations
00227 } // namespace ros
00228 
00229 #endif // ARM_NAVIGATION_MSGS_MESSAGE_ARMNAVIGATIONERRORCODES_H
00230 


arm_navigation_msgs
Author(s): Gil Jones
autogenerated on Mon Dec 2 2013 12:31:50