![](/media/cache/profiles/94aef38441efa3380a3bed3faf1f9d5d.50x50_q85.jpg)
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
Diff: std_msgs/Bool.h
- Revision:
- 1:098e75fd5ad2
- Parent:
- 0:06fc856e99ca
- Child:
- 3:dff241b66f84
--- a/std_msgs/Bool.h Fri Aug 19 09:06:16 2011 +0000 +++ b/std_msgs/Bool.h Sun Oct 16 07:17:43 2011 +0000 @@ -19,7 +19,7 @@ int offset = 0; union { bool real; - unsigned char base; + uint8_t base; } u_data; u_data.real = this->data; *(outbuffer + offset + 0) = (u_data.base >> (8 * 0)) & 0xFF; @@ -32,7 +32,7 @@ int offset = 0; union { bool real; - unsigned char base; + uint8_t base; } u_data; u_data.base = 0; u_data.base |= ((typeof(u_data.base)) (*(inbuffer + offset + 0))) << (8 * 0);