Go to the documentation of this file.
6 #ifndef SICK_SCAN_MESSAGE_ENCODER_H
7 #define SICK_SCAN_MESSAGE_ENCODER_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
23 template <
class ContainerAllocator>
55 typedef std::shared_ptr< ::sick_scan_xd::Encoder_<ContainerAllocator> >
Ptr;
56 typedef std::shared_ptr< ::sick_scan_xd::Encoder_<ContainerAllocator>
const>
ConstPtr;
60 typedef ::sick_scan_xd::Encoder_<std::allocator<void> >
Encoder;
62 typedef std::shared_ptr< ::sick_scan_xd::Encoder >
EncoderPtr;
69 template<
typename ContainerAllocator>
70 std::ostream&
operator<<(std::ostream& s, const ::sick_scan_xd::Encoder_<ContainerAllocator> & v)
80 namespace message_traits
93 template <
class ContainerAllocator>
98 template <
class ContainerAllocator>
103 template <
class ContainerAllocator>
108 template <
class ContainerAllocator>
113 template <
class ContainerAllocator>
118 template <
class ContainerAllocator>
124 template<
class ContainerAllocator>
129 return "54930fcfc2dd947b1ad5f398b208008f";
132 static const char*
value(const ::sick_scan_xd::Encoder_<ContainerAllocator>&) {
return value(); }
133 static const uint64_t static_value1 = 0x54930fcfc2dd947bULL;
134 static const uint64_t static_value2 = 0x1ad5f398b208008fULL;
137 template<
class ContainerAllocator>
142 return "sick_scan/Encoder";
145 static const char*
value(const ::sick_scan_xd::Encoder_<ContainerAllocator>&) {
return value(); }
148 template<
class ContainerAllocator>
153 return "#This message contains the counter reading of the encoder at the datagram time (timestamp in header).\n"
155 "Header header # same information as in laserscan and Pointcloud2 message\n"
157 "int32 enc_position # number of ticks\n"
158 "int16 enc_speed # number of ticks per millimeter\n"
160 "================================================================================\n"
161 "MSG: std_msgs/Header\n"
162 "# Standard metadata for higher-level stamped data types.\n"
163 "# This is generally used to communicate timestamped data \n"
164 "# in a particular coordinate frame.\n"
166 "# sequence ID: consecutively increasing ID \n"
168 "#Two-integer timestamp that is expressed as:\n"
169 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
170 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
171 "# time-handling sugar is provided by the client library\n"
173 "#Frame this data is associated with\n"
178 static const char*
value(const ::sick_scan_xd::Encoder_<ContainerAllocator>&) {
return value(); }
186 namespace serialization
191 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
193 stream.next(m.header);
194 stream.next(m.enc_position);
195 stream.next(m.enc_speed);
206 namespace message_operations
209 template<
class ContainerAllocator>
212 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sick_scan_xd::Encoder_<ContainerAllocator>& v)
217 s <<
indent <<
"enc_position: ";
227 #endif // SICK_SCAN_MESSAGE_ENCODER_H
::sick_scan_xd::Encoder_< std::allocator< void > > Encoder
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::ostream & operator<<(std::ostream &s, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &v)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value(const ::sick_scan_xd::Encoder_< ContainerAllocator > &)
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::Encoder_< ContainerAllocator > &v)
static void allInOne(Stream &stream, T m)
static void stream(Stream &s, const std::string &indent, const M &value)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Encoder_(const ContainerAllocator &_alloc)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
std::shared_ptr< ::sick_scan_xd::Encoder_< ContainerAllocator > const > ConstPtr
static const char * value(const ::sick_scan_xd::Encoder_< ContainerAllocator > &)
std::shared_ptr< ::sick_scan_xd::Encoder_< ContainerAllocator > > Ptr
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
int32_t _enc_position_type
_enc_speed_type enc_speed
static const char * value(const ::sick_scan_xd::Encoder_< ContainerAllocator > &)
_enc_position_type enc_position
static const char * value()
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
std::shared_ptr< ::sick_scan_xd::Encoder const > EncoderConstPtr
Encoder_< ContainerAllocator > Type
::std_msgs::Header_< ContainerAllocator > _header_type
static const char * value()
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::sick_scan_xd::Encoder > EncoderPtr
static const char * value()
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08