1 #ifndef _ROS_nav_msgs_MapMetaData_h
2 #define _ROS_nav_msgs_MapMetaData_h
32 virtual int serialize(
unsigned char *outbuffer)
const
50 *(outbuffer + offset + 0) = (u_resolution.base >> (8 * 0)) & 0xFF;
51 *(outbuffer + offset + 1) = (u_resolution.base >> (8 * 1)) & 0xFF;
52 *(outbuffer + offset + 2) = (u_resolution.base >> (8 * 2)) & 0xFF;
53 *(outbuffer + offset + 3) = (u_resolution.base >> (8 * 3)) & 0xFF;
55 *(outbuffer + offset + 0) = (this->
width >> (8 * 0)) & 0xFF;
56 *(outbuffer + offset + 1) = (this->
width >> (8 * 1)) & 0xFF;
57 *(outbuffer + offset + 2) = (this->
width >> (8 * 2)) & 0xFF;
58 *(outbuffer + offset + 3) = (this->
width >> (8 * 3)) & 0xFF;
59 offset +=
sizeof(this->
width);
60 *(outbuffer + offset + 0) = (this->
height >> (8 * 0)) & 0xFF;
61 *(outbuffer + offset + 1) = (this->
height >> (8 * 1)) & 0xFF;
62 *(outbuffer + offset + 2) = (this->
height >> (8 * 2)) & 0xFF;
63 *(outbuffer + offset + 3) = (this->
height >> (8 * 3)) & 0xFF;
64 offset +=
sizeof(this->
height);
73 this->
map_load_time.
sec |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
74 this->
map_load_time.
sec |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
75 this->
map_load_time.
sec |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
86 u_resolution.base = 0;
87 u_resolution.base |= ((uint32_t) (*(inbuffer + offset + 0))) << (8 * 0);
88 u_resolution.base |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
89 u_resolution.base |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
90 u_resolution.base |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
93 this->
width = ((uint32_t) (*(inbuffer + offset)));
94 this->
width |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
95 this->
width |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
96 this->
width |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
97 offset +=
sizeof(this->
width);
98 this->
height = ((uint32_t) (*(inbuffer + offset)));
99 this->
height |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
100 this->
height |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
101 this->
height |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
102 offset +=
sizeof(this->
height);
107 const char *
getType(){
return "nav_msgs/MapMetaData"; };
108 const char *
getMD5(){
return "10cfc8a2818024d3248802c00c95f11b"; };
uint32_t nsec
Definition: time.h:50
uint32_t sec
Definition: time.h:50
virtual int serialize(unsigned char *outbuffer) const
Definition: Pose.h:26
virtual int deserialize(unsigned char *inbuffer)
Definition: Pose.h:34