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: ros/time.h
- Revision:
- 1:098e75fd5ad2
- Parent:
- 0:06fc856e99ca
diff -r 06fc856e99ca -r 098e75fd5ad2 ros/time.h --- a/ros/time.h Fri Aug 19 09:06:16 2011 +0000 +++ b/ros/time.h Sun Oct 16 07:17:43 2011 +0000 @@ -32,21 +32,15 @@ * POSSIBILITY OF SUCH DAMAGE. */ -/* - * Author: Michael Ferguson - */ - -#ifndef ros_time_h_included -#define ros_time_h_included +#ifndef ROS_TIME_H_ +#define ROS_TIME_H_ #include <ros/duration.h> #include <math.h> - namespace ros { void normalizeSecNSec(unsigned long &sec, unsigned long &nsec); - class Time { public: unsigned long sec, nsec; @@ -81,8 +75,8 @@ return a; } +}; -}; } -#endif +#endif \ No newline at end of file