Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of rosserial_mbed_lib by
Diff: std_msgs/UInt32MultiArray.h
- Revision:
- 5:c30c76e8c3f1
- Parent:
- 3:1cf99502f396
diff -r 684f39d0c346 -r c30c76e8c3f1 std_msgs/UInt32MultiArray.h
--- a/std_msgs/UInt32MultiArray.h Wed Feb 29 23:00:21 2012 +0000
+++ b/std_msgs/UInt32MultiArray.h Thu May 08 06:34:18 2014 +0000
@@ -46,7 +46,7 @@
offset += 3;
data_length = data_lengthT;
for( uint8_t i = 0; i < data_length; i++){
- this->st_data |= ((uint32_t) (*(inbuffer + offset + 0))) << (8 * 0);
+ this->st_data = ((uint32_t) (*(inbuffer + offset)));
this->st_data |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
this->st_data |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
this->st_data |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
@@ -56,8 +56,8 @@
return offset;
}
- virtual const char * getType(){ return "std_msgs/UInt32MultiArray"; };
- virtual const char * getMD5(){ return "4d6a180abc9be191b96a7eda6c8a233d"; };
+ const char * getType(){ return "std_msgs/UInt32MultiArray"; };
+ const char * getMD5(){ return "4d6a180abc9be191b96a7eda6c8a233d"; };
};
