MultiDOFJointState.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 sensor_msgs/MultiDOFJointState.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SENSOR_MSGS_MESSAGE_MULTIDOFJOINTSTATE_H
7 #define SENSOR_MSGS_MESSAGE_MULTIDOFJOINTSTATE_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 #include <std_msgs/Header.h>
21 #include <geometry_msgs/Twist.h>
22 #include <geometry_msgs/Wrench.h>
23 
24 namespace sensor_msgs
25 {
26 template <class ContainerAllocator>
28 {
30 
32  : header()
33  , joint_names()
34  , transforms()
35  , twist()
36  , wrench() {
37  }
38  MultiDOFJointState_(const ContainerAllocator& _alloc)
39  : header(_alloc)
40  , joint_names(_alloc)
41  , transforms(_alloc)
42  , twist(_alloc)
43  , wrench(_alloc) {
44  (void)_alloc;
45  }
46 
47 
48 
49  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
51 
52  typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _joint_names_type;
54 
55  typedef std::vector< ::geometry_msgs::Transform_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Transform_<ContainerAllocator> >::other > _transforms_type;
57 
58  typedef std::vector< ::geometry_msgs::Twist_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Twist_<ContainerAllocator> >::other > _twist_type;
60 
61  typedef std::vector< ::geometry_msgs::Wrench_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Wrench_<ContainerAllocator> >::other > _wrench_type;
63 
64 
65 
66 
67  typedef std::shared_ptr< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> > Ptr;
68  typedef std::shared_ptr< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> const> ConstPtr;
69 
70 }; // struct MultiDOFJointState_
71 
72 typedef ::sensor_msgs::MultiDOFJointState_<std::allocator<void> > MultiDOFJointState;
73 
74 typedef std::shared_ptr< ::sensor_msgs::MultiDOFJointState > MultiDOFJointStatePtr;
75 typedef std::shared_ptr< ::sensor_msgs::MultiDOFJointState const> MultiDOFJointStateConstPtr;
76 
77 // constants requiring out of line definition
78 
79 
80 
81 template<typename ContainerAllocator>
82 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> & v)
83 {
85 return s;
86 }
87 
88 } // namespace sensor_msgs
89 
90 namespace roswrap
91 {
92 namespace message_traits
93 {
94 
95 
96 
97 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
98 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'sensor_msgs': ['/tmp/binarydeb/ros-kinetic-sensor-msgs-1.12.5/msg']}
99 
100 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
101 
102 
103 
104 
105 template <class ContainerAllocator>
106 struct IsFixedSize< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> >
107  : FalseType
108  { };
109 
110 template <class ContainerAllocator>
111 struct IsFixedSize< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> const>
112  : FalseType
113  { };
114 
115 template <class ContainerAllocator>
116 struct IsMessage< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> >
117  : TrueType
118  { };
119 
120 template <class ContainerAllocator>
121 struct IsMessage< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> const>
122  : TrueType
123  { };
124 
125 template <class ContainerAllocator>
126 struct HasHeader< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> >
127  : TrueType
128  { };
129 
130 template <class ContainerAllocator>
131 struct HasHeader< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> const>
132  : TrueType
133  { };
134 
135 
136 template<class ContainerAllocator>
137 struct MD5Sum< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> >
138 {
139  static const char* value()
140  {
141  return "690f272f0640d2631c305eeb8301e59d";
142  }
143 
144  static const char* value(const ::sensor_msgs::MultiDOFJointState_<ContainerAllocator>&) { return value(); }
145  static const uint64_t static_value1 = 0x690f272f0640d263ULL;
146  static const uint64_t static_value2 = 0x1c305eeb8301e59dULL;
147 };
148 
149 template<class ContainerAllocator>
150 struct DataType< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> >
151 {
152  static const char* value()
153  {
154  return "sensor_msgs/MultiDOFJointState";
155  }
156 
157  static const char* value(const ::sensor_msgs::MultiDOFJointState_<ContainerAllocator>&) { return value(); }
158 };
159 
160 template<class ContainerAllocator>
161 struct Definition< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> >
162 {
163  static const char* value()
164  {
165  return "# Representation of state for joints with multiple degrees of freedom, \n\
166 # following the structure of JointState.\n\
167 #\n\
168 # It is assumed that a joint in a system corresponds to a transform that gets applied \n\
169 # along the kinematic chain. For example, a planar joint (as in URDF) is 3DOF (x, y, yaw)\n\
170 # and those 3DOF can be expressed as a transformation matrix, and that transformation\n\
171 # matrix can be converted back to (x, y, yaw)\n\
172 #\n\
173 # Each joint is uniquely identified by its name\n\
174 # The header specifies the time at which the joint states were recorded. All the joint states\n\
175 # in one message have to be recorded at the same time.\n\
176 #\n\
177 # This message consists of a multiple arrays, one for each part of the joint state. \n\
178 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
179 # wrench associated with them, you can leave the wrench array empty. \n\
180 #\n\
181 # All arrays in this message should have the same size, or be empty.\n\
182 # This is the only way to uniquely associate the joint name with the correct\n\
183 # states.\n\
184 \n\
185 Header header\n\
186 \n\
187 string[] joint_names\n\
188 geometry_msgs/Transform[] transforms\n\
189 geometry_msgs/Twist[] twist\n\
190 geometry_msgs/Wrench[] wrench\n\
191 \n\
192 ================================================================================\n\
193 MSG: std_msgs/Header\n\
194 # Standard metadata for higher-level stamped data types.\n\
195 # This is generally used to communicate timestamped data \n\
196 # in a particular coordinate frame.\n\
197 # \n\
198 # sequence ID: consecutively increasing ID \n\
199 uint32 seq\n\
200 #Two-integer timestamp that is expressed as:\n\
201 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
202 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
203 # time-handling sugar is provided by the client library\n\
204 time stamp\n\
205 #Frame this data is associated with\n\
206 # 0: no frame\n\
207 # 1: global frame\n\
208 string frame_id\n\
209 \n\
210 ================================================================================\n\
211 MSG: geometry_msgs/Transform\n\
212 # This represents the transform between two coordinate frames in free space.\n\
213 \n\
214 Vector3 translation\n\
215 Quaternion rotation\n\
216 \n\
217 ================================================================================\n\
218 MSG: geometry_msgs/Vector3\n\
219 # This represents a vector in free space. \n\
220 # It is only meant to represent a direction. Therefore, it does not\n\
221 # make sense to apply a translation to it (e.g., when applying a \n\
222 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
223 # rotation). If you want your data to be translatable too, use the\n\
224 # geometry_msgs/Point message instead.\n\
225 \n\
226 float64 x\n\
227 float64 y\n\
228 float64 z\n\
229 ================================================================================\n\
230 MSG: geometry_msgs/Quaternion\n\
231 # This represents an orientation in free space in quaternion form.\n\
232 \n\
233 float64 x\n\
234 float64 y\n\
235 float64 z\n\
236 float64 w\n\
237 \n\
238 ================================================================================\n\
239 MSG: geometry_msgs/Twist\n\
240 # This expresses velocity in free space broken into its linear and angular parts.\n\
241 Vector3 linear\n\
242 Vector3 angular\n\
243 \n\
244 ================================================================================\n\
245 MSG: geometry_msgs/Wrench\n\
246 # This represents force in free space, separated into\n\
247 # its linear and angular parts.\n\
248 Vector3 force\n\
249 Vector3 torque\n\
250 ";
251  }
252 
253  static const char* value(const ::sensor_msgs::MultiDOFJointState_<ContainerAllocator>&) { return value(); }
254 };
255 
256 } // namespace message_traits
257 } // namespace roswrap
258 
259 namespace roswrap
260 {
261 namespace serialization
262 {
263 
264  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> >
265  {
266  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
267  {
268  stream.next(m.header);
269  stream.next(m.joint_names);
270  stream.next(m.transforms);
271  stream.next(m.twist);
272  stream.next(m.wrench);
273  }
274 
276  }; // struct MultiDOFJointState_
277 
278 } // namespace serialization
279 } // namespace roswrap
280 
281 namespace roswrap
282 {
283 namespace message_operations
284 {
285 
286 template<class ContainerAllocator>
287 struct Printer< ::sensor_msgs::MultiDOFJointState_<ContainerAllocator> >
288 {
289  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::MultiDOFJointState_<ContainerAllocator>& v)
290  {
291  s << indent << "header: ";
292  s << std::endl;
294  s << indent << "joint_names[]" << std::endl;
295  for (size_t i = 0; i < v.joint_names.size(); ++i)
296  {
297  s << indent << " joint_names[" << i << "]: ";
298  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.joint_names[i]);
299  }
300  s << indent << "transforms[]" << std::endl;
301  for (size_t i = 0; i < v.transforms.size(); ++i)
302  {
303  s << indent << " transforms[" << i << "]: ";
304  s << std::endl;
305  s << indent;
307  }
308  s << indent << "twist[]" << std::endl;
309  for (size_t i = 0; i < v.twist.size(); ++i)
310  {
311  s << indent << " twist[" << i << "]: ";
312  s << std::endl;
313  s << indent;
315  }
316  s << indent << "wrench[]" << std::endl;
317  for (size_t i = 0; i < v.wrench.size(); ++i)
318  {
319  s << indent << " wrench[" << i << "]: ";
320  s << std::endl;
321  s << indent;
323  }
324  }
325 };
326 
327 } // namespace message_operations
328 } // namespace roswrap
329 
330 #endif // SENSOR_MSGS_MESSAGE_MULTIDOFJOINTSTATE_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
roswrap::serialization::Serializer< ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: MultiDOFJointState.h:266
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sensor_msgs::MultiDOFJointState_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: MultiDOFJointState.h:49
roswrap::message_traits::Definition< ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > >::value
static const char * value()
Definition: MultiDOFJointState.h:163
sensor_msgs::MultiDOFJointStatePtr
std::shared_ptr< ::sensor_msgs::MultiDOFJointState > MultiDOFJointStatePtr
Definition: MultiDOFJointState.h:74
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
sensor_msgs::MultiDOFJointStateConstPtr
std::shared_ptr< ::sensor_msgs::MultiDOFJointState const > MultiDOFJointStateConstPtr
Definition: MultiDOFJointState.h:75
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
sensor_msgs::MultiDOFJointState_::ConstPtr
std::shared_ptr< ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > const > ConstPtr
Definition: MultiDOFJointState.h:68
sensor_msgs::MultiDOFJointState_::_joint_names_type
std::vector< std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other >, typename ContainerAllocator::template rebind< std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > >::other > _joint_names_type
Definition: MultiDOFJointState.h:52
roswrap::message_traits::Definition< ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > &)
Definition: MultiDOFJointState.h:253
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
sensor_msgs::MultiDOFJointState_
Definition: MultiDOFJointState.h:27
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
Transform.h
sensor_msgs::MultiDOFJointState_::_transforms_type
std::vector< ::geometry_msgs::Transform_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::geometry_msgs::Transform_< ContainerAllocator > >::other > _transforms_type
Definition: MultiDOFJointState.h:55
sensor_msgs::MultiDOFJointState_::twist
_twist_type twist
Definition: MultiDOFJointState.h:59
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
sensor_msgs::MultiDOFJointState_::_wrench_type
std::vector< ::geometry_msgs::Wrench_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::geometry_msgs::Wrench_< ContainerAllocator > >::other > _wrench_type
Definition: MultiDOFJointState.h:61
sensor_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
Definition: BatteryState.h:187
roswrap::message_operations::Printer< ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > &v)
Definition: MultiDOFJointState.h:289
roswrap::message_traits::DataType< ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > &)
Definition: MultiDOFJointState.h:157
Twist.h
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
Wrench.h
std_msgs::Header_
Definition: Header.h:23
sensor_msgs::MultiDOFJointState_::header
_header_type header
Definition: MultiDOFJointState.h:50
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
sensor_msgs::MultiDOFJointState_::Ptr
std::shared_ptr< ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > > Ptr
Definition: MultiDOFJointState.h:67
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sensor_msgs::MultiDOFJointState_::wrench
_wrench_type wrench
Definition: MultiDOFJointState.h:62
sensor_msgs::MultiDOFJointState_::joint_names
_joint_names_type joint_names
Definition: MultiDOFJointState.h:53
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sensor_msgs::MultiDOFJointState_::_twist_type
std::vector< ::geometry_msgs::Twist_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::geometry_msgs::Twist_< ContainerAllocator > >::other > _twist_type
Definition: MultiDOFJointState.h:58
sensor_msgs::MultiDOFJointState_::MultiDOFJointState_
MultiDOFJointState_(const ContainerAllocator &_alloc)
Definition: MultiDOFJointState.h:38
sensor_msgs::MultiDOFJointState
::sensor_msgs::MultiDOFJointState_< std::allocator< void > > MultiDOFJointState
Definition: MultiDOFJointState.h:72
sensor_msgs::MultiDOFJointState_::MultiDOFJointState_
MultiDOFJointState_()
Definition: MultiDOFJointState.h:31
roswrap::message_traits::DataType< ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > >::value
static const char * value()
Definition: MultiDOFJointState.h:152
sensor_msgs
Tools for manipulating sensor_msgs.
roswrap::message_traits::MD5Sum< ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > &)
Definition: MultiDOFJointState.h:144
sensor_msgs::MultiDOFJointState_::transforms
_transforms_type transforms
Definition: MultiDOFJointState.h:56
Header.h
roswrap::message_traits::MD5Sum< ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > >::value
static const char * value()
Definition: MultiDOFJointState.h:139
sensor_msgs::MultiDOFJointState_::Type
MultiDOFJointState_< ContainerAllocator > Type
Definition: MultiDOFJointState.h:29


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