How kscalelabs/krecviz works
Main Components
a) Input Layer:
• KREC File Handler (for robot movement recordings)
• URDF File Parser (for robot model descriptions)
b) Core Processing Layer:
• Visualization Engine
• Data Transformation Module
c) Output Layer:
• RRD (Robot Recording Data) Generator
• Viewer Interface
Component Relationships
• Input files (KREC/URDF) → Data Processing → Visualization → Output (RRD format)
• Both CLI and Python API entry points
Specific Implementation Details
[Input Sources]
• KREC Files (.krec) ─────┐
• (Robot Recordings) │
• v
[Processing Layer] ────── Data Transformer
• URDF Files (.urdf) ────┘
• (Robot Description)
[Visualization Engine]
• v
[Output Layer]
• RRD File Generator
• Rerun Viewer Interface
Important Elements to Highlight
a) File Format Support:
• .krec (Robot movement recordings)
• .urdf (Robot description files)
• .rrd (Output format)
b) Integration Points:
• CLI interface
• Python API
• Rerun viewer integration
Technical Details
• Python package structure
• External dependencies
• Data flow direction between components
• File format transformations