Go to the documentation of this file.
6 #ifndef GEOMETRY_MSGS_MESSAGE_WRENCH_H
7 #define GEOMETRY_MSGS_MESSAGE_WRENCH_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
24 template <
class ContainerAllocator>
41 typedef ::geometry_msgs::Vector3_<ContainerAllocator>
_force_type;
44 typedef ::geometry_msgs::Vector3_<ContainerAllocator>
_torque_type;
50 typedef std::shared_ptr< ::geometry_msgs::Wrench_<ContainerAllocator> >
Ptr;
51 typedef std::shared_ptr< ::geometry_msgs::Wrench_<ContainerAllocator>
const>
ConstPtr;
55 typedef ::geometry_msgs::Wrench_<std::allocator<void> >
Wrench;
57 typedef std::shared_ptr< ::geometry_msgs::Wrench >
WrenchPtr;
64 template<
typename ContainerAllocator>
65 std::ostream&
operator<<(std::ostream& s, const ::geometry_msgs::Wrench_<ContainerAllocator> & v)
75 namespace message_traits
88 template <
class ContainerAllocator>
93 template <
class ContainerAllocator>
98 template <
class ContainerAllocator>
103 template <
class ContainerAllocator>
108 template <
class ContainerAllocator>
113 template <
class ContainerAllocator>
119 template<
class ContainerAllocator>
124 return "4f539cf138b23283b520fd271b567936";
127 static const char*
value(const ::geometry_msgs::Wrench_<ContainerAllocator>&) {
return value(); }
128 static const uint64_t static_value1 = 0x4f539cf138b23283ULL;
129 static const uint64_t static_value2 = 0xb520fd271b567936ULL;
132 template<
class ContainerAllocator>
137 return "geometry_msgs/Wrench";
140 static const char*
value(const ::geometry_msgs::Wrench_<ContainerAllocator>&) {
return value(); }
143 template<
class ContainerAllocator>
148 return "# This represents force in free space, separated into\n\
149 # its linear and angular parts.\n\
153 ================================================================================\n\
154 MSG: geometry_msgs/Vector3\n\
155 # This represents a vector in free space. \n\
156 # It is only meant to represent a direction. Therefore, it does not\n\
157 # make sense to apply a translation to it (e.g., when applying a \n\
158 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
159 # rotation). If you want your data to be translatable too, use the\n\
160 # geometry_msgs/Point message instead.\n\
168 static const char*
value(const ::geometry_msgs::Wrench_<ContainerAllocator>&) {
return value(); }
176 namespace serialization
181 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
183 stream.next(m.force);
184 stream.next(m.torque);
195 namespace message_operations
198 template<
class ContainerAllocator>
201 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::geometry_msgs::Wrench_<ContainerAllocator>& v)
215 #endif // GEOMETRY_MSGS_MESSAGE_WRENCH_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static const char * value()
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::ostream & operator<<(std::ostream &s, const ::geometry_msgs::Accel_< ContainerAllocator > &v)
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::Wrench_< ContainerAllocator > &v)
Wrench_< ContainerAllocator > Type
static const char * value()
static void stream(Stream &s, const std::string &indent, const M &value)
::geometry_msgs::Vector3_< ContainerAllocator > _torque_type
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
static const char * value(const ::geometry_msgs::Wrench_< ContainerAllocator > &)
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
static void allInOne(Stream &stream, T m)
std::shared_ptr< ::geometry_msgs::Wrench const > WrenchConstPtr
::geometry_msgs::Vector3_< ContainerAllocator > _force_type
static const char * value()
std::shared_ptr< ::geometry_msgs::Wrench > WrenchPtr
::geometry_msgs::Wrench_< std::allocator< void > > Wrench
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
Wrench_(const ContainerAllocator &_alloc)
static const char * value(const ::geometry_msgs::Wrench_< ContainerAllocator > &)
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::geometry_msgs::Wrench_< ContainerAllocator > const > ConstPtr
std::shared_ptr< ::geometry_msgs::Wrench_< ContainerAllocator > > Ptr
static const char * value(const ::geometry_msgs::Wrench_< ContainerAllocator > &)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13