$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-arm_navigation/doc_stacks/2013-03-01_14-05-03.553953/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 private: 00076 static const char* __s_getDataType_() { return "arm_navigation_msgs/ArmNavigationErrorCodes"; } 00077 public: 00078 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00079 00080 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00081 00082 private: 00083 static const char* __s_getMD5Sum_() { return "5acf26755415e1ec18a6d523028f204d"; } 00084 public: 00085 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00086 00087 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00088 00089 private: 00090 static const char* __s_getMessageDefinition_() { return "int32 val\n\ 00091 \n\ 00092 # overall behavior\n\ 00093 int32 PLANNING_FAILED=-1\n\ 00094 int32 SUCCESS=1\n\ 00095 int32 TIMED_OUT=-2\n\ 00096 \n\ 00097 # start state errors\n\ 00098 int32 START_STATE_IN_COLLISION=-3\n\ 00099 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\ 00100 \n\ 00101 # goal errors\n\ 00102 int32 GOAL_IN_COLLISION=-5\n\ 00103 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\ 00104 \n\ 00105 # robot state\n\ 00106 int32 INVALID_ROBOT_STATE=-7\n\ 00107 int32 INCOMPLETE_ROBOT_STATE=-8\n\ 00108 \n\ 00109 # planning request errors\n\ 00110 int32 INVALID_PLANNER_ID=-9\n\ 00111 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\ 00112 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\ 00113 int32 INVALID_GROUP_NAME=-12\n\ 00114 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\ 00115 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\ 00116 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\ 00117 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\ 00118 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\ 00119 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\ 00120 \n\ 00121 # state/trajectory monitor errors\n\ 00122 int32 INVALID_TRAJECTORY=-19\n\ 00123 int32 INVALID_INDEX=-20\n\ 00124 int32 JOINT_LIMITS_VIOLATED=-21\n\ 00125 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\ 00126 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\ 00127 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\ 00128 int32 JOINTS_NOT_MOVING=-25\n\ 00129 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\ 00130 \n\ 00131 # system errors\n\ 00132 int32 FRAME_TRANSFORM_FAILURE=-27\n\ 00133 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\ 00134 int32 ROBOT_STATE_STALE=-29\n\ 00135 int32 SENSOR_INFO_STALE=-30\n\ 00136 \n\ 00137 # kinematics errors\n\ 00138 int32 NO_IK_SOLUTION=-31\n\ 00139 int32 INVALID_LINK_NAME=-32\n\ 00140 int32 IK_LINK_IN_COLLISION=-33\n\ 00141 int32 NO_FK_SOLUTION=-34\n\ 00142 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\ 00143 \n\ 00144 # general errors\n\ 00145 int32 INVALID_TIMEOUT=-36\n\ 00146 \n\ 00147 \n\ 00148 "; } 00149 public: 00150 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00151 00152 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00153 00154 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00155 { 00156 ros::serialization::OStream stream(write_ptr, 1000000000); 00157 ros::serialization::serialize(stream, val); 00158 return stream.getData(); 00159 } 00160 00161 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00162 { 00163 ros::serialization::IStream stream(read_ptr, 1000000000); 00164 ros::serialization::deserialize(stream, val); 00165 return stream.getData(); 00166 } 00167 00168 ROS_DEPRECATED virtual uint32_t serializationLength() const 00169 { 00170 uint32_t size = 0; 00171 size += ros::serialization::serializationLength(val); 00172 return size; 00173 } 00174 00175 typedef boost::shared_ptr< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > Ptr; 00176 typedef boost::shared_ptr< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> const> ConstPtr; 00177 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00178 }; // struct ArmNavigationErrorCodes 00179 typedef ::arm_navigation_msgs::ArmNavigationErrorCodes_<std::allocator<void> > ArmNavigationErrorCodes; 00180 00181 typedef boost::shared_ptr< ::arm_navigation_msgs::ArmNavigationErrorCodes> ArmNavigationErrorCodesPtr; 00182 typedef boost::shared_ptr< ::arm_navigation_msgs::ArmNavigationErrorCodes const> ArmNavigationErrorCodesConstPtr; 00183 00184 00185 template<typename ContainerAllocator> 00186 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> & v) 00187 { 00188 ros::message_operations::Printer< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> >::stream(s, "", v); 00189 return s;} 00190 00191 } // namespace arm_navigation_msgs 00192 00193 namespace ros 00194 { 00195 namespace message_traits 00196 { 00197 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > : public TrueType {}; 00198 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> const> : public TrueType {}; 00199 template<class ContainerAllocator> 00200 struct MD5Sum< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > { 00201 static const char* value() 00202 { 00203 return "5acf26755415e1ec18a6d523028f204d"; 00204 } 00205 00206 static const char* value(const ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> &) { return value(); } 00207 static const uint64_t static_value1 = 0x5acf26755415e1ecULL; 00208 static const uint64_t static_value2 = 0x18a6d523028f204dULL; 00209 }; 00210 00211 template<class ContainerAllocator> 00212 struct DataType< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > { 00213 static const char* value() 00214 { 00215 return "arm_navigation_msgs/ArmNavigationErrorCodes"; 00216 } 00217 00218 static const char* value(const ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> &) { return value(); } 00219 }; 00220 00221 template<class ContainerAllocator> 00222 struct Definition< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > { 00223 static const char* value() 00224 { 00225 return "int32 val\n\ 00226 \n\ 00227 # overall behavior\n\ 00228 int32 PLANNING_FAILED=-1\n\ 00229 int32 SUCCESS=1\n\ 00230 int32 TIMED_OUT=-2\n\ 00231 \n\ 00232 # start state errors\n\ 00233 int32 START_STATE_IN_COLLISION=-3\n\ 00234 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\ 00235 \n\ 00236 # goal errors\n\ 00237 int32 GOAL_IN_COLLISION=-5\n\ 00238 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\ 00239 \n\ 00240 # robot state\n\ 00241 int32 INVALID_ROBOT_STATE=-7\n\ 00242 int32 INCOMPLETE_ROBOT_STATE=-8\n\ 00243 \n\ 00244 # planning request errors\n\ 00245 int32 INVALID_PLANNER_ID=-9\n\ 00246 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\ 00247 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\ 00248 int32 INVALID_GROUP_NAME=-12\n\ 00249 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\ 00250 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\ 00251 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\ 00252 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\ 00253 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\ 00254 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\ 00255 \n\ 00256 # state/trajectory monitor errors\n\ 00257 int32 INVALID_TRAJECTORY=-19\n\ 00258 int32 INVALID_INDEX=-20\n\ 00259 int32 JOINT_LIMITS_VIOLATED=-21\n\ 00260 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\ 00261 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\ 00262 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\ 00263 int32 JOINTS_NOT_MOVING=-25\n\ 00264 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\ 00265 \n\ 00266 # system errors\n\ 00267 int32 FRAME_TRANSFORM_FAILURE=-27\n\ 00268 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\ 00269 int32 ROBOT_STATE_STALE=-29\n\ 00270 int32 SENSOR_INFO_STALE=-30\n\ 00271 \n\ 00272 # kinematics errors\n\ 00273 int32 NO_IK_SOLUTION=-31\n\ 00274 int32 INVALID_LINK_NAME=-32\n\ 00275 int32 IK_LINK_IN_COLLISION=-33\n\ 00276 int32 NO_FK_SOLUTION=-34\n\ 00277 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\ 00278 \n\ 00279 # general errors\n\ 00280 int32 INVALID_TIMEOUT=-36\n\ 00281 \n\ 00282 \n\ 00283 "; 00284 } 00285 00286 static const char* value(const ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> &) { return value(); } 00287 }; 00288 00289 template<class ContainerAllocator> struct IsFixedSize< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > : public TrueType {}; 00290 } // namespace message_traits 00291 } // namespace ros 00292 00293 namespace ros 00294 { 00295 namespace serialization 00296 { 00297 00298 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > 00299 { 00300 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00301 { 00302 stream.next(m.val); 00303 } 00304 00305 ROS_DECLARE_ALLINONE_SERIALIZER; 00306 }; // struct ArmNavigationErrorCodes_ 00307 } // namespace serialization 00308 } // namespace ros 00309 00310 namespace ros 00311 { 00312 namespace message_operations 00313 { 00314 00315 template<class ContainerAllocator> 00316 struct Printer< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> > 00317 { 00318 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> & v) 00319 { 00320 s << indent << "val: "; 00321 Printer<int32_t>::stream(s, indent + " ", v.val); 00322 } 00323 }; 00324 00325 00326 } // namespace message_operations 00327 } // namespace ros 00328 00329 #endif // ARM_NAVIGATION_MSGS_MESSAGE_ARMNAVIGATIONERRORCODES_H 00330