Go to the documentation of this file.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 <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 cart_pushing_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct RobotCartConfiguration_ {
00024 typedef RobotCartConfiguration_<ContainerAllocator> Type;
00025
00026 RobotCartConfiguration_()
00027 : robot_pose()
00028 , cart_pose()
00029 {
00030 }
00031
00032 RobotCartConfiguration_(const ContainerAllocator& _alloc)
00033 : robot_pose(_alloc)
00034 , cart_pose(_alloc)
00035 {
00036 }
00037
00038 typedef ::geometry_msgs::Pose_<ContainerAllocator> _robot_pose_type;
00039 ::geometry_msgs::Pose_<ContainerAllocator> robot_pose;
00040
00041 typedef ::geometry_msgs::Pose_<ContainerAllocator> _cart_pose_type;
00042 ::geometry_msgs::Pose_<ContainerAllocator> cart_pose;
00043
00044
00045 typedef boost::shared_ptr< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::cart_pushing_msgs::RobotCartConfiguration_<std::allocator<void> > RobotCartConfiguration;
00050
00051 typedef boost::shared_ptr< ::cart_pushing_msgs::RobotCartConfiguration> RobotCartConfigurationPtr;
00052 typedef boost::shared_ptr< ::cart_pushing_msgs::RobotCartConfiguration const> RobotCartConfigurationConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::cart_pushing_msgs::RobotCartConfiguration_<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< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "b6763adc7a4163e81b79c0de27053f06";
00074 }
00075
00076 static const char* value(const ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0xb6763adc7a4163e8ULL;
00078 static const uint64_t static_value2 = 0x1b79c0de27053f06ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "cart_pushing_msgs/RobotCartConfiguration";
00086 }
00087
00088 static const char* value(const ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# Robot's pose in reference frame\n\
00096 geometry_msgs/Pose robot_pose\n\
00097 \n\
00098 # Cart's pose in base frame\n\
00099 geometry_msgs/Pose cart_pose\n\
00100 ================================================================================\n\
00101 MSG: geometry_msgs/Pose\n\
00102 # A representation of pose in free space, composed of postion and orientation. \n\
00103 Point position\n\
00104 Quaternion orientation\n\
00105 \n\
00106 ================================================================================\n\
00107 MSG: geometry_msgs/Point\n\
00108 # This contains the position of a point in free space\n\
00109 float64 x\n\
00110 float64 y\n\
00111 float64 z\n\
00112 \n\
00113 ================================================================================\n\
00114 MSG: geometry_msgs/Quaternion\n\
00115 # This represents an orientation in free space in quaternion form.\n\
00116 \n\
00117 float64 x\n\
00118 float64 y\n\
00119 float64 z\n\
00120 float64 w\n\
00121 \n\
00122 ";
00123 }
00124
00125 static const char* value(const ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> &) { return value(); }
00126 };
00127
00128 template<class ContainerAllocator> struct IsFixedSize< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> > : public TrueType {};
00129 }
00130 }
00131
00132 namespace ros
00133 {
00134 namespace serialization
00135 {
00136
00137 template<class ContainerAllocator> struct Serializer< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> >
00138 {
00139 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00140 {
00141 stream.next(m.robot_pose);
00142 stream.next(m.cart_pose);
00143 }
00144
00145 ROS_DECLARE_ALLINONE_SERIALIZER;
00146 };
00147 }
00148 }
00149
00150 namespace ros
00151 {
00152 namespace message_operations
00153 {
00154
00155 template<class ContainerAllocator>
00156 struct Printer< ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> >
00157 {
00158 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cart_pushing_msgs::RobotCartConfiguration_<ContainerAllocator> & v)
00159 {
00160 s << indent << "robot_pose: ";
00161 s << std::endl;
00162 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.robot_pose);
00163 s << indent << "cart_pose: ";
00164 s << std::endl;
00165 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.cart_pose);
00166 }
00167 };
00168
00169
00170 }
00171 }
00172
00173 #endif // CART_PUSHING_MSGS_MESSAGE_ROBOTCARTCONFIGURATION_H
00174