Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Comments

Dev#73

Merged
Rui-Pedro-Pires merged 31 commits intomainfrom
dev
Feb 24, 2025
Merged

Dev#73
Rui-Pedro-Pires merged 31 commits intomainfrom
dev

Conversation

@Rui-Pedro-Pires
Copy link
Contributor

This pull request includes significant updates to the middleware and instrument cluster components, focusing on configuration management, executable naming, and restructuring of the InstrumentCluster class. The most important changes include the removal of submodules, updates to the CMake configuration, the addition of configuration files, and extensive modifications to the InstrumentCluster class and its usage.

Configuration Management:

  • Added new configuration files: MiddleWare/config/MiddleWareConfig.json and config/InstrumentClusterConfig.json for defining connection and listening endpoints. [1] [2]

CMake Configuration:

  • Removed submodules from .gitmodules and MiddleWare/Libs. [1] [2]
  • Updated CMakeLists.txt to include directories and renamed executables for middleware and instrument cluster applications. [1] [2]

Instrument Cluster Class Restructuring:

  • Refactored InstrumentCluster class by introducing new structs (LightStatus, BatteryStatus, GearPosition) and updating properties and signals accordingly. [1] [2]
  • Modified constructor to support configuration file loading and updated subscriber declarations. [1] [2]
  • Updated main.cpp to handle optional configuration file argument for InstrumentCluster initialization.

Middleware Enhancements:

  • Enhanced middleware main.cpp to read configuration from a file if provided and added publishers for lights and gear. [1] [2]

These changes improve the flexibility, maintainability, and functionality of the middleware and instrument cluster components.

Rui-Pedro-Pires and others added 30 commits January 17, 2025 15:38
…memcpy calls to use as_string() for payload handling
…nt directly; adjust include paths for InstrumentCluster
…atteryStatus type; update related methods and QML bindings
…use BatteryStatus struct and improve light status properties
…gear display and improve light visibility handling
…gration; update gear handling in InstrumentCluster and related QML bindings
…subscriber-to-the-qt-app

66 task add the lights and gear subscriber to the qt app
… for session management; enhance battery display in FootbarInfo.qml
…e main application to handle dynamic instantiation and improve session management
…nput; fallback to default configuration if no file is provided
…pp-display

35 task qt fully functional UI app display
@Rui-Pedro-Pires Rui-Pedro-Pires merged commit f9e1ae0 into main Feb 24, 2025
2 checks passed
Rui-Pedro-Pires added a commit that referenced this pull request Aug 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants