orocos-toolchain / ocl

Orocos Component Library
Other
16 stars 33 forks source link

TimerComponent wait() and waitFor() not implemented #23

Closed meyerj closed 9 years ago

meyerj commented 9 years ago

The methods TimerComponent::wait(timerId, seconds) and TimerComponent::waitFor(timerId) are not implemented at the moment. wait (TimerComponent.cpp:61) only arms the timer and waitFor (TimerComponent.cpp:66) simply returns true immediately. Both functions do not wait until the timer is expired.

RTT::os::Timer should have a waitFor() implementation and an internal condition variable.