5 #ifndef SENSOR_MSGS_MESSAGE_MAGNETICFIELD_H 6 #define SENSOR_MSGS_MESSAGE_MAGNETICFIELD_H 23 template <
class ContainerAllocator>
61 typedef ::sensor_msgs::MagneticField_<std::allocator<void> >
MagneticField;
70 template<
typename ContainerAllocator>
71 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::MagneticField_<ContainerAllocator> &
v)
81 namespace message_traits
94 template <
class ContainerAllocator>
99 template <
class ContainerAllocator>
104 template <
class ContainerAllocator>
109 template <
class ContainerAllocator>
114 template <
class ContainerAllocator>
119 template <
class ContainerAllocator>
125 template<
class ContainerAllocator>
130 return "2f3b0b43eed0c9501de0fa3ff89a45aa";
133 static const char*
value(const ::sensor_msgs::MagneticField_<ContainerAllocator>&) {
return value(); }
134 static const uint64_t static_value1 = 0x2f3b0b43eed0c950ULL;
135 static const uint64_t static_value2 = 0x1de0fa3ff89a45aaULL;
138 template<
class ContainerAllocator>
143 return "sensor_msgs/MagneticField";
146 static const char*
value(const ::sensor_msgs::MagneticField_<ContainerAllocator>&) {
return value(); }
149 template<
class ContainerAllocator>
154 return " # Measurement of the Magnetic Field vector at a specific location.\n\ 156 # If the covariance of the measurement is known, it should be filled in\n\ 157 # (if all you know is the variance of each measurement, e.g. from the datasheet,\n\ 158 #just put those along the diagonal)\n\ 159 # A covariance matrix of all zeros will be interpreted as \"covariance unknown\",\n\ 160 # and to use the data a covariance will have to be assumed or gotten from some\n\ 164 Header header # timestamp is the time the\n\ 165 # field was measured\n\ 166 # frame_id is the location and orientation\n\ 167 # of the field measurement\n\ 169 geometry_msgs/Vector3 magnetic_field # x, y, and z components of the\n\ 170 # field vector in Tesla\n\ 171 # If your sensor does not output 3 axes,\n\ 172 # put NaNs in the components not reported.\n\ 174 float64[9] magnetic_field_covariance # Row major about x, y, z axes\n\ 175 # 0 is interpreted as variance unknown\n\ 176 ================================================================================\n\ 177 MSG: std_msgs/Header\n\ 178 # Standard metadata for higher-level stamped data types.\n\ 179 # This is generally used to communicate timestamped data \n\ 180 # in a particular coordinate frame.\n\ 182 # sequence ID: consecutively increasing ID \n\ 184 #Two-integer timestamp that is expressed as:\n\ 185 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\ 186 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\ 187 # time-handling sugar is provided by the client library\n\ 189 #Frame this data is associated with\n\ 194 ================================================================================\n\ 195 MSG: geometry_msgs/Vector3\n\ 196 # This represents a vector in free space. \n\ 197 # It is only meant to represent a direction. Therefore, it does not\n\ 198 # make sense to apply a translation to it (e.g., when applying a \n\ 199 # generic rigid transformation to a Vector3, tf2 will only apply the\n\ 200 # rotation). If you want your data to be translatable too, use the\n\ 201 # geometry_msgs/Point message instead.\n\ 209 static const char*
value(const ::sensor_msgs::MagneticField_<ContainerAllocator>&) {
return value(); }
217 namespace serialization
224 stream.next(m.header);
225 stream.next(m.magnetic_field);
226 stream.next(m.magnetic_field_covariance);
237 namespace message_operations
240 template<
class ContainerAllocator>
243 template<
typename Stream>
static void stream(Stream&
s,
const std::string& indent, const ::sensor_msgs::MagneticField_<ContainerAllocator>&
v)
245 s << indent <<
"header: ";
248 s << indent <<
"magnetic_field: ";
251 s << indent <<
"magnetic_field_covariance[]" << std::endl;
252 for (
size_t i = 0;
i < v.magnetic_field_covariance.size(); ++
i)
254 s << indent <<
" magnetic_field_covariance[" <<
i <<
"]: ";
263 #endif // SENSOR_MSGS_MESSAGE_MAGNETICFIELD_H
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::MagneticField_< ContainerAllocator > &v)
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
::sensor_msgs::MagneticField_< std::allocator< void > > MagneticField
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static void allInOne(Stream &stream, T m)
static const char * value(const ::sensor_msgs::MagneticField_< ContainerAllocator > &)
Specialize to provide the md5sum for a message.
static const char * value()
boost::shared_ptr< ::sensor_msgs::MagneticField > MagneticFieldPtr
std::array< double, 9 > _magnetic_field_covariance_type
boost::shared_ptr< ::sensor_msgs::MagneticField const > MagneticFieldConstPtr
_magnetic_field_type magnetic_field
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
MagneticField_< ContainerAllocator > Type
Stream base-class, provides common functionality for IStream and OStream.
Tools for manipulating sensor_msgs.
MagneticField_(const ContainerAllocator &_alloc)
static const char * value(const ::sensor_msgs::MagneticField_< ContainerAllocator > &)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Specialize to provide the definition for a message.
boost::shared_ptr< ::sensor_msgs::MagneticField_< ContainerAllocator > const > ConstPtr
::geometry_msgs::Vector3_< ContainerAllocator > _magnetic_field_type
static const char * value()
::std_msgs::Header_< ContainerAllocator > _header_type
static const char * value(const ::sensor_msgs::MagneticField_< ContainerAllocator > &)
boost::shared_ptr< ::sensor_msgs::MagneticField_< ContainerAllocator > > Ptr
_magnetic_field_covariance_type magnetic_field_covariance
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value()