Extend Time implementation into Timer and Rate objects
Open
Nobody has claimed this yet.
backlog
enhancement
help wanted
- Dominant language
- C++
- Stars
- 805
- Forks
- 564
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 27
Description
The Timer and Rate need to use a clock, with a coupled time source to accurately sleep.
- Remove internal Rate sleep method, and externalize it with a valid clock or pass in the clock.
- Provide a sleep method for the Timer class.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Timer and Rate class implementations and read how their current clock and sleep behavior work. Then address the two listed tasks: couple sleeping to a valid clock and provide Timer sleep behavior, with tests showing accurate timing and the intended interfaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- robotics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100