Go to the documentation of this file.00001
00002 #ifndef CAMERA_POSE_CALIBRATION_MESSAGE_CALIBRATIONESTIMATE_H
00003 #define CAMERA_POSE_CALIBRATION_MESSAGE_CALIBRATIONESTIMATE_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 "std_msgs/Header.h"
00018 #include "camera_pose_calibration/CameraPose.h"
00019 #include "geometry_msgs/Pose.h"
00020
00021 namespace camera_pose_calibration
00022 {
00023 template <class ContainerAllocator>
00024 struct CalibrationEstimate_ {
00025 typedef CalibrationEstimate_<ContainerAllocator> Type;
00026
00027 CalibrationEstimate_()
00028 : header()
00029 , cameras()
00030 , targets()
00031 {
00032 }
00033
00034 CalibrationEstimate_(const ContainerAllocator& _alloc)
00035 : header(_alloc)
00036 , cameras(_alloc)
00037 , targets(_alloc)
00038 {
00039 }
00040
00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00042 ::std_msgs::Header_<ContainerAllocator> header;
00043
00044 typedef std::vector< ::camera_pose_calibration::CameraPose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::camera_pose_calibration::CameraPose_<ContainerAllocator> >::other > _cameras_type;
00045 std::vector< ::camera_pose_calibration::CameraPose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::camera_pose_calibration::CameraPose_<ContainerAllocator> >::other > cameras;
00046
00047 typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > _targets_type;
00048 std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > targets;
00049
00050
00051 typedef boost::shared_ptr< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> > Ptr;
00052 typedef boost::shared_ptr< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> const> ConstPtr;
00053 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 };
00055 typedef ::camera_pose_calibration::CalibrationEstimate_<std::allocator<void> > CalibrationEstimate;
00056
00057 typedef boost::shared_ptr< ::camera_pose_calibration::CalibrationEstimate> CalibrationEstimatePtr;
00058 typedef boost::shared_ptr< ::camera_pose_calibration::CalibrationEstimate const> CalibrationEstimateConstPtr;
00059
00060
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> & v)
00063 {
00064 ros::message_operations::Printer< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> >::stream(s, "", v);
00065 return s;}
00066
00067 }
00068
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "35dff6bdb713fbc8b83861a1960b45f5";
00080 }
00081
00082 static const char* value(const ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> &) { return value(); }
00083 static const uint64_t static_value1 = 0x35dff6bdb713fbc8ULL;
00084 static const uint64_t static_value2 = 0xb83861a1960b45f5ULL;
00085 };
00086
00087 template<class ContainerAllocator>
00088 struct DataType< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "camera_pose_calibration/CalibrationEstimate";
00092 }
00093
00094 static const char* value(const ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> &) { return value(); }
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct Definition< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "Header header\n\
00102 CameraPose[] cameras\n\
00103 geometry_msgs/Pose[] targets\n\
00104 \n\
00105 ================================================================================\n\
00106 MSG: std_msgs/Header\n\
00107 # Standard metadata for higher-level stamped data types.\n\
00108 # This is generally used to communicate timestamped data \n\
00109 # in a particular coordinate frame.\n\
00110 # \n\
00111 # sequence ID: consecutively increasing ID \n\
00112 uint32 seq\n\
00113 #Two-integer timestamp that is expressed as:\n\
00114 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00115 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00116 # time-handling sugar is provided by the client library\n\
00117 time stamp\n\
00118 #Frame this data is associated with\n\
00119 # 0: no frame\n\
00120 # 1: global frame\n\
00121 string frame_id\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: camera_pose_calibration/CameraPose\n\
00125 string camera_id\n\
00126 geometry_msgs/Pose pose\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: geometry_msgs/Pose\n\
00130 # A representation of pose in free space, composed of postion and orientation. \n\
00131 Point position\n\
00132 Quaternion orientation\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: geometry_msgs/Point\n\
00136 # This contains the position of a point in free space\n\
00137 float64 x\n\
00138 float64 y\n\
00139 float64 z\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: geometry_msgs/Quaternion\n\
00143 # This represents an orientation in free space in quaternion form.\n\
00144 \n\
00145 float64 x\n\
00146 float64 y\n\
00147 float64 z\n\
00148 float64 w\n\
00149 \n\
00150 ";
00151 }
00152
00153 static const char* value(const ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> &) { return value(); }
00154 };
00155
00156 template<class ContainerAllocator> struct HasHeader< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> > : public TrueType {};
00157 template<class ContainerAllocator> struct HasHeader< const ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> > : public TrueType {};
00158 }
00159 }
00160
00161 namespace ros
00162 {
00163 namespace serialization
00164 {
00165
00166 template<class ContainerAllocator> struct Serializer< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> >
00167 {
00168 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00169 {
00170 stream.next(m.header);
00171 stream.next(m.cameras);
00172 stream.next(m.targets);
00173 }
00174
00175 ROS_DECLARE_ALLINONE_SERIALIZER;
00176 };
00177 }
00178 }
00179
00180 namespace ros
00181 {
00182 namespace message_operations
00183 {
00184
00185 template<class ContainerAllocator>
00186 struct Printer< ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> >
00187 {
00188 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::camera_pose_calibration::CalibrationEstimate_<ContainerAllocator> & v)
00189 {
00190 s << indent << "header: ";
00191 s << std::endl;
00192 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00193 s << indent << "cameras[]" << std::endl;
00194 for (size_t i = 0; i < v.cameras.size(); ++i)
00195 {
00196 s << indent << " cameras[" << i << "]: ";
00197 s << std::endl;
00198 s << indent;
00199 Printer< ::camera_pose_calibration::CameraPose_<ContainerAllocator> >::stream(s, indent + " ", v.cameras[i]);
00200 }
00201 s << indent << "targets[]" << std::endl;
00202 for (size_t i = 0; i < v.targets.size(); ++i)
00203 {
00204 s << indent << " targets[" << i << "]: ";
00205 s << std::endl;
00206 s << indent;
00207 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.targets[i]);
00208 }
00209 }
00210 };
00211
00212
00213 }
00214 }
00215
00216 #endif // CAMERA_POSE_CALIBRATION_MESSAGE_CALIBRATIONESTIMATE_H
00217