Personal fork
Fork of rosserial_mbed_lib by
Embed:
(wiki syntax)
Show/hide line numbers
Byte.h
00001 #ifndef _ROS_std_msgs_Byte_h 00002 #define _ROS_std_msgs_Byte_h 00003 00004 #include <stdint.h> 00005 #include <string.h> 00006 #include <stdlib.h> 00007 #include "ros/msg.h" 00008 #include "std_msgs/byte.h" 00009 00010 namespace std_msgs 00011 { 00012 00013 class Byte : public ros::Msg 00014 { 00015 public: 00016 std_msgs::byte data; 00017 00018 virtual int serialize(unsigned char *outbuffer) const 00019 { 00020 int offset = 0; 00021 offset += this->data.serialize(outbuffer + offset); 00022 return offset; 00023 } 00024 00025 virtual int deserialize(unsigned char *inbuffer) 00026 { 00027 int offset = 0; 00028 offset += this->data.deserialize(inbuffer + offset); 00029 return offset; 00030 } 00031 00032 virtual const char * getType(){ return "std_msgs/Byte"; }; 00033 virtual const char * getMD5(){ return "ad736a2e8818154c487bb80fe42ce43b"; }; 00034 00035 }; 00036 00037 } 00038 #endif
Generated on Tue Jul 12 2022 19:53:56 by 1.7.2