$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-turtlebot_arm/doc_stacks/2013-03-02_14-01-21.381977/turtlebot_arm/turtlebot_block_manipulation/msg/PickAndPlaceGoal.msg */ 00002 #ifndef TURTLEBOT_BLOCK_MANIPULATION_MESSAGE_PICKANDPLACEGOAL_H 00003 #define TURTLEBOT_BLOCK_MANIPULATION_MESSAGE_PICKANDPLACEGOAL_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/Pose.h" 00018 #include "geometry_msgs/Pose.h" 00019 00020 namespace turtlebot_block_manipulation 00021 { 00022 template <class ContainerAllocator> 00023 struct PickAndPlaceGoal_ { 00024 typedef PickAndPlaceGoal_<ContainerAllocator> Type; 00025 00026 PickAndPlaceGoal_() 00027 : frame() 00028 , z_up(0.0) 00029 , gripper_open(0.0) 00030 , gripper_closed(0.0) 00031 , pickup_pose() 00032 , place_pose() 00033 , topic() 00034 { 00035 } 00036 00037 PickAndPlaceGoal_(const ContainerAllocator& _alloc) 00038 : frame(_alloc) 00039 , z_up(0.0) 00040 , gripper_open(0.0) 00041 , gripper_closed(0.0) 00042 , pickup_pose(_alloc) 00043 , place_pose(_alloc) 00044 , topic(_alloc) 00045 { 00046 } 00047 00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _frame_type; 00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > frame; 00050 00051 typedef float _z_up_type; 00052 float z_up; 00053 00054 typedef float _gripper_open_type; 00055 float gripper_open; 00056 00057 typedef float _gripper_closed_type; 00058 float gripper_closed; 00059 00060 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pickup_pose_type; 00061 ::geometry_msgs::Pose_<ContainerAllocator> pickup_pose; 00062 00063 typedef ::geometry_msgs::Pose_<ContainerAllocator> _place_pose_type; 00064 ::geometry_msgs::Pose_<ContainerAllocator> place_pose; 00065 00066 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _topic_type; 00067 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > topic; 00068 00069 00070 private: 00071 static const char* __s_getDataType_() { return "turtlebot_block_manipulation/PickAndPlaceGoal"; } 00072 public: 00073 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00074 00075 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00076 00077 private: 00078 static const char* __s_getMD5Sum_() { return "406b9d2b14d3c2ad49cf6e087a7292df"; } 00079 public: 00080 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00081 00082 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00083 00084 private: 00085 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00086 #goal definition\n\ 00087 string frame\n\ 00088 float32 z_up\n\ 00089 float32 gripper_open\n\ 00090 float32 gripper_closed\n\ 00091 geometry_msgs/Pose pickup_pose\n\ 00092 geometry_msgs/Pose place_pose\n\ 00093 string topic\n\ 00094 \n\ 00095 ================================================================================\n\ 00096 MSG: geometry_msgs/Pose\n\ 00097 # A representation of pose in free space, composed of postion and orientation. \n\ 00098 Point position\n\ 00099 Quaternion orientation\n\ 00100 \n\ 00101 ================================================================================\n\ 00102 MSG: geometry_msgs/Point\n\ 00103 # This contains the position of a point in free space\n\ 00104 float64 x\n\ 00105 float64 y\n\ 00106 float64 z\n\ 00107 \n\ 00108 ================================================================================\n\ 00109 MSG: geometry_msgs/Quaternion\n\ 00110 # This represents an orientation in free space in quaternion form.\n\ 00111 \n\ 00112 float64 x\n\ 00113 float64 y\n\ 00114 float64 z\n\ 00115 float64 w\n\ 00116 \n\ 00117 "; } 00118 public: 00119 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00120 00121 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00122 00123 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00124 { 00125 ros::serialization::OStream stream(write_ptr, 1000000000); 00126 ros::serialization::serialize(stream, frame); 00127 ros::serialization::serialize(stream, z_up); 00128 ros::serialization::serialize(stream, gripper_open); 00129 ros::serialization::serialize(stream, gripper_closed); 00130 ros::serialization::serialize(stream, pickup_pose); 00131 ros::serialization::serialize(stream, place_pose); 00132 ros::serialization::serialize(stream, topic); 00133 return stream.getData(); 00134 } 00135 00136 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00137 { 00138 ros::serialization::IStream stream(read_ptr, 1000000000); 00139 ros::serialization::deserialize(stream, frame); 00140 ros::serialization::deserialize(stream, z_up); 00141 ros::serialization::deserialize(stream, gripper_open); 00142 ros::serialization::deserialize(stream, gripper_closed); 00143 ros::serialization::deserialize(stream, pickup_pose); 00144 ros::serialization::deserialize(stream, place_pose); 00145 ros::serialization::deserialize(stream, topic); 00146 return stream.getData(); 00147 } 00148 00149 ROS_DEPRECATED virtual uint32_t serializationLength() const 00150 { 00151 uint32_t size = 0; 00152 size += ros::serialization::serializationLength(frame); 00153 size += ros::serialization::serializationLength(z_up); 00154 size += ros::serialization::serializationLength(gripper_open); 00155 size += ros::serialization::serializationLength(gripper_closed); 00156 size += ros::serialization::serializationLength(pickup_pose); 00157 size += ros::serialization::serializationLength(place_pose); 00158 size += ros::serialization::serializationLength(topic); 00159 return size; 00160 } 00161 00162 typedef boost::shared_ptr< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > Ptr; 00163 typedef boost::shared_ptr< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> const> ConstPtr; 00164 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00165 }; // struct PickAndPlaceGoal 00166 typedef ::turtlebot_block_manipulation::PickAndPlaceGoal_<std::allocator<void> > PickAndPlaceGoal; 00167 00168 typedef boost::shared_ptr< ::turtlebot_block_manipulation::PickAndPlaceGoal> PickAndPlaceGoalPtr; 00169 typedef boost::shared_ptr< ::turtlebot_block_manipulation::PickAndPlaceGoal const> PickAndPlaceGoalConstPtr; 00170 00171 00172 template<typename ContainerAllocator> 00173 std::ostream& operator<<(std::ostream& s, const ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> & v) 00174 { 00175 ros::message_operations::Printer< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> >::stream(s, "", v); 00176 return s;} 00177 00178 } // namespace turtlebot_block_manipulation 00179 00180 namespace ros 00181 { 00182 namespace message_traits 00183 { 00184 template<class ContainerAllocator> struct IsMessage< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > : public TrueType {}; 00185 template<class ContainerAllocator> struct IsMessage< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> const> : public TrueType {}; 00186 template<class ContainerAllocator> 00187 struct MD5Sum< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > { 00188 static const char* value() 00189 { 00190 return "406b9d2b14d3c2ad49cf6e087a7292df"; 00191 } 00192 00193 static const char* value(const ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> &) { return value(); } 00194 static const uint64_t static_value1 = 0x406b9d2b14d3c2adULL; 00195 static const uint64_t static_value2 = 0x49cf6e087a7292dfULL; 00196 }; 00197 00198 template<class ContainerAllocator> 00199 struct DataType< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > { 00200 static const char* value() 00201 { 00202 return "turtlebot_block_manipulation/PickAndPlaceGoal"; 00203 } 00204 00205 static const char* value(const ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> &) { return value(); } 00206 }; 00207 00208 template<class ContainerAllocator> 00209 struct Definition< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > { 00210 static const char* value() 00211 { 00212 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00213 #goal definition\n\ 00214 string frame\n\ 00215 float32 z_up\n\ 00216 float32 gripper_open\n\ 00217 float32 gripper_closed\n\ 00218 geometry_msgs/Pose pickup_pose\n\ 00219 geometry_msgs/Pose place_pose\n\ 00220 string topic\n\ 00221 \n\ 00222 ================================================================================\n\ 00223 MSG: geometry_msgs/Pose\n\ 00224 # A representation of pose in free space, composed of postion and orientation. \n\ 00225 Point position\n\ 00226 Quaternion orientation\n\ 00227 \n\ 00228 ================================================================================\n\ 00229 MSG: geometry_msgs/Point\n\ 00230 # This contains the position of a point in free space\n\ 00231 float64 x\n\ 00232 float64 y\n\ 00233 float64 z\n\ 00234 \n\ 00235 ================================================================================\n\ 00236 MSG: geometry_msgs/Quaternion\n\ 00237 # This represents an orientation in free space in quaternion form.\n\ 00238 \n\ 00239 float64 x\n\ 00240 float64 y\n\ 00241 float64 z\n\ 00242 float64 w\n\ 00243 \n\ 00244 "; 00245 } 00246 00247 static const char* value(const ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> &) { return value(); } 00248 }; 00249 00250 } // namespace message_traits 00251 } // namespace ros 00252 00253 namespace ros 00254 { 00255 namespace serialization 00256 { 00257 00258 template<class ContainerAllocator> struct Serializer< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > 00259 { 00260 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00261 { 00262 stream.next(m.frame); 00263 stream.next(m.z_up); 00264 stream.next(m.gripper_open); 00265 stream.next(m.gripper_closed); 00266 stream.next(m.pickup_pose); 00267 stream.next(m.place_pose); 00268 stream.next(m.topic); 00269 } 00270 00271 ROS_DECLARE_ALLINONE_SERIALIZER; 00272 }; // struct PickAndPlaceGoal_ 00273 } // namespace serialization 00274 } // namespace ros 00275 00276 namespace ros 00277 { 00278 namespace message_operations 00279 { 00280 00281 template<class ContainerAllocator> 00282 struct Printer< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > 00283 { 00284 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> & v) 00285 { 00286 s << indent << "frame: "; 00287 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.frame); 00288 s << indent << "z_up: "; 00289 Printer<float>::stream(s, indent + " ", v.z_up); 00290 s << indent << "gripper_open: "; 00291 Printer<float>::stream(s, indent + " ", v.gripper_open); 00292 s << indent << "gripper_closed: "; 00293 Printer<float>::stream(s, indent + " ", v.gripper_closed); 00294 s << indent << "pickup_pose: "; 00295 s << std::endl; 00296 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pickup_pose); 00297 s << indent << "place_pose: "; 00298 s << std::endl; 00299 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.place_pose); 00300 s << indent << "topic: "; 00301 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.topic); 00302 } 00303 }; 00304 00305 00306 } // namespace message_operations 00307 } // namespace ros 00308 00309 #endif // TURTLEBOT_BLOCK_MANIPULATION_MESSAGE_PICKANDPLACEGOAL_H 00310