Feature #2373

Implement a rsbag introspect command for introspecting systems described by log files

Added by J. Moringen almost 6 years ago. Updated almost 6 years ago.

Status:ResolvedStart date:08/29/2015
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

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

Description

rsbag introspect LOGFILE should process introspection events stored in the log file and build up the usual introspection data structures based on the processed events. After that, a report should be generated using one of the existing introspection formatting styles (textual tree, JSON, graph, etc.).

Differences from online introspection:
  • Optionally (should be the default, though) ignore Bye events to accumulate all entities, not just the "end state" of the system
  • Ignore latency and clock-offset stuff
Future work
  • Allow specifying a point in time or a temporal range to summarize

Related issues

Related to RSBag - Feature #2370: rsbag record should perform an introspection survey at th... Resolved 08/28/2015

Associated revisions

Revision 113d555d
Added by J. Moringen almost 6 years ago

Added description of introspect command in tool-introspect.rst

refs #2373

  • tool-introspect.rst: new file; contains description of introspect
    command
  • tools.rst: include tool-introspect.rst

Revision 98011814
Added by J. Moringen almost 6 years ago

Initial import of introspect command in src/commands/introspect.lisp

refs #2373

  • src/commands/introspect.lisp: new file; contains implementation of
    introspect command
  • test/commands/introspect.lisp: new file; contains unit tests for
    introspect command
  • rsbag-tools-commands.asd (system rsbag-tools-commands): added file
    src/commands/introspect.lisp
    (system rsbag-tools-commands-test): added file
    test/commands/introspect.lisp

Revision 4f6c23fa
Added by J. Moringen almost 6 years ago

Initial import of introspect tool in bag-introspect/*.lisp

refs #2373

  • bag-introspect/main.lisp: new file; entry point of introspect tool
  • bag-introspect/package.lisp: new file; package definition for
    introspect tool
  • main/main.lisp (name->entry-point): added "introspect" ->
    rsbag.tools.introspect:main entry
  • cl-rsbag-tools-introspect.asd: new file; system definition for
    introspect tool
  • cl-rsbag-tools-main.asd (system cl-rsbag-tools-main): added system
    dependency on cl-rsbag-tools-introspect.asd
  • CMakeLists.txt (TOOLS): added introspect
    (Tests): added tests for introspect command

Revision ec67ca8f
Added by J. Moringen almost 6 years ago

Mention introspect command in news.rst

fixes #2373

  • news.rst (RSBag 0.13): mention introspect command

History

#1 Updated by J. Moringen almost 6 years ago

  • Related to Feature #2370: rsbag record should perform an introspection survey at the start of each recording added

#2 Updated by J. Moringen almost 6 years ago

  • Subject changed from Implement a rsbag introspect command log files to Implement a rsbag introspect command for introspecting systems described by log files

#3 Updated by J. Moringen almost 6 years ago

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

Also available in: Atom PDF