$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-tu-darmstadt-ros-pkg/doc_stacks/2013-03-05_12-22-58.304137/hector_slam/hector_mapping/msg/HectorIterData.msg */ 00002 #ifndef HECTOR_MAPPING_MESSAGE_HECTORITERDATA_H 00003 #define HECTOR_MAPPING_MESSAGE_HECTORITERDATA_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 00018 namespace hector_mapping 00019 { 00020 template <class ContainerAllocator> 00021 struct HectorIterData_ { 00022 typedef HectorIterData_<ContainerAllocator> Type; 00023 00024 HectorIterData_() 00025 : hessian() 00026 , conditionNum(0.0) 00027 , determinant(0.0) 00028 , conditionNum2d(0.0) 00029 , determinant2d(0.0) 00030 { 00031 hessian.assign(0.0); 00032 } 00033 00034 HectorIterData_(const ContainerAllocator& _alloc) 00035 : hessian() 00036 , conditionNum(0.0) 00037 , determinant(0.0) 00038 , conditionNum2d(0.0) 00039 , determinant2d(0.0) 00040 { 00041 hessian.assign(0.0); 00042 } 00043 00044 typedef boost::array<double, 9> _hessian_type; 00045 boost::array<double, 9> hessian; 00046 00047 typedef double _conditionNum_type; 00048 double conditionNum; 00049 00050 typedef double _determinant_type; 00051 double determinant; 00052 00053 typedef double _conditionNum2d_type; 00054 double conditionNum2d; 00055 00056 typedef double _determinant2d_type; 00057 double determinant2d; 00058 00059 00060 ROS_DEPRECATED uint32_t get_hessian_size() const { return (uint32_t)hessian.size(); } 00061 private: 00062 static const char* __s_getDataType_() { return "hector_mapping/HectorIterData"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00065 00066 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00067 00068 private: 00069 static const char* __s_getMD5Sum_() { return "ecedaa7e26b5fc817a1add44c17fec5f"; } 00070 public: 00071 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00072 00073 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00074 00075 private: 00076 static const char* __s_getMessageDefinition_() { return "float64[9] hessian\n\ 00077 float64 conditionNum\n\ 00078 float64 determinant\n\ 00079 float64 conditionNum2d\n\ 00080 float64 determinant2d\n\ 00081 \n\ 00082 "; } 00083 public: 00084 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00085 00086 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00087 00088 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00089 { 00090 ros::serialization::OStream stream(write_ptr, 1000000000); 00091 ros::serialization::serialize(stream, hessian); 00092 ros::serialization::serialize(stream, conditionNum); 00093 ros::serialization::serialize(stream, determinant); 00094 ros::serialization::serialize(stream, conditionNum2d); 00095 ros::serialization::serialize(stream, determinant2d); 00096 return stream.getData(); 00097 } 00098 00099 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00100 { 00101 ros::serialization::IStream stream(read_ptr, 1000000000); 00102 ros::serialization::deserialize(stream, hessian); 00103 ros::serialization::deserialize(stream, conditionNum); 00104 ros::serialization::deserialize(stream, determinant); 00105 ros::serialization::deserialize(stream, conditionNum2d); 00106 ros::serialization::deserialize(stream, determinant2d); 00107 return stream.getData(); 00108 } 00109 00110 ROS_DEPRECATED virtual uint32_t serializationLength() const 00111 { 00112 uint32_t size = 0; 00113 size += ros::serialization::serializationLength(hessian); 00114 size += ros::serialization::serializationLength(conditionNum); 00115 size += ros::serialization::serializationLength(determinant); 00116 size += ros::serialization::serializationLength(conditionNum2d); 00117 size += ros::serialization::serializationLength(determinant2d); 00118 return size; 00119 } 00120 00121 typedef boost::shared_ptr< ::hector_mapping::HectorIterData_<ContainerAllocator> > Ptr; 00122 typedef boost::shared_ptr< ::hector_mapping::HectorIterData_<ContainerAllocator> const> ConstPtr; 00123 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00124 }; // struct HectorIterData 00125 typedef ::hector_mapping::HectorIterData_<std::allocator<void> > HectorIterData; 00126 00127 typedef boost::shared_ptr< ::hector_mapping::HectorIterData> HectorIterDataPtr; 00128 typedef boost::shared_ptr< ::hector_mapping::HectorIterData const> HectorIterDataConstPtr; 00129 00130 00131 template<typename ContainerAllocator> 00132 std::ostream& operator<<(std::ostream& s, const ::hector_mapping::HectorIterData_<ContainerAllocator> & v) 00133 { 00134 ros::message_operations::Printer< ::hector_mapping::HectorIterData_<ContainerAllocator> >::stream(s, "", v); 00135 return s;} 00136 00137 } // namespace hector_mapping 00138 00139 namespace ros 00140 { 00141 namespace message_traits 00142 { 00143 template<class ContainerAllocator> struct IsMessage< ::hector_mapping::HectorIterData_<ContainerAllocator> > : public TrueType {}; 00144 template<class ContainerAllocator> struct IsMessage< ::hector_mapping::HectorIterData_<ContainerAllocator> const> : public TrueType {}; 00145 template<class ContainerAllocator> 00146 struct MD5Sum< ::hector_mapping::HectorIterData_<ContainerAllocator> > { 00147 static const char* value() 00148 { 00149 return "ecedaa7e26b5fc817a1add44c17fec5f"; 00150 } 00151 00152 static const char* value(const ::hector_mapping::HectorIterData_<ContainerAllocator> &) { return value(); } 00153 static const uint64_t static_value1 = 0xecedaa7e26b5fc81ULL; 00154 static const uint64_t static_value2 = 0x7a1add44c17fec5fULL; 00155 }; 00156 00157 template<class ContainerAllocator> 00158 struct DataType< ::hector_mapping::HectorIterData_<ContainerAllocator> > { 00159 static const char* value() 00160 { 00161 return "hector_mapping/HectorIterData"; 00162 } 00163 00164 static const char* value(const ::hector_mapping::HectorIterData_<ContainerAllocator> &) { return value(); } 00165 }; 00166 00167 template<class ContainerAllocator> 00168 struct Definition< ::hector_mapping::HectorIterData_<ContainerAllocator> > { 00169 static const char* value() 00170 { 00171 return "float64[9] hessian\n\ 00172 float64 conditionNum\n\ 00173 float64 determinant\n\ 00174 float64 conditionNum2d\n\ 00175 float64 determinant2d\n\ 00176 \n\ 00177 "; 00178 } 00179 00180 static const char* value(const ::hector_mapping::HectorIterData_<ContainerAllocator> &) { return value(); } 00181 }; 00182 00183 template<class ContainerAllocator> struct IsFixedSize< ::hector_mapping::HectorIterData_<ContainerAllocator> > : public TrueType {}; 00184 } // namespace message_traits 00185 } // namespace ros 00186 00187 namespace ros 00188 { 00189 namespace serialization 00190 { 00191 00192 template<class ContainerAllocator> struct Serializer< ::hector_mapping::HectorIterData_<ContainerAllocator> > 00193 { 00194 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00195 { 00196 stream.next(m.hessian); 00197 stream.next(m.conditionNum); 00198 stream.next(m.determinant); 00199 stream.next(m.conditionNum2d); 00200 stream.next(m.determinant2d); 00201 } 00202 00203 ROS_DECLARE_ALLINONE_SERIALIZER; 00204 }; // struct HectorIterData_ 00205 } // namespace serialization 00206 } // namespace ros 00207 00208 namespace ros 00209 { 00210 namespace message_operations 00211 { 00212 00213 template<class ContainerAllocator> 00214 struct Printer< ::hector_mapping::HectorIterData_<ContainerAllocator> > 00215 { 00216 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hector_mapping::HectorIterData_<ContainerAllocator> & v) 00217 { 00218 s << indent << "hessian[]" << std::endl; 00219 for (size_t i = 0; i < v.hessian.size(); ++i) 00220 { 00221 s << indent << " hessian[" << i << "]: "; 00222 Printer<double>::stream(s, indent + " ", v.hessian[i]); 00223 } 00224 s << indent << "conditionNum: "; 00225 Printer<double>::stream(s, indent + " ", v.conditionNum); 00226 s << indent << "determinant: "; 00227 Printer<double>::stream(s, indent + " ", v.determinant); 00228 s << indent << "conditionNum2d: "; 00229 Printer<double>::stream(s, indent + " ", v.conditionNum2d); 00230 s << indent << "determinant2d: "; 00231 Printer<double>::stream(s, indent + " ", v.determinant2d); 00232 } 00233 }; 00234 00235 00236 } // namespace message_operations 00237 } // namespace ros 00238 00239 #endif // HECTOR_MAPPING_MESSAGE_HECTORITERDATA_H 00240