This program is porting rosserial_arduino for mbed http://www.ros.org/wiki/rosserial_arduino This program supported the revision of 169 of rosserial.
Dependents: rosserial_mbed robot_S2
Diff: ros/time.h
- Revision:
- 1:ff0ec969dad1
- Parent:
- 0:77afd7560544
diff -r 77afd7560544 -r ff0ec969dad1 ros/time.h --- a/ros/time.h Fri Aug 19 09:06:30 2011 +0000 +++ b/ros/time.h Sun Oct 16 07:19:36 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