This program is porting rosserial_arduino for mbed http://www.ros.org/wiki/rosserial_arduino This program supported the revision of 169 of rosserial.

Dependencies:  

Dependents:   rosserial_mbed robot_S2

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Empty.h Source File

Empty.h

00001 #ifndef _ROS_std_msgs_Empty_h
00002 #define _ROS_std_msgs_Empty_h
00003 
00004 #include <stdint.h>
00005 #include <string.h>
00006 #include <stdlib.h>
00007 #include "ros/msg.h"
00008 
00009 namespace std_msgs
00010 {
00011 
00012   class Empty : public ros::Msg
00013   {
00014     public:
00015 
00016     virtual int serialize(unsigned char *outbuffer) const
00017     {
00018       int offset = 0;
00019       return offset;
00020     }
00021 
00022     virtual int deserialize(unsigned char *inbuffer)
00023     {
00024       int offset = 0;
00025      return offset;
00026     }
00027 
00028     virtual const char * getType(){ return "std_msgs/Empty"; };
00029     virtual const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; };
00030 
00031   };
00032 
00033 }
00034 #endif