Go to the documentation of this file.
6 #ifndef SENSOR_MSGS_MESSAGE_JOYFEEDBACK_H
7 #define SENSOR_MSGS_MESSAGE_JOYFEEDBACK_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
22 template <
class ContainerAllocator>
56 typedef std::shared_ptr< ::sensor_msgs::JoyFeedback_<ContainerAllocator> >
Ptr;
57 typedef std::shared_ptr< ::sensor_msgs::JoyFeedback_<ContainerAllocator>
const>
ConstPtr;
61 typedef ::sensor_msgs::JoyFeedback_<std::allocator<void> >
JoyFeedback;
76 template<
typename ContainerAllocator>
77 std::ostream&
operator<<(std::ostream& s, const ::sensor_msgs::JoyFeedback_<ContainerAllocator> & v)
87 namespace message_traits
100 template <
class ContainerAllocator>
105 template <
class ContainerAllocator>
110 template <
class ContainerAllocator>
115 template <
class ContainerAllocator>
120 template <
class ContainerAllocator>
125 template <
class ContainerAllocator>
131 template<
class ContainerAllocator>
136 return "f4dcd73460360d98f36e55ee7f2e46f1";
139 static const char*
value(const ::sensor_msgs::JoyFeedback_<ContainerAllocator>&) {
return value(); }
140 static const uint64_t static_value1 = 0xf4dcd73460360d98ULL;
141 static const uint64_t static_value2 = 0xf36e55ee7f2e46f1ULL;
144 template<
class ContainerAllocator>
149 return "sensor_msgs/JoyFeedback";
152 static const char*
value(const ::sensor_msgs::JoyFeedback_<ContainerAllocator>&) {
return value(); }
155 template<
class ContainerAllocator>
160 return "# Declare of the type of feedback\n\
161 uint8 TYPE_LED = 0\n\
162 uint8 TYPE_RUMBLE = 1\n\
163 uint8 TYPE_BUZZER = 2\n\
167 # This will hold an id number for each type of each feedback.\n\
168 # Example, the first led would be id=0, the second would be id=1\n\
171 # Intensity of the feedback, from 0.0 to 1.0, inclusive. If device is\n\
172 # actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.\n\
178 static const char*
value(const ::sensor_msgs::JoyFeedback_<ContainerAllocator>&) {
return value(); }
186 namespace serialization
191 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
195 stream.next(m.intensity);
206 namespace message_operations
209 template<
class ContainerAllocator>
212 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sensor_msgs::JoyFeedback_<ContainerAllocator>& v)
226 #endif // SENSOR_MSGS_MESSAGE_JOYFEEDBACK_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
JoyFeedback_< ContainerAllocator > Type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value()
static const char * value()
JoyFeedback_(const ContainerAllocator &_alloc)
_intensity_type intensity
static void stream(Stream &s, const std::string &indent, const M &value)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static const char * value(const ::sensor_msgs::JoyFeedback_< ContainerAllocator > &)
std::shared_ptr< ::sensor_msgs::JoyFeedback_< ContainerAllocator > > Ptr
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Specialize to provide the datatype for a message.
static const char * value(const ::sensor_msgs::JoyFeedback_< ContainerAllocator > &)
Specialize to provide the definition for a message.
std::shared_ptr< ::sensor_msgs::JoyFeedback > JoyFeedbackPtr
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::JoyFeedback_< ContainerAllocator > &v)
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
std::shared_ptr< ::sensor_msgs::JoyFeedback const > JoyFeedbackConstPtr
std::shared_ptr< ::sensor_msgs::JoyFeedback_< ContainerAllocator > const > ConstPtr
::sensor_msgs::JoyFeedback_< std::allocator< void > > JoyFeedback
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
static const char * value()
Stream base-class, provides common functionality for IStream and OStream.
Tools for manipulating sensor_msgs.
static const char * value(const ::sensor_msgs::JoyFeedback_< ContainerAllocator > &)
static void allInOne(Stream &stream, T m)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08