Project

General

Profile

Statistics
| Branch: | Revision:

root / quad2 / arduino / src / ros_lib / geometry_msgs / Transform.h @ c1426757

History | View | Annotate | Download (1 KB)

1 c1426757 Tom Mullins
#ifndef _ROS_geometry_msgs_Transform_h
2
#define _ROS_geometry_msgs_Transform_h
3
4
#include <stdint.h>
5
#include <string.h>
6
#include <stdlib.h>
7
#include "ros/msg.h"
8
#include "geometry_msgs/Vector3.h"
9
#include "geometry_msgs/Quaternion.h"
10
11
namespace geometry_msgs
12
{
13
14
  class Transform : public ros::Msg
15
  {
16
    public:
17
      geometry_msgs::Vector3 translation;
18
      geometry_msgs::Quaternion rotation;
19
20
    virtual int serialize(unsigned char *outbuffer) const
21
    {
22
      int offset = 0;
23
      offset += this->translation.serialize(outbuffer + offset);
24
      offset += this->rotation.serialize(outbuffer + offset);
25
      return offset;
26
    }
27
28
    virtual int deserialize(unsigned char *inbuffer)
29
    {
30
      int offset = 0;
31
      offset += this->translation.deserialize(inbuffer + offset);
32
      offset += this->rotation.deserialize(inbuffer + offset);
33
     return offset;
34
    }
35
36
    const char * getType(){ return "geometry_msgs/Transform"; };
37
    const char * getMD5(){ return "ac9eff44abf714214112b05d54a3cf9b"; };
38
39
  };
40
41
}
42
#endif