Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ros_lib_kinetic/control_msgs/PointHeadActionResult.h@0:4ff8aeb3e4d1, 2021-04-02 (annotated)
- Committer:
- _seminahn
- Date:
- Fri Apr 02 05:24:49 2021 +0000
- Revision:
- 0:4ff8aeb3e4d1
top_module
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| _seminahn | 0:4ff8aeb3e4d1 | 1 | #ifndef _ROS_control_msgs_PointHeadActionResult_h |
| _seminahn | 0:4ff8aeb3e4d1 | 2 | #define _ROS_control_msgs_PointHeadActionResult_h |
| _seminahn | 0:4ff8aeb3e4d1 | 3 | |
| _seminahn | 0:4ff8aeb3e4d1 | 4 | #include <stdint.h> |
| _seminahn | 0:4ff8aeb3e4d1 | 5 | #include <string.h> |
| _seminahn | 0:4ff8aeb3e4d1 | 6 | #include <stdlib.h> |
| _seminahn | 0:4ff8aeb3e4d1 | 7 | #include "ros/msg.h" |
| _seminahn | 0:4ff8aeb3e4d1 | 8 | #include "std_msgs/Header.h" |
| _seminahn | 0:4ff8aeb3e4d1 | 9 | #include "actionlib_msgs/GoalStatus.h" |
| _seminahn | 0:4ff8aeb3e4d1 | 10 | #include "control_msgs/PointHeadResult.h" |
| _seminahn | 0:4ff8aeb3e4d1 | 11 | |
| _seminahn | 0:4ff8aeb3e4d1 | 12 | namespace control_msgs |
| _seminahn | 0:4ff8aeb3e4d1 | 13 | { |
| _seminahn | 0:4ff8aeb3e4d1 | 14 | |
| _seminahn | 0:4ff8aeb3e4d1 | 15 | class PointHeadActionResult : public ros::Msg |
| _seminahn | 0:4ff8aeb3e4d1 | 16 | { |
| _seminahn | 0:4ff8aeb3e4d1 | 17 | public: |
| _seminahn | 0:4ff8aeb3e4d1 | 18 | typedef std_msgs::Header _header_type; |
| _seminahn | 0:4ff8aeb3e4d1 | 19 | _header_type header; |
| _seminahn | 0:4ff8aeb3e4d1 | 20 | typedef actionlib_msgs::GoalStatus _status_type; |
| _seminahn | 0:4ff8aeb3e4d1 | 21 | _status_type status; |
| _seminahn | 0:4ff8aeb3e4d1 | 22 | typedef control_msgs::PointHeadResult _result_type; |
| _seminahn | 0:4ff8aeb3e4d1 | 23 | _result_type result; |
| _seminahn | 0:4ff8aeb3e4d1 | 24 | |
| _seminahn | 0:4ff8aeb3e4d1 | 25 | PointHeadActionResult(): |
| _seminahn | 0:4ff8aeb3e4d1 | 26 | header(), |
| _seminahn | 0:4ff8aeb3e4d1 | 27 | status(), |
| _seminahn | 0:4ff8aeb3e4d1 | 28 | result() |
| _seminahn | 0:4ff8aeb3e4d1 | 29 | { |
| _seminahn | 0:4ff8aeb3e4d1 | 30 | } |
| _seminahn | 0:4ff8aeb3e4d1 | 31 | |
| _seminahn | 0:4ff8aeb3e4d1 | 32 | virtual int serialize(unsigned char *outbuffer) const |
| _seminahn | 0:4ff8aeb3e4d1 | 33 | { |
| _seminahn | 0:4ff8aeb3e4d1 | 34 | int offset = 0; |
| _seminahn | 0:4ff8aeb3e4d1 | 35 | offset += this->header.serialize(outbuffer + offset); |
| _seminahn | 0:4ff8aeb3e4d1 | 36 | offset += this->status.serialize(outbuffer + offset); |
| _seminahn | 0:4ff8aeb3e4d1 | 37 | offset += this->result.serialize(outbuffer + offset); |
| _seminahn | 0:4ff8aeb3e4d1 | 38 | return offset; |
| _seminahn | 0:4ff8aeb3e4d1 | 39 | } |
| _seminahn | 0:4ff8aeb3e4d1 | 40 | |
| _seminahn | 0:4ff8aeb3e4d1 | 41 | virtual int deserialize(unsigned char *inbuffer) |
| _seminahn | 0:4ff8aeb3e4d1 | 42 | { |
| _seminahn | 0:4ff8aeb3e4d1 | 43 | int offset = 0; |
| _seminahn | 0:4ff8aeb3e4d1 | 44 | offset += this->header.deserialize(inbuffer + offset); |
| _seminahn | 0:4ff8aeb3e4d1 | 45 | offset += this->status.deserialize(inbuffer + offset); |
| _seminahn | 0:4ff8aeb3e4d1 | 46 | offset += this->result.deserialize(inbuffer + offset); |
| _seminahn | 0:4ff8aeb3e4d1 | 47 | return offset; |
| _seminahn | 0:4ff8aeb3e4d1 | 48 | } |
| _seminahn | 0:4ff8aeb3e4d1 | 49 | |
| _seminahn | 0:4ff8aeb3e4d1 | 50 | const char * getType(){ return "control_msgs/PointHeadActionResult"; }; |
| _seminahn | 0:4ff8aeb3e4d1 | 51 | const char * getMD5(){ return "1eb06eeff08fa7ea874431638cb52332"; }; |
| _seminahn | 0:4ff8aeb3e4d1 | 52 | |
| _seminahn | 0:4ff8aeb3e4d1 | 53 | }; |
| _seminahn | 0:4ff8aeb3e4d1 | 54 | |
| _seminahn | 0:4ff8aeb3e4d1 | 55 | } |
| _seminahn | 0:4ff8aeb3e4d1 | 56 | #endif |