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