SickLocSetPoseSrvRequest.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/SickLocSetPoseSrvRequest.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCSETPOSESRVREQUEST_H
7 #define SICK_SCAN_MESSAGE_SICKLOCSETPOSESRVREQUEST_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  : posex(0)
29  , posey(0)
30  , yaw(0)
31  , uncertainty(0) {
32  }
33  SickLocSetPoseSrvRequest_(const ContainerAllocator& _alloc)
34  : posex(0)
35  , posey(0)
36  , yaw(0)
37  , uncertainty(0) {
38  (void)_alloc;
39  }
40 
41 
42 
43  typedef int32_t _posex_type;
45 
46  typedef int32_t _posey_type;
48 
49  typedef int32_t _yaw_type;
51 
52  typedef int32_t _uncertainty_type;
54 
55 
56 
57 
58 
59  typedef std::shared_ptr< ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator> > Ptr;
60  typedef std::shared_ptr< ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator> const> ConstPtr;
61 
62 }; // struct SickLocSetPoseSrvRequest_
63 
64 typedef ::sick_scan_xd::SickLocSetPoseSrvRequest_<std::allocator<void> > SickLocSetPoseSrvRequest;
65 
66 typedef std::shared_ptr< ::sick_scan_xd::SickLocSetPoseSrvRequest > SickLocSetPoseSrvRequestPtr;
67 typedef std::shared_ptr< ::sick_scan_xd::SickLocSetPoseSrvRequest const> SickLocSetPoseSrvRequestConstPtr;
68 
69 // constants requiring out of line definition
70 
71 
72 
73 template<typename ContainerAllocator>
74 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator> & v)
75 {
77 return s;
78 }
79 
80 
81 template<typename ContainerAllocator1, typename ContainerAllocator2>
82 bool operator==(const ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator2> & rhs)
83 {
84  return lhs.posex == rhs.posex &&
85  lhs.posey == rhs.posey &&
86  lhs.yaw == rhs.yaw &&
87  lhs.uncertainty == rhs.uncertainty;
88 }
89 
90 template<typename ContainerAllocator1, typename ContainerAllocator2>
91 bool operator!=(const ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator2> & rhs)
92 {
93  return !(lhs == rhs);
94 }
95 
96 
97 } // namespace sick_scan_xd
98 
99 namespace roswrap
100 {
101 namespace message_traits
102 {
103 
104 
105 
106 
107 
108 template <class ContainerAllocator>
110  : TrueType
111  { };
112 
113 template <class ContainerAllocator>
115  : TrueType
116  { };
117 
118 template <class ContainerAllocator>
119 struct IsMessage< ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator> >
120  : TrueType
121  { };
122 
123 template <class ContainerAllocator>
125  : TrueType
126  { };
127 
128 template <class ContainerAllocator>
129 struct HasHeader< ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator> >
130  : FalseType
131  { };
132 
133 template <class ContainerAllocator>
135  : FalseType
136  { };
137 
138 
139 template<class ContainerAllocator>
140 struct MD5Sum< ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator> >
141 {
142  static const char* value()
143  {
144  return "7d897868432ba26eb05c98367f28fc3a";
145  }
146 
147  static const char* value(const ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator>&) { return value(); }
148  static const uint64_t static_value1 = 0x7d897868432ba26eULL;
149  static const uint64_t static_value2 = 0xb05c98367f28fc3aULL;
150 };
151 
152 template<class ContainerAllocator>
153 struct DataType< ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator> >
154 {
155  static const char* value()
156  {
157  return "sick_scan/SickLocSetPoseSrvRequest";
158  }
159 
160  static const char* value(const ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator>&) { return value(); }
161 };
162 
163 template<class ContainerAllocator>
165 {
166  static const char* value()
167  {
168  return "# Definition of ROS service SickLocSetPose for sick localization.\n"
169 "#\n"
170 "# ROS service SickLocSetPose initializes the vehicle pose\n"
171 "# by sending cola command (\"sMN LocSetPose <posex> <posey> <yaw> <uncertainty>\")\n"
172 "# with parameter\n"
173 "# <posex>: x coordinate in mm\n"
174 "# <posey>: y coordinate in mm\n"
175 "# <yaw>: yaw angle in millidegree, -180000 to +180000\n"
176 "# <uncertainty>: translation uncertainty in mm\n"
177 "#\n"
178 "# See Telegram-Listing-v1.1.0.241R.pdf for further details about \n"
179 "# Cola telegrams and this command.\n"
180 "\n"
181 "#\n"
182 "# Request (input)\n"
183 "#\n"
184 "\n"
185 "int32 posex # x coordinate in mm\n"
186 "int32 posey # y coordinate in mm\n"
187 "int32 yaw # yaw angle in millidegree, -180000 to +180000\n"
188 "int32 uncertainty # translation uncertainty in mm\n"
189 "\n"
190 ;
191  }
192 
193  static const char* value(const ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator>&) { return value(); }
194 };
195 
196 } // namespace message_traits
197 } // namespace roswrap
198 
199 namespace roswrap
200 {
201 namespace serialization
202 {
203 
204  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator> >
205  {
206  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
207  {
208  stream.next(m.posex);
209  stream.next(m.posey);
210  stream.next(m.yaw);
211  stream.next(m.uncertainty);
212  }
213 
215  }; // struct SickLocSetPoseSrvRequest_
216 
217 } // namespace serialization
218 } // namespace roswrap
219 
220 namespace roswrap
221 {
222 namespace message_operations
223 {
224 
225 template<class ContainerAllocator>
226 struct Printer< ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator> >
227 {
228  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickLocSetPoseSrvRequest_<ContainerAllocator>& v)
229  {
230  s << indent << "posex: ";
231  Printer<int32_t>::stream(s, indent + " ", v.posex);
232  s << indent << "posey: ";
233  Printer<int32_t>::stream(s, indent + " ", v.posey);
234  s << indent << "yaw: ";
235  Printer<int32_t>::stream(s, indent + " ", v.yaw);
236  s << indent << "uncertainty: ";
237  Printer<int32_t>::stream(s, indent + " ", v.uncertainty);
238  }
239 };
240 
241 } // namespace message_operations
242 } // namespace roswrap
243 
244 #endif // SICK_SCAN_MESSAGE_SICKLOCSETPOSESRVREQUEST_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
sick_scan_xd::SickLocSetPoseSrvRequest_::SickLocSetPoseSrvRequest_
SickLocSetPoseSrvRequest_(const ContainerAllocator &_alloc)
Definition: SickLocSetPoseSrvRequest.h:33
sick_scan_xd::SickLocSetPoseSrvRequest_::posex
_posex_type posex
Definition: SickLocSetPoseSrvRequest.h:44
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
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocSetPoseSrvRequest.h:155
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
sick_scan_xd::SickLocSetPoseSrvRequest_::Type
SickLocSetPoseSrvRequest_< ContainerAllocator > Type
Definition: SickLocSetPoseSrvRequest.h:25
sick_scan_xd::SickLocSetPoseSrvRequest_::_posey_type
int32_t _posey_type
Definition: SickLocSetPoseSrvRequest.h:46
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
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
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
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sick_scan_xd::SickLocSetPoseSrvRequest_::uncertainty
_uncertainty_type uncertainty
Definition: SickLocSetPoseSrvRequest.h:53
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > &)
Definition: SickLocSetPoseSrvRequest.h:160
sick_scan_xd::SickLocSetPoseSrvRequest_::posey
_posey_type posey
Definition: SickLocSetPoseSrvRequest.h:47
roswrap::message_operations::Printer< ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > &v)
Definition: SickLocSetPoseSrvRequest.h:228
sick_scan_xd::SickLocSetPoseSrvRequest_::_yaw_type
int32_t _yaw_type
Definition: SickLocSetPoseSrvRequest.h:49
sick_scan_xd::SickLocSetPoseSrvRequestPtr
std::shared_ptr< ::sick_scan_xd::SickLocSetPoseSrvRequest > SickLocSetPoseSrvRequestPtr
Definition: SickLocSetPoseSrvRequest.h:66
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > &)
Definition: SickLocSetPoseSrvRequest.h:193
sick_scan_xd::SickLocSetPoseSrvRequest_::yaw
_yaw_type yaw
Definition: SickLocSetPoseSrvRequest.h:50
sick_scan_xd::SickLocSetPoseSrvRequest_::_posex_type
int32_t _posex_type
Definition: SickLocSetPoseSrvRequest.h:43
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
sick_scan_xd::SickLocSetPoseSrvRequest_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > const > ConstPtr
Definition: SickLocSetPoseSrvRequest.h:60
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > &)
Definition: SickLocSetPoseSrvRequest.h:147
sick_scan_xd::SickLocSetPoseSrvRequest_
Definition: SickLocSetPoseSrvRequest.h:23
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::serialization::Serializer< ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickLocSetPoseSrvRequest.h:206
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_xd::SickLocSetPoseSrvRequest_::_uncertainty_type
int32_t _uncertainty_type
Definition: SickLocSetPoseSrvRequest.h:52
sick_scan_xd::SickLocSetPoseSrvRequest_::Ptr
std::shared_ptr< ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > > Ptr
Definition: SickLocSetPoseSrvRequest.h:59
sick_scan_xd::operator==
bool operator==(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Definition: ColaMsgSrvRequest.h:67
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocSetPoseSrvRequest.h:166
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sick_scan_xd::SickLocSetPoseSrvRequest_::SickLocSetPoseSrvRequest_
SickLocSetPoseSrvRequest_()
Definition: SickLocSetPoseSrvRequest.h:27
sick_scan_xd::SickLocSetPoseSrvRequestConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocSetPoseSrvRequest const > SickLocSetPoseSrvRequestConstPtr
Definition: SickLocSetPoseSrvRequest.h:67
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocSetPoseSrvRequest_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocSetPoseSrvRequest.h:142
sick_scan_xd::SickLocSetPoseSrvRequest
::sick_scan_xd::SickLocSetPoseSrvRequest_< std::allocator< void > > SickLocSetPoseSrvRequest
Definition: SickLocSetPoseSrvRequest.h:64


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