ROS Serial library for Mbed platforms for ROS Melodic Morenia. Check http://wiki.ros.org/rosserial_mbed/ for more information.

Dependencies:   BufferedSerial

Committer:
krogedal
Date:
Thu May 27 19:25:46 2021 +0000
Revision:
2:fa426560b283
Parent:
0:04ac6be8229a
no change

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Gary Servin 0:04ac6be8229a 1 #ifndef _ROS_visualization_msgs_ImageMarker_h
Gary Servin 0:04ac6be8229a 2 #define _ROS_visualization_msgs_ImageMarker_h
Gary Servin 0:04ac6be8229a 3
Gary Servin 0:04ac6be8229a 4 #include <stdint.h>
Gary Servin 0:04ac6be8229a 5 #include <string.h>
Gary Servin 0:04ac6be8229a 6 #include <stdlib.h>
Gary Servin 0:04ac6be8229a 7 #include "ros/msg.h"
Gary Servin 0:04ac6be8229a 8 #include "std_msgs/Header.h"
Gary Servin 0:04ac6be8229a 9 #include "geometry_msgs/Point.h"
Gary Servin 0:04ac6be8229a 10 #include "std_msgs/ColorRGBA.h"
Gary Servin 0:04ac6be8229a 11 #include "ros/duration.h"
Gary Servin 0:04ac6be8229a 12
Gary Servin 0:04ac6be8229a 13 namespace visualization_msgs
Gary Servin 0:04ac6be8229a 14 {
Gary Servin 0:04ac6be8229a 15
Gary Servin 0:04ac6be8229a 16 class ImageMarker : public ros::Msg
Gary Servin 0:04ac6be8229a 17 {
Gary Servin 0:04ac6be8229a 18 public:
Gary Servin 0:04ac6be8229a 19 typedef std_msgs::Header _header_type;
Gary Servin 0:04ac6be8229a 20 _header_type header;
Gary Servin 0:04ac6be8229a 21 typedef const char* _ns_type;
Gary Servin 0:04ac6be8229a 22 _ns_type ns;
Gary Servin 0:04ac6be8229a 23 typedef int32_t _id_type;
Gary Servin 0:04ac6be8229a 24 _id_type id;
Gary Servin 0:04ac6be8229a 25 typedef int32_t _type_type;
Gary Servin 0:04ac6be8229a 26 _type_type type;
Gary Servin 0:04ac6be8229a 27 typedef int32_t _action_type;
Gary Servin 0:04ac6be8229a 28 _action_type action;
Gary Servin 0:04ac6be8229a 29 typedef geometry_msgs::Point _position_type;
Gary Servin 0:04ac6be8229a 30 _position_type position;
Gary Servin 0:04ac6be8229a 31 typedef float _scale_type;
Gary Servin 0:04ac6be8229a 32 _scale_type scale;
Gary Servin 0:04ac6be8229a 33 typedef std_msgs::ColorRGBA _outline_color_type;
Gary Servin 0:04ac6be8229a 34 _outline_color_type outline_color;
Gary Servin 0:04ac6be8229a 35 typedef uint8_t _filled_type;
Gary Servin 0:04ac6be8229a 36 _filled_type filled;
Gary Servin 0:04ac6be8229a 37 typedef std_msgs::ColorRGBA _fill_color_type;
Gary Servin 0:04ac6be8229a 38 _fill_color_type fill_color;
Gary Servin 0:04ac6be8229a 39 typedef ros::Duration _lifetime_type;
Gary Servin 0:04ac6be8229a 40 _lifetime_type lifetime;
Gary Servin 0:04ac6be8229a 41 uint32_t points_length;
Gary Servin 0:04ac6be8229a 42 typedef geometry_msgs::Point _points_type;
Gary Servin 0:04ac6be8229a 43 _points_type st_points;
Gary Servin 0:04ac6be8229a 44 _points_type * points;
Gary Servin 0:04ac6be8229a 45 uint32_t outline_colors_length;
Gary Servin 0:04ac6be8229a 46 typedef std_msgs::ColorRGBA _outline_colors_type;
Gary Servin 0:04ac6be8229a 47 _outline_colors_type st_outline_colors;
Gary Servin 0:04ac6be8229a 48 _outline_colors_type * outline_colors;
Gary Servin 0:04ac6be8229a 49 enum { CIRCLE = 0 };
Gary Servin 0:04ac6be8229a 50 enum { LINE_STRIP = 1 };
Gary Servin 0:04ac6be8229a 51 enum { LINE_LIST = 2 };
Gary Servin 0:04ac6be8229a 52 enum { POLYGON = 3 };
Gary Servin 0:04ac6be8229a 53 enum { POINTS = 4 };
Gary Servin 0:04ac6be8229a 54 enum { ADD = 0 };
Gary Servin 0:04ac6be8229a 55 enum { REMOVE = 1 };
Gary Servin 0:04ac6be8229a 56
Gary Servin 0:04ac6be8229a 57 ImageMarker():
Gary Servin 0:04ac6be8229a 58 header(),
Gary Servin 0:04ac6be8229a 59 ns(""),
Gary Servin 0:04ac6be8229a 60 id(0),
Gary Servin 0:04ac6be8229a 61 type(0),
Gary Servin 0:04ac6be8229a 62 action(0),
Gary Servin 0:04ac6be8229a 63 position(),
Gary Servin 0:04ac6be8229a 64 scale(0),
Gary Servin 0:04ac6be8229a 65 outline_color(),
Gary Servin 0:04ac6be8229a 66 filled(0),
Gary Servin 0:04ac6be8229a 67 fill_color(),
Gary Servin 0:04ac6be8229a 68 lifetime(),
Gary Servin 0:04ac6be8229a 69 points_length(0), points(NULL),
Gary Servin 0:04ac6be8229a 70 outline_colors_length(0), outline_colors(NULL)
Gary Servin 0:04ac6be8229a 71 {
Gary Servin 0:04ac6be8229a 72 }
Gary Servin 0:04ac6be8229a 73
Gary Servin 0:04ac6be8229a 74 virtual int serialize(unsigned char *outbuffer) const
Gary Servin 0:04ac6be8229a 75 {
Gary Servin 0:04ac6be8229a 76 int offset = 0;
Gary Servin 0:04ac6be8229a 77 offset += this->header.serialize(outbuffer + offset);
Gary Servin 0:04ac6be8229a 78 uint32_t length_ns = strlen(this->ns);
Gary Servin 0:04ac6be8229a 79 varToArr(outbuffer + offset, length_ns);
Gary Servin 0:04ac6be8229a 80 offset += 4;
Gary Servin 0:04ac6be8229a 81 memcpy(outbuffer + offset, this->ns, length_ns);
Gary Servin 0:04ac6be8229a 82 offset += length_ns;
Gary Servin 0:04ac6be8229a 83 union {
Gary Servin 0:04ac6be8229a 84 int32_t real;
Gary Servin 0:04ac6be8229a 85 uint32_t base;
Gary Servin 0:04ac6be8229a 86 } u_id;
Gary Servin 0:04ac6be8229a 87 u_id.real = this->id;
Gary Servin 0:04ac6be8229a 88 *(outbuffer + offset + 0) = (u_id.base >> (8 * 0)) & 0xFF;
Gary Servin 0:04ac6be8229a 89 *(outbuffer + offset + 1) = (u_id.base >> (8 * 1)) & 0xFF;
Gary Servin 0:04ac6be8229a 90 *(outbuffer + offset + 2) = (u_id.base >> (8 * 2)) & 0xFF;
Gary Servin 0:04ac6be8229a 91 *(outbuffer + offset + 3) = (u_id.base >> (8 * 3)) & 0xFF;
Gary Servin 0:04ac6be8229a 92 offset += sizeof(this->id);
Gary Servin 0:04ac6be8229a 93 union {
Gary Servin 0:04ac6be8229a 94 int32_t real;
Gary Servin 0:04ac6be8229a 95 uint32_t base;
Gary Servin 0:04ac6be8229a 96 } u_type;
Gary Servin 0:04ac6be8229a 97 u_type.real = this->type;
Gary Servin 0:04ac6be8229a 98 *(outbuffer + offset + 0) = (u_type.base >> (8 * 0)) & 0xFF;
Gary Servin 0:04ac6be8229a 99 *(outbuffer + offset + 1) = (u_type.base >> (8 * 1)) & 0xFF;
Gary Servin 0:04ac6be8229a 100 *(outbuffer + offset + 2) = (u_type.base >> (8 * 2)) & 0xFF;
Gary Servin 0:04ac6be8229a 101 *(outbuffer + offset + 3) = (u_type.base >> (8 * 3)) & 0xFF;
Gary Servin 0:04ac6be8229a 102 offset += sizeof(this->type);
Gary Servin 0:04ac6be8229a 103 union {
Gary Servin 0:04ac6be8229a 104 int32_t real;
Gary Servin 0:04ac6be8229a 105 uint32_t base;
Gary Servin 0:04ac6be8229a 106 } u_action;
Gary Servin 0:04ac6be8229a 107 u_action.real = this->action;
Gary Servin 0:04ac6be8229a 108 *(outbuffer + offset + 0) = (u_action.base >> (8 * 0)) & 0xFF;
Gary Servin 0:04ac6be8229a 109 *(outbuffer + offset + 1) = (u_action.base >> (8 * 1)) & 0xFF;
Gary Servin 0:04ac6be8229a 110 *(outbuffer + offset + 2) = (u_action.base >> (8 * 2)) & 0xFF;
Gary Servin 0:04ac6be8229a 111 *(outbuffer + offset + 3) = (u_action.base >> (8 * 3)) & 0xFF;
Gary Servin 0:04ac6be8229a 112 offset += sizeof(this->action);
Gary Servin 0:04ac6be8229a 113 offset += this->position.serialize(outbuffer + offset);
Gary Servin 0:04ac6be8229a 114 union {
Gary Servin 0:04ac6be8229a 115 float real;
Gary Servin 0:04ac6be8229a 116 uint32_t base;
Gary Servin 0:04ac6be8229a 117 } u_scale;
Gary Servin 0:04ac6be8229a 118 u_scale.real = this->scale;
Gary Servin 0:04ac6be8229a 119 *(outbuffer + offset + 0) = (u_scale.base >> (8 * 0)) & 0xFF;
Gary Servin 0:04ac6be8229a 120 *(outbuffer + offset + 1) = (u_scale.base >> (8 * 1)) & 0xFF;
Gary Servin 0:04ac6be8229a 121 *(outbuffer + offset + 2) = (u_scale.base >> (8 * 2)) & 0xFF;
Gary Servin 0:04ac6be8229a 122 *(outbuffer + offset + 3) = (u_scale.base >> (8 * 3)) & 0xFF;
Gary Servin 0:04ac6be8229a 123 offset += sizeof(this->scale);
Gary Servin 0:04ac6be8229a 124 offset += this->outline_color.serialize(outbuffer + offset);
Gary Servin 0:04ac6be8229a 125 *(outbuffer + offset + 0) = (this->filled >> (8 * 0)) & 0xFF;
Gary Servin 0:04ac6be8229a 126 offset += sizeof(this->filled);
Gary Servin 0:04ac6be8229a 127 offset += this->fill_color.serialize(outbuffer + offset);
Gary Servin 0:04ac6be8229a 128 *(outbuffer + offset + 0) = (this->lifetime.sec >> (8 * 0)) & 0xFF;
Gary Servin 0:04ac6be8229a 129 *(outbuffer + offset + 1) = (this->lifetime.sec >> (8 * 1)) & 0xFF;
Gary Servin 0:04ac6be8229a 130 *(outbuffer + offset + 2) = (this->lifetime.sec >> (8 * 2)) & 0xFF;
Gary Servin 0:04ac6be8229a 131 *(outbuffer + offset + 3) = (this->lifetime.sec >> (8 * 3)) & 0xFF;
Gary Servin 0:04ac6be8229a 132 offset += sizeof(this->lifetime.sec);
Gary Servin 0:04ac6be8229a 133 *(outbuffer + offset + 0) = (this->lifetime.nsec >> (8 * 0)) & 0xFF;
Gary Servin 0:04ac6be8229a 134 *(outbuffer + offset + 1) = (this->lifetime.nsec >> (8 * 1)) & 0xFF;
Gary Servin 0:04ac6be8229a 135 *(outbuffer + offset + 2) = (this->lifetime.nsec >> (8 * 2)) & 0xFF;
Gary Servin 0:04ac6be8229a 136 *(outbuffer + offset + 3) = (this->lifetime.nsec >> (8 * 3)) & 0xFF;
Gary Servin 0:04ac6be8229a 137 offset += sizeof(this->lifetime.nsec);
Gary Servin 0:04ac6be8229a 138 *(outbuffer + offset + 0) = (this->points_length >> (8 * 0)) & 0xFF;
Gary Servin 0:04ac6be8229a 139 *(outbuffer + offset + 1) = (this->points_length >> (8 * 1)) & 0xFF;
Gary Servin 0:04ac6be8229a 140 *(outbuffer + offset + 2) = (this->points_length >> (8 * 2)) & 0xFF;
Gary Servin 0:04ac6be8229a 141 *(outbuffer + offset + 3) = (this->points_length >> (8 * 3)) & 0xFF;
Gary Servin 0:04ac6be8229a 142 offset += sizeof(this->points_length);
Gary Servin 0:04ac6be8229a 143 for( uint32_t i = 0; i < points_length; i++){
Gary Servin 0:04ac6be8229a 144 offset += this->points[i].serialize(outbuffer + offset);
Gary Servin 0:04ac6be8229a 145 }
Gary Servin 0:04ac6be8229a 146 *(outbuffer + offset + 0) = (this->outline_colors_length >> (8 * 0)) & 0xFF;
Gary Servin 0:04ac6be8229a 147 *(outbuffer + offset + 1) = (this->outline_colors_length >> (8 * 1)) & 0xFF;
Gary Servin 0:04ac6be8229a 148 *(outbuffer + offset + 2) = (this->outline_colors_length >> (8 * 2)) & 0xFF;
Gary Servin 0:04ac6be8229a 149 *(outbuffer + offset + 3) = (this->outline_colors_length >> (8 * 3)) & 0xFF;
Gary Servin 0:04ac6be8229a 150 offset += sizeof(this->outline_colors_length);
Gary Servin 0:04ac6be8229a 151 for( uint32_t i = 0; i < outline_colors_length; i++){
Gary Servin 0:04ac6be8229a 152 offset += this->outline_colors[i].serialize(outbuffer + offset);
Gary Servin 0:04ac6be8229a 153 }
Gary Servin 0:04ac6be8229a 154 return offset;
Gary Servin 0:04ac6be8229a 155 }
Gary Servin 0:04ac6be8229a 156
Gary Servin 0:04ac6be8229a 157 virtual int deserialize(unsigned char *inbuffer)
Gary Servin 0:04ac6be8229a 158 {
Gary Servin 0:04ac6be8229a 159 int offset = 0;
Gary Servin 0:04ac6be8229a 160 offset += this->header.deserialize(inbuffer + offset);
Gary Servin 0:04ac6be8229a 161 uint32_t length_ns;
Gary Servin 0:04ac6be8229a 162 arrToVar(length_ns, (inbuffer + offset));
Gary Servin 0:04ac6be8229a 163 offset += 4;
Gary Servin 0:04ac6be8229a 164 for(unsigned int k= offset; k< offset+length_ns; ++k){
Gary Servin 0:04ac6be8229a 165 inbuffer[k-1]=inbuffer[k];
Gary Servin 0:04ac6be8229a 166 }
Gary Servin 0:04ac6be8229a 167 inbuffer[offset+length_ns-1]=0;
Gary Servin 0:04ac6be8229a 168 this->ns = (char *)(inbuffer + offset-1);
Gary Servin 0:04ac6be8229a 169 offset += length_ns;
Gary Servin 0:04ac6be8229a 170 union {
Gary Servin 0:04ac6be8229a 171 int32_t real;
Gary Servin 0:04ac6be8229a 172 uint32_t base;
Gary Servin 0:04ac6be8229a 173 } u_id;
Gary Servin 0:04ac6be8229a 174 u_id.base = 0;
Gary Servin 0:04ac6be8229a 175 u_id.base |= ((uint32_t) (*(inbuffer + offset + 0))) << (8 * 0);
Gary Servin 0:04ac6be8229a 176 u_id.base |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
Gary Servin 0:04ac6be8229a 177 u_id.base |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
Gary Servin 0:04ac6be8229a 178 u_id.base |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
Gary Servin 0:04ac6be8229a 179 this->id = u_id.real;
Gary Servin 0:04ac6be8229a 180 offset += sizeof(this->id);
Gary Servin 0:04ac6be8229a 181 union {
Gary Servin 0:04ac6be8229a 182 int32_t real;
Gary Servin 0:04ac6be8229a 183 uint32_t base;
Gary Servin 0:04ac6be8229a 184 } u_type;
Gary Servin 0:04ac6be8229a 185 u_type.base = 0;
Gary Servin 0:04ac6be8229a 186 u_type.base |= ((uint32_t) (*(inbuffer + offset + 0))) << (8 * 0);
Gary Servin 0:04ac6be8229a 187 u_type.base |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
Gary Servin 0:04ac6be8229a 188 u_type.base |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
Gary Servin 0:04ac6be8229a 189 u_type.base |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
Gary Servin 0:04ac6be8229a 190 this->type = u_type.real;
Gary Servin 0:04ac6be8229a 191 offset += sizeof(this->type);
Gary Servin 0:04ac6be8229a 192 union {
Gary Servin 0:04ac6be8229a 193 int32_t real;
Gary Servin 0:04ac6be8229a 194 uint32_t base;
Gary Servin 0:04ac6be8229a 195 } u_action;
Gary Servin 0:04ac6be8229a 196 u_action.base = 0;
Gary Servin 0:04ac6be8229a 197 u_action.base |= ((uint32_t) (*(inbuffer + offset + 0))) << (8 * 0);
Gary Servin 0:04ac6be8229a 198 u_action.base |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
Gary Servin 0:04ac6be8229a 199 u_action.base |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
Gary Servin 0:04ac6be8229a 200 u_action.base |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
Gary Servin 0:04ac6be8229a 201 this->action = u_action.real;
Gary Servin 0:04ac6be8229a 202 offset += sizeof(this->action);
Gary Servin 0:04ac6be8229a 203 offset += this->position.deserialize(inbuffer + offset);
Gary Servin 0:04ac6be8229a 204 union {
Gary Servin 0:04ac6be8229a 205 float real;
Gary Servin 0:04ac6be8229a 206 uint32_t base;
Gary Servin 0:04ac6be8229a 207 } u_scale;
Gary Servin 0:04ac6be8229a 208 u_scale.base = 0;
Gary Servin 0:04ac6be8229a 209 u_scale.base |= ((uint32_t) (*(inbuffer + offset + 0))) << (8 * 0);
Gary Servin 0:04ac6be8229a 210 u_scale.base |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
Gary Servin 0:04ac6be8229a 211 u_scale.base |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
Gary Servin 0:04ac6be8229a 212 u_scale.base |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
Gary Servin 0:04ac6be8229a 213 this->scale = u_scale.real;
Gary Servin 0:04ac6be8229a 214 offset += sizeof(this->scale);
Gary Servin 0:04ac6be8229a 215 offset += this->outline_color.deserialize(inbuffer + offset);
Gary Servin 0:04ac6be8229a 216 this->filled = ((uint8_t) (*(inbuffer + offset)));
Gary Servin 0:04ac6be8229a 217 offset += sizeof(this->filled);
Gary Servin 0:04ac6be8229a 218 offset += this->fill_color.deserialize(inbuffer + offset);
Gary Servin 0:04ac6be8229a 219 this->lifetime.sec = ((uint32_t) (*(inbuffer + offset)));
Gary Servin 0:04ac6be8229a 220 this->lifetime.sec |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
Gary Servin 0:04ac6be8229a 221 this->lifetime.sec |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
Gary Servin 0:04ac6be8229a 222 this->lifetime.sec |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
Gary Servin 0:04ac6be8229a 223 offset += sizeof(this->lifetime.sec);
Gary Servin 0:04ac6be8229a 224 this->lifetime.nsec = ((uint32_t) (*(inbuffer + offset)));
Gary Servin 0:04ac6be8229a 225 this->lifetime.nsec |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
Gary Servin 0:04ac6be8229a 226 this->lifetime.nsec |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
Gary Servin 0:04ac6be8229a 227 this->lifetime.nsec |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
Gary Servin 0:04ac6be8229a 228 offset += sizeof(this->lifetime.nsec);
Gary Servin 0:04ac6be8229a 229 uint32_t points_lengthT = ((uint32_t) (*(inbuffer + offset)));
Gary Servin 0:04ac6be8229a 230 points_lengthT |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
Gary Servin 0:04ac6be8229a 231 points_lengthT |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
Gary Servin 0:04ac6be8229a 232 points_lengthT |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
Gary Servin 0:04ac6be8229a 233 offset += sizeof(this->points_length);
Gary Servin 0:04ac6be8229a 234 if(points_lengthT > points_length)
Gary Servin 0:04ac6be8229a 235 this->points = (geometry_msgs::Point*)realloc(this->points, points_lengthT * sizeof(geometry_msgs::Point));
Gary Servin 0:04ac6be8229a 236 points_length = points_lengthT;
Gary Servin 0:04ac6be8229a 237 for( uint32_t i = 0; i < points_length; i++){
Gary Servin 0:04ac6be8229a 238 offset += this->st_points.deserialize(inbuffer + offset);
Gary Servin 0:04ac6be8229a 239 memcpy( &(this->points[i]), &(this->st_points), sizeof(geometry_msgs::Point));
Gary Servin 0:04ac6be8229a 240 }
Gary Servin 0:04ac6be8229a 241 uint32_t outline_colors_lengthT = ((uint32_t) (*(inbuffer + offset)));
Gary Servin 0:04ac6be8229a 242 outline_colors_lengthT |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
Gary Servin 0:04ac6be8229a 243 outline_colors_lengthT |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
Gary Servin 0:04ac6be8229a 244 outline_colors_lengthT |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
Gary Servin 0:04ac6be8229a 245 offset += sizeof(this->outline_colors_length);
Gary Servin 0:04ac6be8229a 246 if(outline_colors_lengthT > outline_colors_length)
Gary Servin 0:04ac6be8229a 247 this->outline_colors = (std_msgs::ColorRGBA*)realloc(this->outline_colors, outline_colors_lengthT * sizeof(std_msgs::ColorRGBA));
Gary Servin 0:04ac6be8229a 248 outline_colors_length = outline_colors_lengthT;
Gary Servin 0:04ac6be8229a 249 for( uint32_t i = 0; i < outline_colors_length; i++){
Gary Servin 0:04ac6be8229a 250 offset += this->st_outline_colors.deserialize(inbuffer + offset);
Gary Servin 0:04ac6be8229a 251 memcpy( &(this->outline_colors[i]), &(this->st_outline_colors), sizeof(std_msgs::ColorRGBA));
Gary Servin 0:04ac6be8229a 252 }
Gary Servin 0:04ac6be8229a 253 return offset;
Gary Servin 0:04ac6be8229a 254 }
Gary Servin 0:04ac6be8229a 255
Gary Servin 0:04ac6be8229a 256 const char * getType(){ return "visualization_msgs/ImageMarker"; };
Gary Servin 0:04ac6be8229a 257 const char * getMD5(){ return "1de93c67ec8858b831025a08fbf1b35c"; };
Gary Servin 0:04ac6be8229a 258
Gary Servin 0:04ac6be8229a 259 };
Gary Servin 0:04ac6be8229a 260
Gary Servin 0:04ac6be8229a 261 }
Gary Servin 0:04ac6be8229a 262 #endif