-
Notifications
You must be signed in to change notification settings - Fork 45
/
TestActionFeedback.h
65 lines (56 loc) · 1.68 KB
/
TestActionFeedback.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#ifndef _ROS_actionlib_TestActionFeedback_h
#define _ROS_actionlib_TestActionFeedback_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "ArduinoIncludes.h"
#include "std_msgs/Header.h"
#include "actionlib_msgs/GoalStatus.h"
#include "actionlib/TestFeedback.h"
namespace actionlib
{
class TestActionFeedback : public ros::Msg
{
public:
typedef std_msgs::Header _header_type;
_header_type header;
typedef actionlib_msgs::GoalStatus _status_type;
_status_type status;
typedef actionlib::TestFeedback _feedback_type;
_feedback_type feedback;
TestActionFeedback():
header(),
status(),
feedback()
{
}
virtual int serialize(unsigned char *outbuffer) const
{
int offset = 0;
offset += this->header.serialize(outbuffer + offset);
offset += this->status.serialize(outbuffer + offset);
offset += this->feedback.serialize(outbuffer + offset);
return offset;
}
virtual int deserialize(unsigned char *inbuffer)
{
int offset = 0;
offset += this->header.deserialize(inbuffer + offset);
offset += this->status.deserialize(inbuffer + offset);
offset += this->feedback.deserialize(inbuffer + offset);
return offset;
}
#ifdef ESP8266
const char * getType() { return ("actionlib/TestActionFeedback");};
#else
const char * getType() { return PSTR("actionlib/TestActionFeedback");};
#endif
#ifdef ESP8266
const char * getMD5() { return ("6d3d0bf7fb3dda24779c010a9f3eb7cb");};
#else
const char * getMD5() { return PSTR("6d3d0bf7fb3dda24779c010a9f3eb7cb");};
#endif
};
}
#endif