Bug #2352

bag info: Durations contain 'd0' at the end

Added by J. Wienke about 6 years ago. Updated about 5 years ago.

Status:ResolvedStart date:07/24/2015
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Commandline Tools
Target version:Robotics Service Bus - rsb-0.15

Description

With the current master build, printed durations for the info command contain a d0 at the end of the number. Is this intended?


Related issues

Related to RSBag - Bug #2353: bag info: Rate is sometimes printed as fraction Resolved 07/24/2015

Associated revisions

Revision 988fc7e0
Added by J. Moringen about 5 years ago

Builder-based formatting style in src/commands/info.lisp

fixes #2353, fixes #2352, refs #2351

  • src/commands/info.lisp (header): updated copyright
    (bag-style-tree): new class
    (stream): new special variable; used by `format-event' method
    (format-event bag bag-style-tree t): new method; format bag and
    channel information in a textual tree using a provided builder
    traversal and computed properties
    (info::print-format): changed :no -> nil in type
    (command-execute info): construct a `bag-style-tree' instance and use
    it in `format-event'
  • bag-info/main.lisp (main): translate print-format value :no to nil for
    :print-format initarg of `info' command
  • rsbag-tools-commands.asd (system rsbag-tools-commands): added system
    dependency on rsbag-builder

History

#1 Updated by J. Wienke about 6 years ago

The rate field is also affected by this.

#2 Updated by J. Moringen about 6 years ago

  • Related to Bug #2353: bag info: Rate is sometimes printed as fraction added

#3 Updated by J. Moringen over 5 years ago

  • Target version changed from rsb-0.13 to rsb-0.14

#4 Updated by J. Moringen about 5 years ago

  • Target version changed from rsb-0.14 to rsb-0.15

#5 Updated by J. Moringen about 5 years ago

  • Subject changed from bag info durations contain 'd0' at the end to bag info: durations contain 'd0' at the end

#6 Updated by J. Moringen about 5 years ago

  • Subject changed from bag info: durations contain 'd0' at the end to bag info: Durations contain 'd0' at the end

#7 Updated by J. Moringen about 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF