Feature #2096
Allow looping replay in bag-play
Status: | Resolved | Start date: | 11/19/2014 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | Commandline Tools | |||
Target version: | Robotics Service Bus - rsb-0.11 |
Associated revisions
Support repeated replay in common/*.lisp, bag-{cat,play}/main.lisp
fixes #2096
- common/options.lisp (header): updated copyright
(make-replay-options): added loop commandline option - common/help.lisp (header): updated copyright
(make-replay-strategy-help-string): added :num-repetitions to
blacklisted replay strategy initargs - bag-cat/main.lisp (header): updated copyright
(main): pass value of loop commandline option to replay strategy - bag-play/main.lisp (main): likewise
- CMakeLists.txt: added tests for loop commandline option for
bag-{cat,play} binaries
Added repetitions in src/rsb/replay/*.lisp
refs #2096
- src/rsb/replay/strategy-mixins.lisp (repetitions-mixin): new class;
stores a number of times a replay should be repeated
(call-repeatedly): new function; call a thunk a specified number of
times or forever
(sequential-mixin): added superclass `repetitions-mixin'
(replay replay-bag-connection sequential-mixin): use `call-repeatedly'
to repeat replaying the event sequence num-repetitions times or
infinitely - src/rsb/replay/interactive.lisp (header): updated copyright
(replay replay-bag-connection interactive): use `call-repeatedly' to
achieve requested number of repetitions - src/rsb/replay/remote-controlled.lisp
(replay replay-bag-connection remote-controlled): likewise - src/rsb/replay/package.lisp (package rsbag.rsb.replay): added exported
symbol repetitions-mixin
History
#1 Updated by J. Moringen over 8 years ago
- Status changed from New to In Progress
#2 Updated by J. Moringen over 8 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset rsbag-tools-cl|a83f439500976bc95b07b9e2e37cef92c3b653d2.
#3 Updated by J. Moringen over 8 years ago
Manual commit is rsbag-manual|f0d635a4.