$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-tum-ros-pkg/doc_stacks/2012-12-03_20-44-47.528296/tum-ros-pkg/highlevel/find_base_pose/msg/FindBasePoseGoal.msg */ 00002 #ifndef FIND_BASE_POSE_MESSAGE_FINDBASEPOSEGOAL_H 00003 #define FIND_BASE_POSE_MESSAGE_FINDBASEPOSEGOAL_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 "std_msgs/Int32.h" 00019 00020 namespace find_base_pose 00021 { 00022 template <class ContainerAllocator> 00023 struct FindBasePoseGoal_ { 00024 typedef FindBasePoseGoal_<ContainerAllocator> Type; 00025 00026 FindBasePoseGoal_() 00027 : target_poses() 00028 , arm() 00029 { 00030 } 00031 00032 FindBasePoseGoal_(const ContainerAllocator& _alloc) 00033 : target_poses(_alloc) 00034 , arm(_alloc) 00035 { 00036 } 00037 00038 typedef std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > _target_poses_type; 00039 std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > target_poses; 00040 00041 typedef std::vector< ::std_msgs::Int32_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::Int32_<ContainerAllocator> >::other > _arm_type; 00042 std::vector< ::std_msgs::Int32_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::Int32_<ContainerAllocator> >::other > arm; 00043 00044 00045 ROS_DEPRECATED uint32_t get_target_poses_size() const { return (uint32_t)target_poses.size(); } 00046 ROS_DEPRECATED void set_target_poses_size(uint32_t size) { target_poses.resize((size_t)size); } 00047 ROS_DEPRECATED void get_target_poses_vec(std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > & vec) const { vec = this->target_poses; } 00048 ROS_DEPRECATED void set_target_poses_vec(const std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > & vec) { this->target_poses = vec; } 00049 ROS_DEPRECATED uint32_t get_arm_size() const { return (uint32_t)arm.size(); } 00050 ROS_DEPRECATED void set_arm_size(uint32_t size) { arm.resize((size_t)size); } 00051 ROS_DEPRECATED void get_arm_vec(std::vector< ::std_msgs::Int32_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::Int32_<ContainerAllocator> >::other > & vec) const { vec = this->arm; } 00052 ROS_DEPRECATED void set_arm_vec(const std::vector< ::std_msgs::Int32_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::Int32_<ContainerAllocator> >::other > & vec) { this->arm = vec; } 00053 private: 00054 static const char* __s_getDataType_() { return "find_base_pose/FindBasePoseGoal"; } 00055 public: 00056 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00057 00058 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00059 00060 private: 00061 static const char* __s_getMD5Sum_() { return "071ddad28d0a6d94f2f9e8004067e39f"; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00064 00065 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00066 00067 private: 00068 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00069 geometry_msgs/PoseStamped[] target_poses\n\ 00070 std_msgs/Int32[] arm\n\ 00071 \n\ 00072 ================================================================================\n\ 00073 MSG: geometry_msgs/PoseStamped\n\ 00074 # A Pose with reference coordinate frame and timestamp\n\ 00075 Header header\n\ 00076 Pose pose\n\ 00077 \n\ 00078 ================================================================================\n\ 00079 MSG: std_msgs/Header\n\ 00080 # Standard metadata for higher-level stamped data types.\n\ 00081 # This is generally used to communicate timestamped data \n\ 00082 # in a particular coordinate frame.\n\ 00083 # \n\ 00084 # sequence ID: consecutively increasing ID \n\ 00085 uint32 seq\n\ 00086 #Two-integer timestamp that is expressed as:\n\ 00087 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00088 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00089 # time-handling sugar is provided by the client library\n\ 00090 time stamp\n\ 00091 #Frame this data is associated with\n\ 00092 # 0: no frame\n\ 00093 # 1: global frame\n\ 00094 string frame_id\n\ 00095 \n\ 00096 ================================================================================\n\ 00097 MSG: geometry_msgs/Pose\n\ 00098 # A representation of pose in free space, composed of postion and orientation. \n\ 00099 Point position\n\ 00100 Quaternion orientation\n\ 00101 \n\ 00102 ================================================================================\n\ 00103 MSG: geometry_msgs/Point\n\ 00104 # This contains the position of a point in free space\n\ 00105 float64 x\n\ 00106 float64 y\n\ 00107 float64 z\n\ 00108 \n\ 00109 ================================================================================\n\ 00110 MSG: geometry_msgs/Quaternion\n\ 00111 # This represents an orientation in free space in quaternion form.\n\ 00112 \n\ 00113 float64 x\n\ 00114 float64 y\n\ 00115 float64 z\n\ 00116 float64 w\n\ 00117 \n\ 00118 ================================================================================\n\ 00119 MSG: std_msgs/Int32\n\ 00120 int32 data\n\ 00121 "; } 00122 public: 00123 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00124 00125 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00126 00127 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00128 { 00129 ros::serialization::OStream stream(write_ptr, 1000000000); 00130 ros::serialization::serialize(stream, target_poses); 00131 ros::serialization::serialize(stream, arm); 00132 return stream.getData(); 00133 } 00134 00135 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00136 { 00137 ros::serialization::IStream stream(read_ptr, 1000000000); 00138 ros::serialization::deserialize(stream, target_poses); 00139 ros::serialization::deserialize(stream, arm); 00140 return stream.getData(); 00141 } 00142 00143 ROS_DEPRECATED virtual uint32_t serializationLength() const 00144 { 00145 uint32_t size = 0; 00146 size += ros::serialization::serializationLength(target_poses); 00147 size += ros::serialization::serializationLength(arm); 00148 return size; 00149 } 00150 00151 typedef boost::shared_ptr< ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> > Ptr; 00152 typedef boost::shared_ptr< ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> const> ConstPtr; 00153 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00154 }; // struct FindBasePoseGoal 00155 typedef ::find_base_pose::FindBasePoseGoal_<std::allocator<void> > FindBasePoseGoal; 00156 00157 typedef boost::shared_ptr< ::find_base_pose::FindBasePoseGoal> FindBasePoseGoalPtr; 00158 typedef boost::shared_ptr< ::find_base_pose::FindBasePoseGoal const> FindBasePoseGoalConstPtr; 00159 00160 00161 template<typename ContainerAllocator> 00162 std::ostream& operator<<(std::ostream& s, const ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> & v) 00163 { 00164 ros::message_operations::Printer< ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> >::stream(s, "", v); 00165 return s;} 00166 00167 } // namespace find_base_pose 00168 00169 namespace ros 00170 { 00171 namespace message_traits 00172 { 00173 template<class ContainerAllocator> struct IsMessage< ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> > : public TrueType {}; 00174 template<class ContainerAllocator> struct IsMessage< ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> const> : public TrueType {}; 00175 template<class ContainerAllocator> 00176 struct MD5Sum< ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> > { 00177 static const char* value() 00178 { 00179 return "071ddad28d0a6d94f2f9e8004067e39f"; 00180 } 00181 00182 static const char* value(const ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> &) { return value(); } 00183 static const uint64_t static_value1 = 0x071ddad28d0a6d94ULL; 00184 static const uint64_t static_value2 = 0xf2f9e8004067e39fULL; 00185 }; 00186 00187 template<class ContainerAllocator> 00188 struct DataType< ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> > { 00189 static const char* value() 00190 { 00191 return "find_base_pose/FindBasePoseGoal"; 00192 } 00193 00194 static const char* value(const ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> &) { return value(); } 00195 }; 00196 00197 template<class ContainerAllocator> 00198 struct Definition< ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> > { 00199 static const char* value() 00200 { 00201 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00202 geometry_msgs/PoseStamped[] target_poses\n\ 00203 std_msgs/Int32[] arm\n\ 00204 \n\ 00205 ================================================================================\n\ 00206 MSG: geometry_msgs/PoseStamped\n\ 00207 # A Pose with reference coordinate frame and timestamp\n\ 00208 Header header\n\ 00209 Pose pose\n\ 00210 \n\ 00211 ================================================================================\n\ 00212 MSG: std_msgs/Header\n\ 00213 # Standard metadata for higher-level stamped data types.\n\ 00214 # This is generally used to communicate timestamped data \n\ 00215 # in a particular coordinate frame.\n\ 00216 # \n\ 00217 # sequence ID: consecutively increasing ID \n\ 00218 uint32 seq\n\ 00219 #Two-integer timestamp that is expressed as:\n\ 00220 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00221 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00222 # time-handling sugar is provided by the client library\n\ 00223 time stamp\n\ 00224 #Frame this data is associated with\n\ 00225 # 0: no frame\n\ 00226 # 1: global frame\n\ 00227 string frame_id\n\ 00228 \n\ 00229 ================================================================================\n\ 00230 MSG: geometry_msgs/Pose\n\ 00231 # A representation of pose in free space, composed of postion and orientation. \n\ 00232 Point position\n\ 00233 Quaternion orientation\n\ 00234 \n\ 00235 ================================================================================\n\ 00236 MSG: geometry_msgs/Point\n\ 00237 # This contains the position of a point in free space\n\ 00238 float64 x\n\ 00239 float64 y\n\ 00240 float64 z\n\ 00241 \n\ 00242 ================================================================================\n\ 00243 MSG: geometry_msgs/Quaternion\n\ 00244 # This represents an orientation in free space in quaternion form.\n\ 00245 \n\ 00246 float64 x\n\ 00247 float64 y\n\ 00248 float64 z\n\ 00249 float64 w\n\ 00250 \n\ 00251 ================================================================================\n\ 00252 MSG: std_msgs/Int32\n\ 00253 int32 data\n\ 00254 "; 00255 } 00256 00257 static const char* value(const ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> &) { return value(); } 00258 }; 00259 00260 } // namespace message_traits 00261 } // namespace ros 00262 00263 namespace ros 00264 { 00265 namespace serialization 00266 { 00267 00268 template<class ContainerAllocator> struct Serializer< ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> > 00269 { 00270 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00271 { 00272 stream.next(m.target_poses); 00273 stream.next(m.arm); 00274 } 00275 00276 ROS_DECLARE_ALLINONE_SERIALIZER; 00277 }; // struct FindBasePoseGoal_ 00278 } // namespace serialization 00279 } // namespace ros 00280 00281 namespace ros 00282 { 00283 namespace message_operations 00284 { 00285 00286 template<class ContainerAllocator> 00287 struct Printer< ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> > 00288 { 00289 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::find_base_pose::FindBasePoseGoal_<ContainerAllocator> & v) 00290 { 00291 s << indent << "target_poses[]" << std::endl; 00292 for (size_t i = 0; i < v.target_poses.size(); ++i) 00293 { 00294 s << indent << " target_poses[" << i << "]: "; 00295 s << std::endl; 00296 s << indent; 00297 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.target_poses[i]); 00298 } 00299 s << indent << "arm[]" << std::endl; 00300 for (size_t i = 0; i < v.arm.size(); ++i) 00301 { 00302 s << indent << " arm[" << i << "]: "; 00303 s << std::endl; 00304 s << indent; 00305 Printer< ::std_msgs::Int32_<ContainerAllocator> >::stream(s, indent + " ", v.arm[i]); 00306 } 00307 } 00308 }; 00309 00310 00311 } // namespace message_operations 00312 } // namespace ros 00313 00314 #endif // FIND_BASE_POSE_MESSAGE_FINDBASEPOSEGOAL_H 00315