5 #ifndef SENSOR_MSGS_MESSAGE_JOYFEEDBACK_H 6 #define SENSOR_MSGS_MESSAGE_JOYFEEDBACK_H 21 template <
class ContainerAllocator>
60 typedef ::sensor_msgs::JoyFeedback_<std::allocator<void> >
JoyFeedback;
75 template<
typename ContainerAllocator>
76 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::JoyFeedback_<ContainerAllocator> &
v)
86 namespace message_traits
99 template <
class ContainerAllocator>
104 template <
class ContainerAllocator>
109 template <
class ContainerAllocator>
114 template <
class ContainerAllocator>
119 template <
class ContainerAllocator>
124 template <
class ContainerAllocator>
130 template<
class ContainerAllocator>
135 return "f4dcd73460360d98f36e55ee7f2e46f1";
138 static const char*
value(const ::sensor_msgs::JoyFeedback_<ContainerAllocator>&) {
return value(); }
139 static const uint64_t static_value1 = 0xf4dcd73460360d98ULL;
140 static const uint64_t static_value2 = 0xf36e55ee7f2e46f1ULL;
143 template<
class ContainerAllocator>
148 return "sensor_msgs/JoyFeedback";
151 static const char*
value(const ::sensor_msgs::JoyFeedback_<ContainerAllocator>&) {
return value(); }
154 template<
class ContainerAllocator>
159 return "# Declare of the type of feedback\n\ 160 uint8 TYPE_LED = 0\n\ 161 uint8 TYPE_RUMBLE = 1\n\ 162 uint8 TYPE_BUZZER = 2\n\ 166 # This will hold an id number for each type of each feedback.\n\ 167 # Example, the first led would be id=0, the second would be id=1\n\ 170 # Intensity of the feedback, from 0.0 to 1.0, inclusive. If device is\n\ 171 # actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.\n\ 177 static const char*
value(const ::sensor_msgs::JoyFeedback_<ContainerAllocator>&) {
return value(); }
185 namespace serialization
194 stream.next(m.intensity);
205 namespace message_operations
208 template<
class ContainerAllocator>
211 template<
typename Stream>
static void stream(Stream&
s,
const std::string& indent, const ::sensor_msgs::JoyFeedback_<ContainerAllocator>&
v)
213 s << indent <<
"type: ";
215 s << indent <<
"id: ";
217 s << indent <<
"intensity: ";
225 #endif // SENSOR_MSGS_MESSAGE_JOYFEEDBACK_H
boost::shared_ptr< ::sensor_msgs::JoyFeedback_< ContainerAllocator > > Ptr
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
JoyFeedback_(const ContainerAllocator &_alloc)
Specialize to provide the md5sum for a message.
static void allInOne(Stream &stream, T m)
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static const char * value()
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
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.
JoyFeedback_< ContainerAllocator > Type
Tools for manipulating sensor_msgs.
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::JoyFeedback_< ContainerAllocator > &v)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Specialize to provide the definition for a message.
::sensor_msgs::JoyFeedback_< std::allocator< void > > JoyFeedback
static const char * value(const ::sensor_msgs::JoyFeedback_< ContainerAllocator > &)
boost::shared_ptr< ::sensor_msgs::JoyFeedback_< ContainerAllocator > const > ConstPtr
boost::shared_ptr< ::sensor_msgs::JoyFeedback const > JoyFeedbackConstPtr
static const char * value()
static const char * value()
_intensity_type intensity
static const char * value(const ::sensor_msgs::JoyFeedback_< ContainerAllocator > &)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
boost::shared_ptr< ::sensor_msgs::JoyFeedback > JoyFeedbackPtr
static const char * value(const ::sensor_msgs::JoyFeedback_< ContainerAllocator > &)