Go to the documentation of this file.00001
00002 #ifndef TIDYUP_MSGS_MESSAGE_GRASPOBJECTRESULT_H
00003 #define TIDYUP_MSGS_MESSAGE_GRASPOBJECTRESULT_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 "geometry_msgs/PoseStamped.h"
00018 #include "arm_navigation_msgs/ArmNavigationErrorCodes.h"
00019
00020 namespace tidyup_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct GraspObjectResult_ {
00024 typedef GraspObjectResult_<ContainerAllocator> Type;
00025
00026 GraspObjectResult_()
00027 : grasp()
00028 , error_code()
00029 {
00030 }
00031
00032 GraspObjectResult_(const ContainerAllocator& _alloc)
00033 : grasp(_alloc)
00034 , error_code(_alloc)
00035 {
00036 }
00037
00038 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _grasp_type;
00039 ::geometry_msgs::PoseStamped_<ContainerAllocator> grasp;
00040
00041 typedef ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> _error_code_type;
00042 ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> error_code;
00043
00044
00045 typedef boost::shared_ptr< ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::tidyup_msgs::GraspObjectResult_<std::allocator<void> > GraspObjectResult;
00050
00051 typedef boost::shared_ptr< ::tidyup_msgs::GraspObjectResult> GraspObjectResultPtr;
00052 typedef boost::shared_ptr< ::tidyup_msgs::GraspObjectResult const> GraspObjectResultConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "31092179077a179da9598ff7caa77928";
00074 }
00075
00076 static const char* value(const ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0x31092179077a179dULL;
00078 static const uint64_t static_value2 = 0xa9598ff7caa77928ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "tidyup_msgs/GraspObjectResult";
00086 }
00087
00088 static const char* value(const ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00096 # the new pose of the object\n\
00097 geometry_msgs/PoseStamped grasp\n\
00098 arm_navigation_msgs/ArmNavigationErrorCodes error_code\n\
00099 \n\
00100 ================================================================================\n\
00101 MSG: geometry_msgs/PoseStamped\n\
00102 # A Pose with reference coordinate frame and timestamp\n\
00103 Header header\n\
00104 Pose pose\n\
00105 \n\
00106 ================================================================================\n\
00107 MSG: std_msgs/Header\n\
00108 # Standard metadata for higher-level stamped data types.\n\
00109 # This is generally used to communicate timestamped data \n\
00110 # in a particular coordinate frame.\n\
00111 # \n\
00112 # sequence ID: consecutively increasing ID \n\
00113 uint32 seq\n\
00114 #Two-integer timestamp that is expressed as:\n\
00115 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00116 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00117 # time-handling sugar is provided by the client library\n\
00118 time stamp\n\
00119 #Frame this data is associated with\n\
00120 # 0: no frame\n\
00121 # 1: global frame\n\
00122 string frame_id\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: geometry_msgs/Pose\n\
00126 # A representation of pose in free space, composed of postion and orientation. \n\
00127 Point position\n\
00128 Quaternion orientation\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: geometry_msgs/Point\n\
00132 # This contains the position of a point in free space\n\
00133 float64 x\n\
00134 float64 y\n\
00135 float64 z\n\
00136 \n\
00137 ================================================================================\n\
00138 MSG: geometry_msgs/Quaternion\n\
00139 # This represents an orientation in free space in quaternion form.\n\
00140 \n\
00141 float64 x\n\
00142 float64 y\n\
00143 float64 z\n\
00144 float64 w\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: arm_navigation_msgs/ArmNavigationErrorCodes\n\
00148 int32 val\n\
00149 \n\
00150 # overall behavior\n\
00151 int32 PLANNING_FAILED=-1\n\
00152 int32 SUCCESS=1\n\
00153 int32 TIMED_OUT=-2\n\
00154 \n\
00155 # start state errors\n\
00156 int32 START_STATE_IN_COLLISION=-3\n\
00157 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\
00158 \n\
00159 # goal errors\n\
00160 int32 GOAL_IN_COLLISION=-5\n\
00161 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\
00162 \n\
00163 # robot state\n\
00164 int32 INVALID_ROBOT_STATE=-7\n\
00165 int32 INCOMPLETE_ROBOT_STATE=-8\n\
00166 \n\
00167 # planning request errors\n\
00168 int32 INVALID_PLANNER_ID=-9\n\
00169 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\
00170 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\
00171 int32 INVALID_GROUP_NAME=-12\n\
00172 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\
00173 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\
00174 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\
00175 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\
00176 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\
00177 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\
00178 \n\
00179 # state/trajectory monitor errors\n\
00180 int32 INVALID_TRAJECTORY=-19\n\
00181 int32 INVALID_INDEX=-20\n\
00182 int32 JOINT_LIMITS_VIOLATED=-21\n\
00183 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\
00184 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\
00185 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\
00186 int32 JOINTS_NOT_MOVING=-25\n\
00187 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\
00188 \n\
00189 # system errors\n\
00190 int32 FRAME_TRANSFORM_FAILURE=-27\n\
00191 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\
00192 int32 ROBOT_STATE_STALE=-29\n\
00193 int32 SENSOR_INFO_STALE=-30\n\
00194 \n\
00195 # kinematics errors\n\
00196 int32 NO_IK_SOLUTION=-31\n\
00197 int32 INVALID_LINK_NAME=-32\n\
00198 int32 IK_LINK_IN_COLLISION=-33\n\
00199 int32 NO_FK_SOLUTION=-34\n\
00200 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\
00201 \n\
00202 # general errors\n\
00203 int32 INVALID_TIMEOUT=-36\n\
00204 \n\
00205 \n\
00206 ";
00207 }
00208
00209 static const char* value(const ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> &) { return value(); }
00210 };
00211
00212 }
00213 }
00214
00215 namespace ros
00216 {
00217 namespace serialization
00218 {
00219
00220 template<class ContainerAllocator> struct Serializer< ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> >
00221 {
00222 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00223 {
00224 stream.next(m.grasp);
00225 stream.next(m.error_code);
00226 }
00227
00228 ROS_DECLARE_ALLINONE_SERIALIZER;
00229 };
00230 }
00231 }
00232
00233 namespace ros
00234 {
00235 namespace message_operations
00236 {
00237
00238 template<class ContainerAllocator>
00239 struct Printer< ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> >
00240 {
00241 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tidyup_msgs::GraspObjectResult_<ContainerAllocator> & v)
00242 {
00243 s << indent << "grasp: ";
00244 s << std::endl;
00245 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.grasp);
00246 s << indent << "error_code: ";
00247 s << std::endl;
00248 Printer< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> >::stream(s, indent + " ", v.error_code);
00249 }
00250 };
00251
00252
00253 }
00254 }
00255
00256 #endif // TIDYUP_MSGS_MESSAGE_GRASPOBJECTRESULT_H
00257