How tuchhu/candevstudio works
Main Components Overview
The system should be represented as a modular architecture with these key layers:
a. GUI Layer
• Main Window (src/gui)
• Project Configuration
• Component Drag & Drop Interface
• Property Editors
b. Core Components Layer (src/components)
• CAN Device Management
• Signal Processing
• Data Visualization
• Logging Components
• QML Scripting Engine
c. Common Infrastructure Layer (src/common)
• Plugin System
• Component Interfaces
• Data Models
• Configuration Handlers
Detailed Component Relationships
a. Core CAN Components:
• CanDevice |---->| CanRawFilter |---->| CanRawView |
• v
• CanSignalData |---->|CanSignalDecoder|
b. Signal Processing Chain:
• CanSignalEncoder|---->|CanSignalSender|---->|CanSignalViewer|
Integration Points
External interfaces:
• Hardware Layer | | SocketCAN | | Cannelloni |
• (CAN Bus) |---->| Interface |---->| Interface |
Plugin Architecture
Plugin system:
• Plugin Loader |
• v
• Component | | Component |
• Interface |<----| Implementation|
Important Details
a. Data Flow Indicators:
• Signal processing paths
• Configuration data flow
b. Component Properties:
• Configuration options
• Supported backends
• Interface requirements
c. External Dependencies:
• Qt Framework integration
• Hardware interface requirements
• Operating system specific components
Notes for Implementation
• The modular nature of the system
• Plugin-based architecture
• Support for multiple CAN interfaces
• Signal processing capabilities
• QML scripting integration
• Real-time visualization components