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.
Dependencies: mbed Watchdog stm32-sensor-base2
ros_lib_melodic/turtle_actionlib/ShapeActionFeedback.h@2:b7fdc74e5c5d, 2020-07-07 (annotated)
- Committer:
- ommpy
- Date:
- Tue Jul 07 15:19:06 2020 +0530
- Revision:
- 2:b7fdc74e5c5d
new board files
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| ommpy | 2:b7fdc74e5c5d | 1 | #ifndef _ROS_turtle_actionlib_ShapeActionFeedback_h | 
| ommpy | 2:b7fdc74e5c5d | 2 | #define _ROS_turtle_actionlib_ShapeActionFeedback_h | 
| ommpy | 2:b7fdc74e5c5d | 3 | |
| ommpy | 2:b7fdc74e5c5d | 4 | #include <stdint.h> | 
| ommpy | 2:b7fdc74e5c5d | 5 | #include <string.h> | 
| ommpy | 2:b7fdc74e5c5d | 6 | #include <stdlib.h> | 
| ommpy | 2:b7fdc74e5c5d | 7 | #include "ros/msg.h" | 
| ommpy | 2:b7fdc74e5c5d | 8 | #include "std_msgs/Header.h" | 
| ommpy | 2:b7fdc74e5c5d | 9 | #include "actionlib_msgs/GoalStatus.h" | 
| ommpy | 2:b7fdc74e5c5d | 10 | #include "turtle_actionlib/ShapeFeedback.h" | 
| ommpy | 2:b7fdc74e5c5d | 11 | |
| ommpy | 2:b7fdc74e5c5d | 12 | namespace turtle_actionlib | 
| ommpy | 2:b7fdc74e5c5d | 13 | { | 
| ommpy | 2:b7fdc74e5c5d | 14 | |
| ommpy | 2:b7fdc74e5c5d | 15 | class ShapeActionFeedback : public ros::Msg | 
| ommpy | 2:b7fdc74e5c5d | 16 | { | 
| ommpy | 2:b7fdc74e5c5d | 17 | public: | 
| ommpy | 2:b7fdc74e5c5d | 18 | typedef std_msgs::Header _header_type; | 
| ommpy | 2:b7fdc74e5c5d | 19 | _header_type header; | 
| ommpy | 2:b7fdc74e5c5d | 20 | typedef actionlib_msgs::GoalStatus _status_type; | 
| ommpy | 2:b7fdc74e5c5d | 21 | _status_type status; | 
| ommpy | 2:b7fdc74e5c5d | 22 | typedef turtle_actionlib::ShapeFeedback _feedback_type; | 
| ommpy | 2:b7fdc74e5c5d | 23 | _feedback_type feedback; | 
| ommpy | 2:b7fdc74e5c5d | 24 | |
| ommpy | 2:b7fdc74e5c5d | 25 | ShapeActionFeedback(): | 
| ommpy | 2:b7fdc74e5c5d | 26 | header(), | 
| ommpy | 2:b7fdc74e5c5d | 27 | status(), | 
| ommpy | 2:b7fdc74e5c5d | 28 | feedback() | 
| ommpy | 2:b7fdc74e5c5d | 29 | { | 
| ommpy | 2:b7fdc74e5c5d | 30 | } | 
| ommpy | 2:b7fdc74e5c5d | 31 | |
| ommpy | 2:b7fdc74e5c5d | 32 | virtual int serialize(unsigned char *outbuffer) const | 
| ommpy | 2:b7fdc74e5c5d | 33 | { | 
| ommpy | 2:b7fdc74e5c5d | 34 | int offset = 0; | 
| ommpy | 2:b7fdc74e5c5d | 35 | offset += this->header.serialize(outbuffer + offset); | 
| ommpy | 2:b7fdc74e5c5d | 36 | offset += this->status.serialize(outbuffer + offset); | 
| ommpy | 2:b7fdc74e5c5d | 37 | offset += this->feedback.serialize(outbuffer + offset); | 
| ommpy | 2:b7fdc74e5c5d | 38 | return offset; | 
| ommpy | 2:b7fdc74e5c5d | 39 | } | 
| ommpy | 2:b7fdc74e5c5d | 40 | |
| ommpy | 2:b7fdc74e5c5d | 41 | virtual int deserialize(unsigned char *inbuffer) | 
| ommpy | 2:b7fdc74e5c5d | 42 | { | 
| ommpy | 2:b7fdc74e5c5d | 43 | int offset = 0; | 
| ommpy | 2:b7fdc74e5c5d | 44 | offset += this->header.deserialize(inbuffer + offset); | 
| ommpy | 2:b7fdc74e5c5d | 45 | offset += this->status.deserialize(inbuffer + offset); | 
| ommpy | 2:b7fdc74e5c5d | 46 | offset += this->feedback.deserialize(inbuffer + offset); | 
| ommpy | 2:b7fdc74e5c5d | 47 | return offset; | 
| ommpy | 2:b7fdc74e5c5d | 48 | } | 
| ommpy | 2:b7fdc74e5c5d | 49 | |
| ommpy | 2:b7fdc74e5c5d | 50 | const char * getType(){ return "turtle_actionlib/ShapeActionFeedback"; }; | 
| ommpy | 2:b7fdc74e5c5d | 51 | const char * getMD5(){ return "aae20e09065c3809e8a8e87c4c8953fd"; }; | 
| ommpy | 2:b7fdc74e5c5d | 52 | |
| ommpy | 2:b7fdc74e5c5d | 53 | }; | 
| ommpy | 2:b7fdc74e5c5d | 54 | |
| ommpy | 2:b7fdc74e5c5d | 55 | } | 
| ommpy | 2:b7fdc74e5c5d | 56 | #endif |