5 #ifndef SENSOR_MSGS_MESSAGE_JOY_H 6 #define SENSOR_MSGS_MESSAGE_JOY_H 22 template <
class ContainerAllocator>
32 Joy_(
const ContainerAllocator& _alloc)
44 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >
_axes_type;
47 typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >
_buttons_type;
58 typedef ::sensor_msgs::Joy_<std::allocator<void> >
Joy;
67 template<
typename ContainerAllocator>
68 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::Joy_<ContainerAllocator> &
v)
78 namespace message_traits
91 template <
class ContainerAllocator>
96 template <
class ContainerAllocator>
101 template <
class ContainerAllocator>
106 template <
class ContainerAllocator>
111 template <
class ContainerAllocator>
116 template <
class ContainerAllocator>
122 template<
class ContainerAllocator>
127 return "5a9ea5f83505693b71e785041e67a8bb";
130 static const char*
value(const ::sensor_msgs::Joy_<ContainerAllocator>&) {
return value(); }
131 static const uint64_t static_value1 = 0x5a9ea5f83505693bULL;
132 static const uint64_t static_value2 = 0x71e785041e67a8bbULL;
135 template<
class ContainerAllocator>
140 return "sensor_msgs/Joy";
143 static const char*
value(const ::sensor_msgs::Joy_<ContainerAllocator>&) {
return value(); }
146 template<
class ContainerAllocator>
151 return "# Reports the state of a joysticks axes and buttons.\n\ 152 Header header # timestamp in the header is the time the data is received from the joystick\n\ 153 float32[] axes # the axes measurements from a joystick\n\ 154 int32[] buttons # the buttons measurements from a joystick \n\ 156 ================================================================================\n\ 157 MSG: std_msgs/Header\n\ 158 # Standard metadata for higher-level stamped data types.\n\ 159 # This is generally used to communicate timestamped data \n\ 160 # in a particular coordinate frame.\n\ 162 # sequence ID: consecutively increasing ID \n\ 164 #Two-integer timestamp that is expressed as:\n\ 165 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\ 166 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\ 167 # time-handling sugar is provided by the client library\n\ 169 #Frame this data is associated with\n\ 176 static const char*
value(const ::sensor_msgs::Joy_<ContainerAllocator>&) {
return value(); }
184 namespace serialization
191 stream.next(m.header);
193 stream.next(m.buttons);
204 namespace message_operations
207 template<
class ContainerAllocator>
210 template<
typename Stream>
static void stream(Stream&
s,
const std::string& indent, const ::sensor_msgs::Joy_<ContainerAllocator>&
v)
212 s << indent <<
"header: ";
215 s << indent <<
"axes[]" << std::endl;
216 for (
size_t i = 0;
i < v.axes.size(); ++
i)
218 s << indent <<
" axes[" <<
i <<
"]: ";
221 s << indent <<
"buttons[]" << std::endl;
222 for (
size_t i = 0;
i < v.buttons.size(); ++
i)
224 s << indent <<
" buttons[" <<
i <<
"]: ";
233 #endif // SENSOR_MSGS_MESSAGE_JOY_H
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.
::sensor_msgs::Joy_< std::allocator< void > > Joy
std::vector< int32_t, typename ContainerAllocator::template rebind< int32_t >::other > _buttons_type
static const char * value(const ::sensor_msgs::Joy_< ContainerAllocator > &)
static const char * value()
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.
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 void stream(Stream &s, const std::string &indent, const ::sensor_msgs::Joy_< ContainerAllocator > &v)
Tools for manipulating sensor_msgs.
static void allInOne(Stream &stream, T m)
std::vector< float, typename ContainerAllocator::template rebind< float >::other > _axes_type
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
boost::shared_ptr< ::sensor_msgs::Joy_< ContainerAllocator > const > ConstPtr
Specialize to provide the definition for a message.
::std_msgs::Header_< ContainerAllocator > _header_type
boost::shared_ptr< ::sensor_msgs::Joy > JoyPtr
boost::shared_ptr< ::sensor_msgs::Joy const > JoyConstPtr
static const char * value()
static const char * value()
boost::shared_ptr< ::sensor_msgs::Joy_< ContainerAllocator > > Ptr
Joy_< ContainerAllocator > Type
static const char * value(const ::sensor_msgs::Joy_< ContainerAllocator > &)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Joy_(const ContainerAllocator &_alloc)
static const char * value(const ::sensor_msgs::Joy_< ContainerAllocator > &)