Re: ONE_SHOT_MODE vs. PERIODIC_MODE
Herman Bruyninckx <[email protected]> Fri, 8 Apr 2005 22:57:40 +0200 (CEST)
| Newsgroups | gmane.science.robotics.orocos.user |
|---|---|
| Message-ID | <Pine.LNX.4.62.0504082255590.3718@roble> |
On Fri, 8 Apr 2005, Vandenbroucke Sander wrote: [...] > Something else: > I've extended the interface of the TimerService class with a getNSecs() and getNSecs(nsecs relativeTime) function. It does the same as getTicks() but returns nsecs instead of ticks using the rt_get_cpu_time_ns() call. This gives the time in ns regardless of the type of timer mode that is used. I could send a patch, but it will have to wait until monday. > I'm all in favour of having interfaces that hide platform-specific details, so thanks! But I think Peter has these things already in the pipeline... Herman -- K.U.Leuven, Mechanical Engineering, Robotics Research Group <http://people.mech.kuleuven.be/~bruyninc> Tel: +32 16 322480