Enhancement #933
bag-cat should use the same replay machinery as bag-play
Status: | Resolved | Start date: | 03/08/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | - | |||
Target version: | Robotics Service Bus - rsb-0.7 |
Description
This would allow taking advantage of all the functionality available in bag->events
and the replay strategy machinery.
Related issues
Associated revisions
Support function sinks in bag->events in src/rsb/construction.lisp
refs #932, #933
refs #932, #933
- src/rsb/construction.lisp (define-open-bag-method): generated
methods accept transform keyword parameter which gets passed to
`open-bag'
(bag->events bag t): changed specializer uri> t>events t string): changed specializer bag
(bag> t>events channel uri): changed channel connection class
(bag
`channel-connection'> `participant-channel-connection'>events channel function): new method; use a function as the
(bag
sink of a bag connection and its channel connections - src/rsb/channel-connection.lisp (close channel-connection): fixed
keyword parameters; do nothing
(participant-channel-connection): new class; specialized channel
connection for cases in which the sink is a RSB participant
(close participant-channel-connection): new method; detach the
participant - src/rsb/package.lisp (header): updated copyright
(package rsbag.rsb): added exported symbol
participant-channel-connection - src/rsb/replay/sequential-mixin.lisp
(process-event replay-bag-connection sequential-mixin t t t function):
new method; use a function as sink
Use bag->events in bag-cat/main.lisp
refs #932, fixes #933
refs #932, fixes #933
- bag-cat/main.lisp (update-synopsis): set default value of replay
strategy to as-fast-as-possible
(main): instead of manually setting up a serialized view of the
requested channels, use `bag->events' to create replay bag
connection; support for {start,end}-{time,index} comes for free - bag-cat/package.lisp (package rsbag.tools.cat): added used package
rsbag.rsb
History
#1 Updated by J. Moringen about 12 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
#2 Updated by J. Moringen about 12 years ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
Applied in changeset r383.