AccelWithCovariance.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/AccelWithCovariance.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H
6 #define GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 #include <array>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
17 #include <ros/message_operations.h>
18 
19 #include <geometry_msgs/Accel.h>
20 
21 namespace geometry_msgs
22 {
23 template <class ContainerAllocator>
25 {
27 
29  : accel()
30  , covariance() {
31  covariance.assign(0.0);
32  }
33  AccelWithCovariance_(const ContainerAllocator& _alloc)
34  : accel(_alloc)
35  , covariance() {
36  (void)_alloc;
37  covariance.assign(0.0);
38  }
39 
40 
41 
42  typedef ::geometry_msgs::Accel_<ContainerAllocator> _accel_type;
44 
45  typedef std::array<double, 36> _covariance_type;
47 
48 
49 
50 
51  typedef std::shared_ptr< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> > Ptr;
52  typedef std::shared_ptr< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> const> ConstPtr;
53 
54 }; // struct AccelWithCovariance_
55 
56 typedef ::geometry_msgs::AccelWithCovariance_<std::allocator<void> > AccelWithCovariance;
57 
58 typedef std::shared_ptr< ::geometry_msgs::AccelWithCovariance > AccelWithCovariancePtr;
59 typedef std::shared_ptr< ::geometry_msgs::AccelWithCovariance const> AccelWithCovarianceConstPtr;
60 
61 // constants requiring out of line definition
62 
63 
64 
65 template<typename ContainerAllocator>
66 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> & v)
67 {
69 return s;
70 }
71 
72 } // namespace geometry_msgs
73 
74 namespace rs2rosinternal
75 {
76 namespace message_traits
77 {
78 
79 
80 
81 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
82 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
83 
84 // !!!!!!!!!!! ['__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']
85 
86 
87 
88 
89 template <class ContainerAllocator>
90 struct IsFixedSize< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
91  : std::true_type
92  { };
93 
94 template <class ContainerAllocator>
95 struct IsFixedSize< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> const>
96  : std::true_type
97  { };
98 
99 template <class ContainerAllocator>
100 struct IsMessage< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
101  : std::true_type
102  { };
103 
104 template <class ContainerAllocator>
105 struct IsMessage< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> const>
106  : std::true_type
107  { };
108 
109 template <class ContainerAllocator>
110 struct HasHeader< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
111  : std::false_type
112  { };
113 
114 template <class ContainerAllocator>
115 struct HasHeader< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> const>
116  : std::false_type
117  { };
118 
119 
120 template<class ContainerAllocator>
121 struct MD5Sum< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
122 {
123  static const char* value()
124  {
125  return "ad5a718d699c6be72a02b8d6a139f334";
126  }
127 
128  static const char* value(const ::geometry_msgs::AccelWithCovariance_<ContainerAllocator>&) { return value(); }
129  static const uint64_t static_value1 = 0xad5a718d699c6be7ULL;
130  static const uint64_t static_value2 = 0x2a02b8d6a139f334ULL;
131 };
132 
133 template<class ContainerAllocator>
134 struct DataType< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
135 {
136  static const char* value()
137  {
138  return "geometry_msgs/AccelWithCovariance";
139  }
140 
141  static const char* value(const ::geometry_msgs::AccelWithCovariance_<ContainerAllocator>&) { return value(); }
142 };
143 
144 template<class ContainerAllocator>
145 struct Definition< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
146 {
147  static const char* value()
148  {
149  return "# This expresses acceleration in free space with uncertainty.\n\
150 \n\
151 Accel accel\n\
152 \n\
153 # Row-major representation of the 6x6 covariance matrix\n\
154 # The orientation parameters use a fixed-axis representation.\n\
155 # In order, the parameters are:\n\
156 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
157 float64[36] covariance\n\
158 \n\
159 ================================================================================\n\
160 MSG: geometry_msgs/Accel\n\
161 # This expresses acceleration in free space broken into its linear and angular parts.\n\
162 Vector3 linear\n\
163 Vector3 angular\n\
164 \n\
165 ================================================================================\n\
166 MSG: geometry_msgs/Vector3\n\
167 # This represents a vector in free space. \n\
168 # It is only meant to represent a direction. Therefore, it does not\n\
169 # make sense to apply a translation to it (e.g., when applying a \n\
170 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
171 # rotation). If you want your data to be translatable too, use the\n\
172 # geometry_msgs/Point message instead.\n\
173 \n\
174 float64 x\n\
175 float64 y\n\
176 float64 z\n\
177 ";
178  }
179 
180  static const char* value(const ::geometry_msgs::AccelWithCovariance_<ContainerAllocator>&) { return value(); }
181 };
182 
183 } // namespace message_traits
184 } // namespace rs2rosinternal
185 
186 namespace rs2rosinternal
187 {
188 namespace serialization
189 {
190 
191  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
192  {
193  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
194  {
195  stream.next(m.accel);
196  stream.next(m.covariance);
197  }
198 
200  }; // struct AccelWithCovariance_
201 
202 } // namespace serialization
203 } // namespace rs2rosinternal
204 
205 namespace rs2rosinternal
206 {
207 namespace message_operations
208 {
209 
210 template<class ContainerAllocator>
211 struct Printer< ::geometry_msgs::AccelWithCovariance_<ContainerAllocator> >
212 {
213  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::AccelWithCovariance_<ContainerAllocator>& v)
214  {
215  s << indent << "accel: ";
216  s << std::endl;
218  s << indent << "covariance[]" << std::endl;
219  for (size_t i = 0; i < v.covariance.size(); ++i)
220  {
221  s << indent << " covariance[" << i << "]: ";
222  Printer<double>::stream(s, indent + " ", v.covariance[i]);
223  }
224  }
225 };
226 
227 } // namespace message_operations
228 } // namespace rs2rosinternal
229 
230 #endif // GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H
geometry_msgs::AccelWithCovariance_
Definition: AccelWithCovariance.h:24
rs2rosinternal::serialization::Serializer< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: AccelWithCovariance.h:193
rs2rosinternal::message_traits::MD5Sum< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > >::value
static const char * value()
Definition: AccelWithCovariance.h:123
geometry_msgs::AccelWithCovarianceConstPtr
std::shared_ptr< ::geometry_msgs::AccelWithCovariance const > AccelWithCovarianceConstPtr
Definition: AccelWithCovariance.h:59
geometry_msgs::AccelWithCovariancePtr
std::shared_ptr< ::geometry_msgs::AccelWithCovariance > AccelWithCovariancePtr
Definition: AccelWithCovariance.h:58
geometry_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::geometry_msgs::Accel_< ContainerAllocator > &v)
Definition: Accel.h:64
rs2rosinternal::message_traits::MD5Sum< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > &)
Definition: AccelWithCovariance.h:128
v
GLdouble v
Definition: glad/glad/glad.h:2144
geometry_msgs::AccelWithCovariance_::covariance
_covariance_type covariance
Definition: AccelWithCovariance.h:46
string
GLsizei const GLchar *const * string
Definition: glad/glad/glad.h:2861
geometry_msgs::Accel_
Definition: Accel.h:24
geometry_msgs::AccelWithCovariance_::_accel_type
::geometry_msgs::Accel_< ContainerAllocator > _accel_type
Definition: AccelWithCovariance.h:42
geometry_msgs
Definition: ros2quaternion.h:55
void
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
geometry_msgs::AccelWithCovariance_::accel
_accel_type accel
Definition: AccelWithCovariance.h:43
geometry_msgs::AccelWithCovariance
::geometry_msgs::AccelWithCovariance_< std::allocator< void > > AccelWithCovariance
Definition: AccelWithCovariance.h:56
geometry_msgs::AccelWithCovariance_::AccelWithCovariance_
AccelWithCovariance_(const ContainerAllocator &_alloc)
Definition: AccelWithCovariance.h:33
rs2rosinternal::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:81
rs2rosinternal
Definition: datatypes.h:39
serialization.h
rs2rosinternal::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:90
m
std::mutex m
Definition: test-waiting-on.cpp:126
builtin_message_traits.h
uint64_t
unsigned __int64 uint64_t
Definition: stdint.h:90
i
int i
Definition: rs-pcl-color.cpp:54
test-device-discovery.stream
stream
Definition: test-device-discovery.py:295
rspy.log.indent
def indent(str, line_prefix=' ')
Definition: log.py:122
rs2rosinternal::message_operations::Printer< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > &v)
Definition: AccelWithCovariance.h:213
rs2rosinternal::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:130
rs2rosinternal::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:96
geometry_msgs::AccelWithCovariance_::_covariance_type
std::array< double, 36 > _covariance_type
Definition: AccelWithCovariance.h:45
geometry_msgs::AccelWithCovariance_::ConstPtr
std::shared_ptr< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > const > ConstPtr
Definition: AccelWithCovariance.h:52
Accel.h
rs2rosinternal::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:111
rs2rosinternal::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:85
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: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:66
rs2rosinternal::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:42
rs2rosinternal::message_operations::Printer
Definition: message_operations.h:39
geometry_msgs::AccelWithCovariance_::Type
AccelWithCovariance_< ContainerAllocator > Type
Definition: AccelWithCovariance.h:26
rs2rosinternal::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:113
geometry_msgs::AccelWithCovariance_::Ptr
std::shared_ptr< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > > Ptr
Definition: AccelWithCovariance.h:51
rs2rosinternal::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:694
rs2rosinternal::message_traits::Definition< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > >::value
static const char * value()
Definition: AccelWithCovariance.h:147
s
GLdouble s
Definition: glad/glad/glad.h:2441
rs2rosinternal::message_traits::Definition< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > &)
Definition: AccelWithCovariance.h:180
rs2rosinternal::message_traits::DataType< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > >::value
static const char * value()
Definition: AccelWithCovariance.h:136
types.h
message_operations.h
geometry_msgs::AccelWithCovariance_::AccelWithCovariance_
AccelWithCovariance_()
Definition: AccelWithCovariance.h:28
rs2rosinternal::message_traits::DataType< ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::AccelWithCovariance_< ContainerAllocator > &)
Definition: AccelWithCovariance.h:141


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:00