Tasks #512

Implement bag-play tool

Added by J. Moringen over 12 years ago. Updated over 12 years ago.

Status:ResolvedStart date:08/18/2011
Priority:LowDue date:08/22/2011
Assignee:J. Moringen% Done:

100%

Category:-
Target version:-

Associated revisions

Revision bfebf680
Added by J. Moringen over 12 years ago

Added replay strategies in src/rsb/replay-strategies.lisp
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

Revision 72d2cc8b
Added by J. Moringen over 12 years ago

Added bag->events methods in src/rsb/construction.lisp
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

Revision 97d330fa
Added by J. Moringen over 12 years ago

Fixed help string, added commandline options in bag-play/main.lisp
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

Revision 6460bb5c
Added by J. Moringen over 12 years ago

Improved commandline option processing in bag-play/main.lisp
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'

Revision ed308d27
Added by J. Moringen over 12 years ago

Actually replay recorded events in bag-play/main.lisp
fixes #512
  • bag-play/main.lisp (main): call replay instead of just sleeping

History

#1 Updated by J. Moringen over 12 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 70

#2 Updated by J. Moringen over 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100

Applied in changeset r81.

#3 Updated by J. Moringen over 12 years ago

  • Project changed from Robotics Service Bus to RSBag
  • Category deleted (Common Lisp Tools)

Also available in: Atom PDF