Feature #1423

Allow timestamp adjustments for the remote-controlled replay strategy

Added by J. Wienke about 11 years ago. Updated about 11 years ago.

Status:ResolvedStart date:02/19/2013
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:-
Target version:Robotics Service Bus - rsb-0.9

Description

I need to receive the original send timestamp of an event replayed using rsbag. The documentation indicates that this is possible using the :adjustments argument:
http://docs.cor-lab.de//rsbag-manual/trunk/html/bag-play.html#adjusting-timestamps-during-replay
However, this seems to be unsupported by the remote-controlled strategy:

jwienke@augit:~/Desktop$ /homes/jwienke/Desktop/bag-tools/master/bag-play -p none -r 'remote-controlled :uri "spread:/control" :adjustments ((:original_send (:copy :send)))' -c '/monitoring.*' -c '/runner/states/entry/' nao-explorative.tide spread:
STYLE-WARNING: Undefined alien: "SSLv2_client_method" 
Invalid initialization argument:
  :ADJUSTMENTS
in call for class #<STANDARD-CLASS RSBAG.RSB.REPLAY:REMOTE-CONTROLLED>.
See also:
  The ANSI Standard, Section 7.1.2

Also tested with current trunk version.


Related issues

Blocked by Robotics Service Bus - Feature #1425: Implement framework-level event transformations Resolved 02/19/2013

Associated revisions

Revision c98a9870
Added by J. Moringen about 11 years ago

Added timestamp-adjustment-mixin in src/rsb/replay/{interactive,remote-controlled}.lisp

refs #1423

  • src/rsb/replay/interactive.lisp (interactive): added superclass
    `timestamp-adjustment-mixin'
  • src/rsb/replay/remote-controlled.lisp (remote-controlled): likewise
  • cl-rsbag.asd (system cl-rsbag): added dependency of
    src/rsb/replay/interactive.lisp and
    src/rsb/replay/remote-controlled.lisp on
    src/rsb/replay/timestamp-adjustment-mixin.lisp

Revision 0b463b8a
Added by J. Moringen about 11 years ago

Backport: Added timestamp-adjustment-mixin in src/rsb/replay/{interactive,remote-controlled}.lisp

refs #1423

  • src/rsb/replay/interactive.lisp (interactive): added superclass
    `timestamp-adjustment-mixin'
  • src/rsb/replay/remote-controlled.lisp (remote-controlled): likewise
  • cl-rsbag.asd (system cl-rsbag): added dependency of
    src/rsb/replay/interactive.lisp and
    src/rsb/replay/remote-controlled.lisp on
    src/rsb/replay/timestamp-adjustment-mixin.lisp

History

#1 Updated by J. Moringen about 11 years ago

  • Status changed from New to In Progress

#2 Updated by J. Moringen about 11 years ago

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

Not sure if this should be reimplemented using the generic transform mechanism. At least not now anyway.

Also available in: Atom PDF