This repository was archived by the owner on Oct 6, 2025. It is now read-only.
Merged
Conversation
… 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
…lishing logic for new data frames
…oper string conversion
…d gear data more effectively
…ct string conversion
Rui-Pedro-Pires
added a commit
that referenced
this pull request
Aug 5, 2025
Middle ware zenoh config file add
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes several important changes to the
MiddleWareandInstrumentClustercomponents, focusing on configuration updates, adding new functionalities, and improving code clarity and maintainability.Configuration and Initialization:
MiddleWare/config/MiddleWareConfig.json: Added a new configuration file to specify connection and listening endpoints, and disabled multicast and gossip scouting.config/InstrumentClusterConfig.json: Added a new configuration file for the InstrumentCluster with connection and listening endpoints, and disabled multicast and gossip scouting.Code Enhancements:
MiddleWare/src/main.cpp: Modified themainfunction to accept a configuration file as an argument and added publishers for lights and gear. [1] [2] [3]src/main.cpp: Updated themainfunction to create anInstrumentClusterinstance with an optional configuration file argument and ensured proper memory management. [1] [2]New Functionalities:
src/InstrumentCluster.cpp: Added a new constructor to theInstrumentClusterclass to initialize it with a configuration file and declared subscribers for speed, battery, lights, and gear.include/InstrumentCluster.hpp: Updated theInstrumentClusterclass definition to include the new constructor.UI Updates:
ui/FootbarInfo.qml: Refactored the UI to display battery percentage and autonomy from theinstrumentClusterobject and commented out the old battery level image code. [1] [2]