Twist.h
Go to the documentation of this file.
1 #ifndef _ROS_rosabridge_msgs_Twist_h
2 #define _ROS_rosabridge_msgs_Twist_h
3 
4 #include <stdint.h>
5 #include <string.h>
6 #include <stdlib.h>
7 #include "ros/msg.h"
9 
10 namespace rosabridge_msgs
11 {
12 
13  class Twist : public ros::Msg
14  {
15  public:
18 
19  virtual int serialize(unsigned char *outbuffer) const
20  {
21  int offset = 0;
22  offset += this->linear.serialize(outbuffer + offset);
23  offset += this->angular.serialize(outbuffer + offset);
24  return offset;
25  }
26 
27  virtual int deserialize(unsigned char *inbuffer)
28  {
29  int offset = 0;
30  offset += this->linear.deserialize(inbuffer + offset);
31  offset += this->angular.deserialize(inbuffer + offset);
32  return offset;
33  }
34 
35  const char * getType(){ return "rosabridge_msgs/Twist"; };
36  const char * getMD5(){ return "6d107193b261039abb32b01ddb75189b"; };
37 
38  };
39 
40 }
41 #endif
const char * getMD5()
Definition: Twist.h:36
virtual int deserialize(unsigned char *inbuffer)
Definition: Twist.h:27
virtual int serialize(unsigned char *outbuffer) const
Definition: Vector3.h:19
const char * getType()
Definition: Twist.h:35
rosabridge_msgs::Vector3 linear
Definition: Twist.h:16
rosabridge_msgs::Vector3 angular
Definition: Twist.h:17
virtual int deserialize(unsigned char *inbuffer)
Definition: Vector3.h:55
virtual int serialize(unsigned char *outbuffer) const
Definition: Twist.h:19


rosabridge_arduino
Author(s): Chad Attermann
autogenerated on Sat Apr 10 2021 02:37:49