rosserial for Hydro
Fork of rosserial_mbed_lib by
Diff: std_msgs/UInt16.h
- Revision:
- 5:c30c76e8c3f1
- Parent:
- 3:1cf99502f396
diff -r 684f39d0c346 -r c30c76e8c3f1 std_msgs/UInt16.h --- a/std_msgs/UInt16.h Wed Feb 29 23:00:21 2012 +0000 +++ b/std_msgs/UInt16.h Thu May 08 06:34:18 2014 +0000 @@ -26,14 +26,14 @@ virtual int deserialize(unsigned char *inbuffer) { int offset = 0; - this->data |= ((uint16_t) (*(inbuffer + offset + 0))) << (8 * 0); + this->data = ((uint16_t) (*(inbuffer + offset))); this->data |= ((uint16_t) (*(inbuffer + offset + 1))) << (8 * 1); offset += sizeof(this->data); return offset; } - virtual const char * getType(){ return "std_msgs/UInt16"; }; - virtual const char * getMD5(){ return "1df79edf208b629fe6b81923a544552d"; }; + const char * getType(){ return "std_msgs/UInt16"; }; + const char * getMD5(){ return "1df79edf208b629fe6b81923a544552d"; }; };