5 #ifndef realsense_legacy_msgs_MESSAGE_EXTRINSICS_H 6 #define realsense_legacy_msgs_MESSAGE_EXTRINSICS_H 22 template <
class ContainerAllocator>
54 typedef std::shared_ptr< ::realsense_legacy_msgs::extrinsics_<ContainerAllocator> >
Ptr;
55 typedef std::shared_ptr< ::realsense_legacy_msgs::extrinsics_<ContainerAllocator>
const>
ConstPtr;
59 typedef ::realsense_legacy_msgs::extrinsics_<std::allocator<void> >
extrinsics;
61 typedef std::shared_ptr< ::realsense_legacy_msgs::extrinsics >
extrinsicsPtr;
68 template<
typename ContainerAllocator>
69 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::extrinsics_<ContainerAllocator> &
v)
79 namespace message_traits
92 template <
class ContainerAllocator>
97 template <
class ContainerAllocator>
102 template <
class ContainerAllocator>
107 template <
class ContainerAllocator>
112 template <
class ContainerAllocator>
117 template <
class ContainerAllocator>
123 template<
class ContainerAllocator>
128 return "21af2234bc223eca7ed86d7046906de5";
131 static const char*
value(const ::realsense_legacy_msgs::extrinsics_<ContainerAllocator>&) {
return value(); }
132 static const uint64_t static_value1 = 0x21af2234bc223ecaULL;
133 static const uint64_t static_value2 = 0x7ed86d7046906de5ULL;
136 template<
class ContainerAllocator>
141 return "realsense_legacy_msgs/extrinsics";
144 static const char*
value(const ::realsense_legacy_msgs::extrinsics_<ContainerAllocator>&) {
return value(); }
147 template<
class ContainerAllocator>
152 return "float32[9] rotation # column-major 3x3 rotation matrix \n\ 153 float32[3] translation # 3 element translation vector, in meters \n\ 157 static const char*
value(const ::realsense_legacy_msgs::extrinsics_<ContainerAllocator>&) {
return value(); }
165 namespace serialization
172 stream.next(m.rotation);
173 stream.next(m.translation);
184 namespace message_operations
187 template<
class ContainerAllocator>
190 template<
typename Stream>
static void stream(Stream&
s,
const std::string& indent, const ::realsense_legacy_msgs::extrinsics_<ContainerAllocator>&
v)
192 s << indent <<
"rotation[]" << std::endl;
193 for (
size_t i = 0;
i < v.rotation.size(); ++
i)
195 s << indent <<
" rotation[" <<
i <<
"]: ";
198 s << indent <<
"translation[]" << std::endl;
199 for (
size_t i = 0;
i < v.translation.size(); ++
i)
201 s << indent <<
" translation[" <<
i <<
"]: ";
210 #endif // realsense_legacy_msgs_MESSAGE_EXTRINSICS_H
::realsense_legacy_msgs::extrinsics_< std::allocator< void > > extrinsics
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
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::array< float, 9 > _rotation_type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
static const char * value(const ::realsense_legacy_msgs::extrinsics_< ContainerAllocator > &)
std::shared_ptr< ::realsense_legacy_msgs::extrinsics > extrinsicsPtr
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Stream base-class, provides common functionality for IStream and OStream.
static const char * value()
static const char * value(const ::realsense_legacy_msgs::extrinsics_< ContainerAllocator > &)
static const char * value()
static const char * value()
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
std::shared_ptr< ::realsense_legacy_msgs::extrinsics_< ContainerAllocator > > Ptr
Specialize to provide the definition for a message.
extrinsics_< ContainerAllocator > Type
extrinsics_(const ContainerAllocator &_alloc)
std::shared_ptr< ::realsense_legacy_msgs::extrinsics_< ContainerAllocator > const > ConstPtr
_translation_type translation
std::shared_ptr< ::realsense_legacy_msgs::extrinsics const > extrinsicsConstPtr
static void allInOne(Stream &stream, T m)
std::array< float, 3 > _translation_type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::extrinsics_< ContainerAllocator > &v)
static const char * value(const ::realsense_legacy_msgs::extrinsics_< ContainerAllocator > &)