00001
00002 #ifndef CART_PUSHING_MSGS_MESSAGE_ROBOTCARTCONFIGURATION_H
00003 #define CART_PUSHING_MSGS_MESSAGE_ROBOTCARTCONFIGURATION_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "geometry_msgs/Pose.h"
00014 #include "geometry_msgs/Pose.h"
00015
00016 namespace cart_pushing_msgs
00017 {
00018 template <class ContainerAllocator>
00019 struct RobotCartConfiguration_ : public ros::Message
00020 {
00021 typedef RobotCartConfiguration_<ContainerAllocator> Type;
00022
00023 RobotCartConfiguration_()
00024 : robot_pose()
00025 , cart_pose()
00026 {
00027 }
00028
00029 RobotCartConfiguration_(const ContainerAllocator& _alloc)
00030 : robot_pose(_alloc)
00031 , cart_pose(_alloc)
00032 {
00033 }
00034
00035 typedef ::geometry_msgs::Pose_<ContainerAllocator> _robot_pose_type;
00036 ::geometry_msgs::Pose_<ContainerAllocator> robot_pose;
00037
00038 typedef ::geometry_msgs::Pose_<ContainerAllocator> _cart_pose_type;
00039 ::geometry_msgs::Pose_<ContainerAllocator> cart_pose;
00040
00041
00042 private:
00043 static const char* __s_getDataType_() { return "cart_pushing_msgs/RobotCartConfiguration"; }
00044 public:
00045 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00046
00047 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00048
00049 private:
00050 static const char* __s_getMD5Sum_() { return "b6763adc7a4163e81b79c0de27053f06"; }
00051 public:
00052 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00053
00054 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00055
00056 private:
00057 static const char* __s_getMessageDefinition_() { return "# Robot's pose in reference frame\n\
00058 geometry_msgs/Pose robot_pose\n\
00059 \n\
00060 # Cart's pose in base frame\n\
00061 geometry_msgs/Pose cart_pose\n\
00062 ================================================================================\n\
00063 MSG: geometry_msgs/Pose\n\
00064 # A representation of pose in free space, composed of postion and orientation. \n\
00065 Point position\n\
00066 Quaternion orientation\n\
00067 \n\
00068 ================================================================================\n\
00069 MSG: geometry_msgs/Point\n\
00070 # This contains the position of a point in free space\n\
00071 float64 x\n\
00072 float64 y\n\
00073 float64 z\n\
00074 \n\
00075 ================================================================================\n\
00076 MSG: geometry_msgs/Quaternion\n\
00077 # This represents an orientation in free space in quaternion form.\n\
00078 \n\
00079 float64 x\n\
00080 float64 y\n\
00081 float64 z\n\
00082 float64 w\n\
00083 \n\
00084 "; }
00085 public:
00086 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00087
00088 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00089
00090 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00091 {
00092 ros::serialization::OStream stream(write_ptr, 1000000000);
00093 ros::serialization::serialize(stream, robot_pose);
00094 ros::serialization::serialize(stream, cart_pose);
00095 return stream.getData();
00096 }
00097
00098 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00099 {
00100 ros::serialization::IStream stream(read_ptr, 1000000000);
00101 ros::serialization::deserialize(stream, robot_pose);
00102 ros::serialization::deserialize(stream, cart_pose);
00103 return stream.getData();
00104 }
00105
00106 ROS_DEPRECATED virtual uint32_t serializationLength() const
00107 {
00108 uint32_t size = 0;
00109 size += ros::serialization::serializationLength(robot_pose);
00110 size += ros::serialization::serializationLength(cart_pose);
00111 return size;
00112 }
00113
00114 typedef boost::shared_ptr< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > Ptr;
00115 typedef boost::shared_ptr< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> const> ConstPtr;
00116 };
00117 typedef ::cart_pushing_msgs::RobotCartConfiguration_<std::allocator<void> > RobotCartConfiguration;
00118
00119 typedef boost::shared_ptr< ::cart_pushing_msgs::RobotCartConfiguration> RobotCartConfigurationPtr;
00120 typedef boost::shared_ptr< ::cart_pushing_msgs::RobotCartConfiguration const> RobotCartConfigurationConstPtr;
00121
00122
00123 template<typename ContainerAllocator>
00124 std::ostream& operator<<(std::ostream& s, const ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> & v)
00125 {
00126 ros::message_operations::Printer< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> >::stream(s, "", v);
00127 return s;}
00128
00129 }
00130
00131 namespace ros
00132 {
00133 namespace message_traits
00134 {
00135 template<class ContainerAllocator>
00136 struct MD5Sum< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > {
00137 static const char* value()
00138 {
00139 return "b6763adc7a4163e81b79c0de27053f06";
00140 }
00141
00142 static const char* value(const ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> &) { return value(); }
00143 static const uint64_t static_value1 = 0xb6763adc7a4163e8ULL;
00144 static const uint64_t static_value2 = 0x1b79c0de27053f06ULL;
00145 };
00146
00147 template<class ContainerAllocator>
00148 struct DataType< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > {
00149 static const char* value()
00150 {
00151 return "cart_pushing_msgs/RobotCartConfiguration";
00152 }
00153
00154 static const char* value(const ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> &) { return value(); }
00155 };
00156
00157 template<class ContainerAllocator>
00158 struct Definition< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > {
00159 static const char* value()
00160 {
00161 return "# Robot's pose in reference frame\n\
00162 geometry_msgs/Pose robot_pose\n\
00163 \n\
00164 # Cart's pose in base frame\n\
00165 geometry_msgs/Pose cart_pose\n\
00166 ================================================================================\n\
00167 MSG: geometry_msgs/Pose\n\
00168 # A representation of pose in free space, composed of postion and orientation. \n\
00169 Point position\n\
00170 Quaternion orientation\n\
00171 \n\
00172 ================================================================================\n\
00173 MSG: geometry_msgs/Point\n\
00174 # This contains the position of a point in free space\n\
00175 float64 x\n\
00176 float64 y\n\
00177 float64 z\n\
00178 \n\
00179 ================================================================================\n\
00180 MSG: geometry_msgs/Quaternion\n\
00181 # This represents an orientation in free space in quaternion form.\n\
00182 \n\
00183 float64 x\n\
00184 float64 y\n\
00185 float64 z\n\
00186 float64 w\n\
00187 \n\
00188 ";
00189 }
00190
00191 static const char* value(const ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> &) { return value(); }
00192 };
00193
00194 template<class ContainerAllocator> struct IsFixedSize< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > : public TrueType {};
00195 }
00196 }
00197
00198 namespace ros
00199 {
00200 namespace serialization
00201 {
00202
00203 template<class ContainerAllocator> struct Serializer< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> >
00204 {
00205 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00206 {
00207 stream.next(m.robot_pose);
00208 stream.next(m.cart_pose);
00209 }
00210
00211 ROS_DECLARE_ALLINONE_SERIALIZER;
00212 };
00213 }
00214 }
00215
00216 namespace ros
00217 {
00218 namespace message_operations
00219 {
00220
00221 template<class ContainerAllocator>
00222 struct Printer< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> >
00223 {
00224 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> & v)
00225 {
00226 s << indent << "robot_pose: ";
00227 s << std::endl;
00228 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.robot_pose);
00229 s << indent << "cart_pose: ";
00230 s << std::endl;
00231 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.cart_pose);
00232 }
00233 };
00234
00235
00236 }
00237 }
00238
00239 #endif // CART_PUSHING_MSGS_MESSAGE_ROBOTCARTCONFIGURATION_H
00240