Tasks #512
Implement bag-play tool
Status: | Resolved | Start date: | 08/18/2011 | |
---|---|---|---|---|
Priority: | Low | Due date: | 08/22/2011 | |
Assignee: | J. Moringen | % Done: | 100% | |
Category: | - | |||
Target version: | - |
Associated revisions
Added replay strategies in src/rsb/replay-strategies.lisp
refs #512
refs #512
- src/rsb/replay-strategies.lisp: new file; contains basic replay
strategy classes - src/rsb/protocol.lisp (replay): new generic function; replay events
using a given bag-connection and replay strategy
(schedule-event): new generic function; compute the time at which an
event should be replayed - src/rsb/package.lisp (package rsbag.rsb): added used package
rsbag.view; added exported symbols replay and schedule-event - cl-rsbag.asd (system cl-rsbag): added file
src/rsb/replay-strategies.lisp
Added bag->events methods in src/rsb/construction.lisp
refs #512
refs #512
- src/rsb/construction.lisp (define-open-bag-method string): open a
bag designated by a string
(define-open-bag-method pathname): similar for pathname
(bag->events bag uri): add channel connections and a replay strategy
to a bag
(bag->events channel uri): create a suitable informer for a bag
channel
Fixed help string, added commandline options in bag-play/main.lisp
refs #512
refs #512
- bag-play/main.lisp (make-help-string): new function; dedicated
function for help string generation
(main): call `make-help-string'; added commandline options {start,end}-{time,index}; fixed printing channels in log output
Improved commandline option processing in bag-play/main.lisp
refs #512
refs #512
- bag-play/main.lisp (make-help-string): removed --all option in
example
(update-synopsis): removed all-channels commandline option; added
channel commandline option
(main): validate {start,end}-{time,index} commandline options; pass
them to `bag->events'
Actually replay recorded events in bag-play/main.lisp
fixes #512
fixes #512
- bag-play/main.lisp (main): call replay instead of just sleeping
History
#1 Updated by J. Moringen almost 13 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 70
#2 Updated by J. Moringen almost 13 years ago
- Status changed from In Progress to Resolved
- % Done changed from 70 to 100
Applied in changeset r81.
#3 Updated by J. Moringen almost 13 years ago
- Project changed from Robotics Service Bus to RSBag
- Category deleted (
Common Lisp Tools)
#4 Updated by J. Moringen almost 13 years ago
Available here: