NAVOdomVelocity.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Generated by gencpp from file sick_scan/NAVOdomVelocity.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_NAVODOMVELOCITY_H
7 #define SICK_SCAN_MESSAGE_NAVODOMVELOCITY_H
8 
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
18 
19 
20 namespace sick_scan_xd
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : vel_x(0.0)
29  , vel_y(0.0)
30  , omega(0.0)
31  , timestamp(0)
32  , coordbase(0) {
33  }
34  NAVOdomVelocity_(const ContainerAllocator& _alloc)
35  : vel_x(0.0)
36  , vel_y(0.0)
37  , omega(0.0)
38  , timestamp(0)
39  , coordbase(0) {
40  (void)_alloc;
41  }
42 
43 
44 
45  typedef float _vel_x_type;
47 
48  typedef float _vel_y_type;
50 
51  typedef float _omega_type;
53 
54  typedef uint32_t _timestamp_type;
56 
57  typedef uint8_t _coordbase_type;
59 
60 
61 
62 
63 
64  typedef std::shared_ptr< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> > Ptr;
65  typedef std::shared_ptr< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> const> ConstPtr;
66 
67 }; // struct NAVOdomVelocity_
68 
69 typedef ::sick_scan_xd::NAVOdomVelocity_<std::allocator<void> > NAVOdomVelocity;
70 
71 typedef std::shared_ptr< ::sick_scan_xd::NAVOdomVelocity > NAVOdomVelocityPtr;
72 typedef std::shared_ptr< ::sick_scan_xd::NAVOdomVelocity const> NAVOdomVelocityConstPtr;
73 
74 // constants requiring out of line definition
75 
76 
77 
78 template<typename ContainerAllocator>
79 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> & v)
80 {
82 return s;
83 }
84 
85 
86 template<typename ContainerAllocator1, typename ContainerAllocator2>
87 bool operator==(const ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator1> & lhs, const ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator2> & rhs)
88 {
89  return lhs.vel_x == rhs.vel_x &&
90  lhs.vel_y == rhs.vel_y &&
91  lhs.omega == rhs.omega &&
92  lhs.timestamp == rhs.timestamp &&
93  lhs.coordbase == rhs.coordbase;
94 }
95 
96 template<typename ContainerAllocator1, typename ContainerAllocator2>
97 bool operator!=(const ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator1> & lhs, const ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator2> & rhs)
98 {
99  return !(lhs == rhs);
100 }
101 
102 
103 } // namespace sick_scan_xd
104 
105 namespace roswrap
106 {
107 namespace message_traits
108 {
109 
110 
111 
112 
113 
114 template <class ContainerAllocator>
115 struct IsMessage< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> >
116  : TrueType
117  { };
118 
119 template <class ContainerAllocator>
120 struct IsMessage< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> const>
121  : TrueType
122  { };
123 
124 template <class ContainerAllocator>
125 struct IsFixedSize< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> >
126  : TrueType
127  { };
128 
129 template <class ContainerAllocator>
130 struct IsFixedSize< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> const>
131  : TrueType
132  { };
133 
134 template <class ContainerAllocator>
135 struct HasHeader< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> >
136  : FalseType
137  { };
138 
139 template <class ContainerAllocator>
140 struct HasHeader< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> const>
141  : FalseType
142  { };
143 
144 
145 template<class ContainerAllocator>
146 struct MD5Sum< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> >
147 {
148  static const char* value()
149  {
150  return "9ae8fb3e58991f0b8bd5ceefb3e1ca1d";
151  }
152 
153  static const char* value(const ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator>&) { return value(); }
154  static const uint64_t static_value1 = 0x9ae8fb3e58991f0bULL;
155  static const uint64_t static_value2 = 0x8bd5ceefb3e1ca1dULL;
156 };
157 
158 template<class ContainerAllocator>
159 struct DataType< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> >
160 {
161  static const char* value()
162  {
163  return "sick_scan/NAVOdomVelocity";
164  }
165 
166  static const char* value(const ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator>&) { return value(); }
167 };
168 
169 template<class ContainerAllocator>
170 struct Definition< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> >
171 {
172  static const char* value()
173  {
174  return "# ROS message for NAV350 velocity/odometry data, see sick_nav_scandata_parser.h and NAV-350 telegram listing for details (\"sMN mNPOSSetSpeed\").\n"
175 "\n"
176 "float32 vel_x # x-component of velocity in the coordinate system defined by coordbase in m/s, -32.0 ... +32.0 m/s\n"
177 "float32 vel_y # y-component of velocity in the coordinate system defined by coordbase in m/s, -32.0 ... +32.0 m/s\n"
178 "float32 omega # angular velocity of the NAV350 in radians/s, -2*PI ... +2*PI rad/s\n"
179 "uint32 timestamp # Timestamp of the Velocity vector related to the NAV350 clock\n"
180 "uint8 coordbase # Coordinate system of the velocity vector (local or global), 0 = local coordinate system of the NAV350, 1 = absolute coordinate system\n"
181 ;
182  }
183 
184  static const char* value(const ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator>&) { return value(); }
185 };
186 
187 } // namespace message_traits
188 } // namespace roswrap
189 
190 namespace roswrap
191 {
192 namespace serialization
193 {
194 
195  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> >
196  {
197  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
198  {
199  stream.next(m.vel_x);
200  stream.next(m.vel_y);
201  stream.next(m.omega);
202  stream.next(m.timestamp);
203  stream.next(m.coordbase);
204  }
205 
207  }; // struct NAVOdomVelocity_
208 
209 } // namespace serialization
210 } // namespace roswrap
211 
212 namespace roswrap
213 {
214 namespace message_operations
215 {
216 
217 template<class ContainerAllocator>
218 struct Printer< ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator> >
219 {
220  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::NAVOdomVelocity_<ContainerAllocator>& v)
221  {
222  s << indent << "vel_x: ";
223  Printer<float>::stream(s, indent + " ", v.vel_x);
224  s << indent << "vel_y: ";
225  Printer<float>::stream(s, indent + " ", v.vel_y);
226  s << indent << "omega: ";
227  Printer<float>::stream(s, indent + " ", v.omega);
228  s << indent << "timestamp: ";
229  Printer<uint32_t>::stream(s, indent + " ", v.timestamp);
230  s << indent << "coordbase: ";
231  Printer<uint8_t>::stream(s, indent + " ", v.coordbase);
232  }
233 };
234 
235 } // namespace message_operations
236 } // namespace roswrap
237 
238 #endif // SICK_SCAN_MESSAGE_NAVODOMVELOCITY_H
roswrap::message_traits::FalseType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:89
sick_scan_xd::operator<<
std::ostream & operator<<(std::ostream &s, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &v)
Definition: ColaMsgSrvRequest.h:59
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sick_scan_xd::operator!=
bool operator!=(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Definition: ColaMsgSrvRequest.h:73
sick_scan_xd::NAVOdomVelocity_::Ptr
std::shared_ptr< ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > > Ptr
Definition: NAVOdomVelocity.h:64
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
sick_scan_xd::NAVOdomVelocity_::coordbase
_coordbase_type coordbase
Definition: NAVOdomVelocity.h:58
roswrap::message_traits::HasHeader
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
Definition: message_traits.h:107
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_operations::Printer< ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > &v)
Definition: NAVOdomVelocity.h:220
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
sick_scan_xd::NAVOdomVelocity_::vel_y
_vel_y_type vel_y
Definition: NAVOdomVelocity.h:49
roswrap::message_traits::IsFixedSize
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Definition: message_traits.h:103
roswrap::message_traits::DataType< ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > >::value
static const char * value()
Definition: NAVOdomVelocity.h:161
roswrap::serialization::Serializer< ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: NAVOdomVelocity.h:197
ros::message_operations::Printer
ROS_DECLARE_ALLINONE_SERIALIZER
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: serialization.h:74
sick_scan_xd
Definition: abstract_parser.cpp:65
sick_scan_xd::NAVOdomVelocity_::omega
_omega_type omega
Definition: NAVOdomVelocity.h:52
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
sick_scan_xd::NAVOdomVelocity_
Definition: NAVOdomVelocity.h:23
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
roswrap::message_traits::Definition< ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > &)
Definition: NAVOdomVelocity.h:184
sick_scan_xd::NAVOdomVelocity_::NAVOdomVelocity_
NAVOdomVelocity_(const ContainerAllocator &_alloc)
Definition: NAVOdomVelocity.h:34
sick_scan_xd::NAVOdomVelocity_::_omega_type
float _omega_type
Definition: NAVOdomVelocity.h:51
sick_scan_xd::NAVOdomVelocity_::ConstPtr
std::shared_ptr< ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > const > ConstPtr
Definition: NAVOdomVelocity.h:65
sick_scan_xd::NAVOdomVelocity_::timestamp
_timestamp_type timestamp
Definition: NAVOdomVelocity.h:55
roswrap::message_traits::DataType< ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > &)
Definition: NAVOdomVelocity.h:166
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::MD5Sum< ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > >::value
static const char * value()
Definition: NAVOdomVelocity.h:148
sick_scan_xd::NAVOdomVelocity_::NAVOdomVelocity_
NAVOdomVelocity_()
Definition: NAVOdomVelocity.h:27
sick_scan_xd::NAVOdomVelocity_::_vel_y_type
float _vel_y_type
Definition: NAVOdomVelocity.h:48
roswrap::message_traits::TrueType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:79
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_xd::NAVOdomVelocity_::_timestamp_type
uint32_t _timestamp_type
Definition: NAVOdomVelocity.h:54
sick_scan_xd::operator==
bool operator==(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Definition: ColaMsgSrvRequest.h:67
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sick_scan_xd::NAVOdomVelocity_::_vel_x_type
float _vel_x_type
Definition: NAVOdomVelocity.h:45
sick_scan_xd::NAVOdomVelocity_::_coordbase_type
uint8_t _coordbase_type
Definition: NAVOdomVelocity.h:57
sick_scan_xd::NAVOdomVelocity_::Type
NAVOdomVelocity_< ContainerAllocator > Type
Definition: NAVOdomVelocity.h:25
roswrap::message_traits::Definition< ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > >::value
static const char * value()
Definition: NAVOdomVelocity.h:172
sick_scan_xd::NAVOdomVelocityPtr
std::shared_ptr< ::sick_scan_xd::NAVOdomVelocity > NAVOdomVelocityPtr
Definition: NAVOdomVelocity.h:71
sick_scan_xd::NAVOdomVelocity
::sick_scan_xd::NAVOdomVelocity_< std::allocator< void > > NAVOdomVelocity
Definition: NAVOdomVelocity.h:69
sick_scan_xd::NAVOdomVelocityConstPtr
std::shared_ptr< ::sick_scan_xd::NAVOdomVelocity const > NAVOdomVelocityConstPtr
Definition: NAVOdomVelocity.h:72
roswrap::message_traits::MD5Sum< ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::NAVOdomVelocity_< ContainerAllocator > &)
Definition: NAVOdomVelocity.h:153
sick_scan_xd::NAVOdomVelocity_::vel_x
_vel_x_type vel_x
Definition: NAVOdomVelocity.h:46


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09