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/control_msgs/SingleJointPositionActionGoal.h@0:8f3710bfd298, 2020-09-02 (annotated)
- Committer:
- irfantitok
- Date:
- Wed Sep 02 13:51:31 2020 +0000
- Revision:
- 0:8f3710bfd298
Resolved round not found
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
irfantitok | 0:8f3710bfd298 | 1 | #ifndef _ROS_control_msgs_SingleJointPositionActionGoal_h |
irfantitok | 0:8f3710bfd298 | 2 | #define _ROS_control_msgs_SingleJointPositionActionGoal_h |
irfantitok | 0:8f3710bfd298 | 3 | |
irfantitok | 0:8f3710bfd298 | 4 | #include <stdint.h> |
irfantitok | 0:8f3710bfd298 | 5 | #include <string.h> |
irfantitok | 0:8f3710bfd298 | 6 | #include <stdlib.h> |
irfantitok | 0:8f3710bfd298 | 7 | #include "ros/msg.h" |
irfantitok | 0:8f3710bfd298 | 8 | #include "std_msgs/Header.h" |
irfantitok | 0:8f3710bfd298 | 9 | #include "actionlib_msgs/GoalID.h" |
irfantitok | 0:8f3710bfd298 | 10 | #include "control_msgs/SingleJointPositionGoal.h" |
irfantitok | 0:8f3710bfd298 | 11 | |
irfantitok | 0:8f3710bfd298 | 12 | namespace control_msgs |
irfantitok | 0:8f3710bfd298 | 13 | { |
irfantitok | 0:8f3710bfd298 | 14 | |
irfantitok | 0:8f3710bfd298 | 15 | class SingleJointPositionActionGoal : public ros::Msg |
irfantitok | 0:8f3710bfd298 | 16 | { |
irfantitok | 0:8f3710bfd298 | 17 | public: |
irfantitok | 0:8f3710bfd298 | 18 | typedef std_msgs::Header _header_type; |
irfantitok | 0:8f3710bfd298 | 19 | _header_type header; |
irfantitok | 0:8f3710bfd298 | 20 | typedef actionlib_msgs::GoalID _goal_id_type; |
irfantitok | 0:8f3710bfd298 | 21 | _goal_id_type goal_id; |
irfantitok | 0:8f3710bfd298 | 22 | typedef control_msgs::SingleJointPositionGoal _goal_type; |
irfantitok | 0:8f3710bfd298 | 23 | _goal_type goal; |
irfantitok | 0:8f3710bfd298 | 24 | |
irfantitok | 0:8f3710bfd298 | 25 | SingleJointPositionActionGoal(): |
irfantitok | 0:8f3710bfd298 | 26 | header(), |
irfantitok | 0:8f3710bfd298 | 27 | goal_id(), |
irfantitok | 0:8f3710bfd298 | 28 | goal() |
irfantitok | 0:8f3710bfd298 | 29 | { |
irfantitok | 0:8f3710bfd298 | 30 | } |
irfantitok | 0:8f3710bfd298 | 31 | |
irfantitok | 0:8f3710bfd298 | 32 | virtual int serialize(unsigned char *outbuffer) const |
irfantitok | 0:8f3710bfd298 | 33 | { |
irfantitok | 0:8f3710bfd298 | 34 | int offset = 0; |
irfantitok | 0:8f3710bfd298 | 35 | offset += this->header.serialize(outbuffer + offset); |
irfantitok | 0:8f3710bfd298 | 36 | offset += this->goal_id.serialize(outbuffer + offset); |
irfantitok | 0:8f3710bfd298 | 37 | offset += this->goal.serialize(outbuffer + offset); |
irfantitok | 0:8f3710bfd298 | 38 | return offset; |
irfantitok | 0:8f3710bfd298 | 39 | } |
irfantitok | 0:8f3710bfd298 | 40 | |
irfantitok | 0:8f3710bfd298 | 41 | virtual int deserialize(unsigned char *inbuffer) |
irfantitok | 0:8f3710bfd298 | 42 | { |
irfantitok | 0:8f3710bfd298 | 43 | int offset = 0; |
irfantitok | 0:8f3710bfd298 | 44 | offset += this->header.deserialize(inbuffer + offset); |
irfantitok | 0:8f3710bfd298 | 45 | offset += this->goal_id.deserialize(inbuffer + offset); |
irfantitok | 0:8f3710bfd298 | 46 | offset += this->goal.deserialize(inbuffer + offset); |
irfantitok | 0:8f3710bfd298 | 47 | return offset; |
irfantitok | 0:8f3710bfd298 | 48 | } |
irfantitok | 0:8f3710bfd298 | 49 | |
irfantitok | 0:8f3710bfd298 | 50 | const char * getType(){ return "control_msgs/SingleJointPositionActionGoal"; }; |
irfantitok | 0:8f3710bfd298 | 51 | const char * getMD5(){ return "4b0d3d091471663e17749c1d0db90f61"; }; |
irfantitok | 0:8f3710bfd298 | 52 | |
irfantitok | 0:8f3710bfd298 | 53 | }; |
irfantitok | 0:8f3710bfd298 | 54 | |
irfantitok | 0:8f3710bfd298 | 55 | } |
irfantitok | 0:8f3710bfd298 | 56 | #endif |