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

Dependencies:   rosserial_mbed_lib mbed Servo

ros/msg.h

Committer:
nucho
Date:
2011-08-19
Revision:
0:06fc856e99ca
Child:
1:098e75fd5ad2

File content as of revision 0:06fc856e99ca:

/*
 * Msg.h
 *
 *  Created on: Aug 5, 2011
 *      Author: astambler
 */

#ifndef ROS_MSG_H_
#define ROS_MSG_H_

namespace ros {
/* Base Message Type */
class Msg {
public:
    virtual int serialize(unsigned char *outbuffer) = 0;
    virtual int deserialize(unsigned char *data) = 0;
    virtual const char * getType() = 0;

};
}

#endif /* MSG_H_ */