Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SteadyTimer #1014

Merged
merged 11 commits into from
Jul 19, 2017
Merged

Add SteadyTimer #1014

merged 11 commits into from
Jul 19, 2017

Commits on Mar 8, 2017

  1. add SteadyTimer

    based on SteadyTime (which uses the CLOCK_MONOTONIC).
    This timer is not influenced by time jumps of the system time,
    so ideal for things like periodic checks of timeout/heartbeat, etc...
    flixr committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    31e90c2 View commit details
    Browse the repository at this point in the history
  2. fix timer_manager to really use a steady clock when needed

    This is a bit of a hack, since up to boost version 1.61 the time of the steady clock is always converted to system clock,
    which is then used for the wait... which obviously doesn't help if we explicitly want the steady clock.
    
    So as a workaround, include the backported versions of the boost condition variable if boost version is not recent enough.
    flixr committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    29c2116 View commit details
    Browse the repository at this point in the history
  3. add tests for SteadyTimer

    flixr committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    1dbf8fa View commit details
    Browse the repository at this point in the history
  4. [test] add -pthread to make some tests compile

    not sure if this is only need in my case on ROS indigo...
    flixr committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    f62a3f2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4fb7c1f View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2017

  1. Configuration menu
    Copy the full SHA
    d047af7 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2017

  1. specialize TimerManager threadFunc for SteadyTimer

    to avoid the typeid check and make really sure the correct boost condition wait_until implementation is used
    flixr committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    fc5c402 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2017

  1. Revert "[test] add -pthread to make some tests compile"

    This reverts commit f62a3f2.
    flixr committed May 16, 2017
    Configuration menu
    Copy the full SHA
    1dd69de View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2017

  1. Configuration menu
    Copy the full SHA
    6edc677 View commit details
    Browse the repository at this point in the history
  2. mostly spaces

    dirk-thomas committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    f4f14d4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1 from ros/steady_timer2

    The important change is the minimum version for the dependency on rostime to ensure the version contains SteadyTime.
    
    The other changes are mostly spaces.
    flixr authored Jul 19, 2017
    Configuration menu
    Copy the full SHA
    731a424 View commit details
    Browse the repository at this point in the history