1 #ifndef _ROS_nav_msgs_GridCells_h
2 #define _ROS_nav_msgs_GridCells_h
32 virtual int serialize(
unsigned char *outbuffer)
const
41 *(outbuffer + offset + 0) = (u_cell_width.base >> (8 * 0)) & 0xFF;
42 *(outbuffer + offset + 1) = (u_cell_width.base >> (8 * 1)) & 0xFF;
43 *(outbuffer + offset + 2) = (u_cell_width.base >> (8 * 2)) & 0xFF;
44 *(outbuffer + offset + 3) = (u_cell_width.base >> (8 * 3)) & 0xFF;
51 *(outbuffer + offset + 0) = (u_cell_height.base >> (8 * 0)) & 0xFF;
52 *(outbuffer + offset + 1) = (u_cell_height.base >> (8 * 1)) & 0xFF;
53 *(outbuffer + offset + 2) = (u_cell_height.base >> (8 * 2)) & 0xFF;
54 *(outbuffer + offset + 3) = (u_cell_height.base >> (8 * 3)) & 0xFF;
57 *(outbuffer + offset++) = 0;
58 *(outbuffer + offset++) = 0;
59 *(outbuffer + offset++) = 0;
74 u_cell_width.base = 0;
75 u_cell_width.base |= ((uint32_t) (*(inbuffer + offset + 0))) << (8 * 0);
76 u_cell_width.base |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
77 u_cell_width.base |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
78 u_cell_width.base |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
85 u_cell_height.base = 0;
86 u_cell_height.base |= ((uint32_t) (*(inbuffer + offset + 0))) << (8 * 0);
87 u_cell_height.base |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
88 u_cell_height.base |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
89 u_cell_height.base |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
92 uint8_t cells_lengthT = *(inbuffer + offset++);
104 const char *
getType(){
return "nav_msgs/GridCells"; };
105 const char *
getMD5(){
return "b9e4f5df6d28e272ebde00a3994830f5"; };
virtual int serialize(unsigned char *outbuffer) const
Definition: GridCells.h:32
geometry_msgs::Point st_cells
Definition: GridCells.h:21
GridCells()
Definition: GridCells.h:24
float cell_width
Definition: GridCells.h:18
float cell_height
Definition: GridCells.h:19
virtual int deserialize(unsigned char *inbuffer)
Definition: GridCells.h:66
uint8_t cells_length
Definition: GridCells.h:20
virtual int serialize(unsigned char *outbuffer) const
Definition: Point.h:26
Definition: GridCells.h:14
const char * getType()
Definition: GridCells.h:104
const char * getMD5()
Definition: GridCells.h:105
virtual int deserialize(unsigned char *inbuffer)
Definition: Point.h:35
geometry_msgs::Point * cells
Definition: GridCells.h:22
std_msgs::Header header
Definition: GridCells.h:17