leahi-realtime-cdt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Added MsgProtoUtils_h.jinja and MsgProtoUtils_cpp.jinja templates generating struct <-> protobuf conversion utilities (LeahiMsgProtoUtils.h/.cpp).

- Added write_msg_proto_utils_header/source to MsgCpp.py and a --proto flag path in GenerateMsgDefsCpp.py to produce the new files.

- Removed the proto flag from write_msg_defs_header/source and the MsgDefs templates so MsgDefs no longer embeds protobuf utilities.

- Updated MsgUtils.cmake to declare the MsgProtoUtils outputs and template dependencies, and CMakeLists.txt to list the generated files.

- Removed the obsolete ProtoInterface.h/cpp.

- Updated LeahiRtController to include LeahiMsgProtoUtils.h.

- Added MessageDispatcher to MsgUtils.

- Updated LeahiRt main.cpp signal handling to use signalfd + QSocketNotifier for graceful shutdown inside the event loop.

- Updated tools/CMakeLists.txt to build AgentSim.

- Updated AgentSimController::handleMessage to output received message protobuf to console.

    • -60
    • +0
    /lib/Comms/include/ProtoInterface.h
    • -145
    • +0
    /lib/Comms/src/ProtoInterface.cpp
    • -0
    • +244
    /lib/MsgUtils/src/MessageDispatcher.cpp
    • -2
    • +5
    /scripts/MsgUtils/GenerateMsgDefsCpp.py
    • -6
    • +40
    /scripts/MsgUtils/msgutils/MsgCpp.py
  1. … 4 more files in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Added MsgProtoUtils_h.jinja and MsgProtoUtils_cpp.jinja templates generating struct <-> protobuf conversion utilities (LeahiMsgProtoUtils.h/.cpp).

- Added write_msg_proto_utils_header/source to MsgCpp.py and a --proto flag path in GenerateMsgDefsCpp.py to produce the new files.

- Removed the proto flag from write_msg_defs_header/source and the MsgDefs templates so MsgDefs no longer embeds protobuf utilities.

- Updated MsgUtils.cmake to declare the MsgProtoUtils outputs and template dependencies, and CMakeLists.txt to list the generated files.

- Removed the obsolete ProtoInterface.h/cpp.

- Updated LeahiRtController to include LeahiMsgProtoUtils.h.

- Added MessageDispatcher to MsgUtils.

- Updated LeahiRt main.cpp signal handling to use signalfd + QSocketNotifier for graceful shutdown inside the event loop.

- Updated tools/CMakeLists.txt to build AgentSim.

- Updated AgentSimController::handleMessage to output received message protobuf to console.

    • -60
    • +0
    /lib/Comms/include/ProtoInterface.h
    • -145
    • +0
    /lib/Comms/src/ProtoInterface.cpp
    • -0
    • +244
    /lib/MsgUtils/src/MessageDispatcher.cpp
    • -2
    • +5
    /scripts/MsgUtils/GenerateMsgDefsCpp.py
    • -6
    • +40
    /scripts/MsgUtils/msgutils/MsgCpp.py
  1. … 4 more files in changeset.
- Added MsgProtoUtils_h.jinja and MsgProtoUtils_cpp.jinja templates generating struct <-> protobuf conversion utilities (LeahiMsgProtoUtils.h/.cpp). - Added write_msg_proto_utils_header/source to MsgCpp.py and a --proto flag path in GenerateMsgDefsCpp.py to produce the new files. - Removed the proto flag from write_msg_defs_header/source and the MsgDefs templates so MsgDefs no longer embeds protobuf utilities. - Updated MsgUtils.cmake to declare the MsgProtoUtils outputs and template dependencies, and CMakeLists.txt to list the generated files. - Removed the obsolete ProtoInterface.h/cpp. - Updated LeahiRtController to include LeahiMsgProtoUtils.h. - Added MessageDispatcher to MsgUtils. - Updated LeahiRt main.cpp signal handling to use signalfd + QSocketNotifier for graceful shutdown inside the event loop. - Updated tools/CMakeLists.txt to build AgentSim. - Updated AgentSimController::handleMessage to output received message protobuf to console.

    • -60
    • +0
    /lib/Comms/include/ProtoInterface.h
    • -145
    • +0
    /lib/Comms/src/ProtoInterface.cpp
    • -0
    • +244
    /lib/MsgUtils/src/MessageDispatcher.cpp
    • -2
    • +5
    /scripts/MsgUtils/GenerateMsgDefsCpp.py
    • -6
    • +40
    /scripts/MsgUtils/msgutils/MsgCpp.py
  1. … 4 more files in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Ported MessageDispatcher into MsgUtils for per-CAN-id multi-frame reassembly and wired it into LeahiRtController.

- Enabled MessageDispatcher.h/.cpp in MsgUtils CMakeLists.txt and removed the unused absl dependency.

- Fixed MsgData.py duplicate-ID/duplicate-name warning messages and msg_id parsing.

- Updated MsgDefs jinja templates to guard protobuf generation behind the proto flag, rename params to paramList, and fixed the static capture lambda.

- Reimplemented MessageBuilder::getActionId and added Types::BOOL alias.

- Renamed SDD CloudSyncRt.puml to RealtimeDataTransfer.puml.

    • -53
    • +14
    /lib/Comms/include/AgentInterface.h
    • -26
    • +30
    /lib/Comms/src/AgentInterface.cpp
    • -124
    • +50
    /lib/MsgUtils/include/AgentMessage.h
    • -34
    • +59
    /lib/MsgUtils/src/AgentMessage.cpp
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Ported MessageDispatcher into MsgUtils for per-CAN-id multi-frame reassembly and wired it into LeahiRtController.

- Enabled MessageDispatcher.h/.cpp in MsgUtils CMakeLists.txt and removed the unused absl dependency.

- Fixed MsgData.py duplicate-ID/duplicate-name warning messages and msg_id parsing.

- Updated MsgDefs jinja templates to guard protobuf generation behind the proto flag, rename params to paramList, and fixed the static capture lambda.

- Reimplemented MessageBuilder::getActionId and added Types::BOOL alias.

- Renamed SDD CloudSyncRt.puml to RealtimeDataTransfer.puml.

    • -0
    • +14
    /SDDs/RealtimeDataTransfer.puml
    • -53
    • +14
    /lib/Comms/include/AgentInterface.h
    • -26
    • +30
    /lib/Comms/src/AgentInterface.cpp
    • -124
    • +50
    /lib/MsgUtils/include/AgentMessage.h
    • -34
    • +59
    /lib/MsgUtils/src/AgentMessage.cpp
Added MessageDispatcher, normalized Doxygen comments, and fixed codegen pipeline.

- Ported MessageDispatcher into MsgUtils for per-CAN-id multi-frame reassembly and wired it into LeahiRtController.

- Enabled MessageDispatcher.h/.cpp in MsgUtils CMakeLists.txt and removed the unused absl dependency.

- Fixed MsgData.py duplicate-ID/duplicate-name warning messages and msg_id parsing.

- Updated MsgDefs jinja templates to guard protobuf generation behind the proto flag, rename params to paramList, and fixed the static capture lambda.

- Reimplemented MessageBuilder::getActionId and added Types::BOOL alias.

- Renamed SDD CloudSyncRt.puml to RealtimeDataTransfer.puml.

    • -0
    • +14
    /SDDs/RealtimeDataTransfer.puml
    • -53
    • +14
    /lib/Comms/include/AgentInterface.h
    • -26
    • +30
    /lib/Comms/src/AgentInterface.cpp
    • -124
    • +50
    /lib/MsgUtils/include/AgentMessage.h
    • -34
    • +59
    /lib/MsgUtils/src/AgentMessage.cpp
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated CMakeLists.txt and CANDumpPlayer/CMakeLists.txt to change minimum required cmake version.

- Updated CMakeLists.txt and CANDumpPlayer/CMakeLists.txt to change minimum required cmake version.

LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated CMakeLists.txt and CANDumpPlayer/CMakeLists.txt to change minimum required cmake version.

LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated scripts/MsgUtils/../MsgData.py to change console warning messages, updated parameter regex matching, and change conditions for storing ingested rows.

    • -12
    • +11
    /scripts/MsgUtils/msgutils/MsgData.py
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated scripts/MsgUtils/../MsgData.py to change console warning messages, updated parameter regex matching, and change conditions for storing ingested rows.

    • -12
    • +11
    /scripts/MsgUtils/msgutils/MsgData.py
Cleaned up MsgUtils script warning message output when ingesting Unhandled.conf

- Updated scripts/MsgUtils/../MsgData.py to change console warning messages, updated parameter regex matching, and change conditions for storing ingested rows.

    • -12
    • +11
    /scripts/MsgUtils/msgutils/MsgData.py
Merge branch 'ScriptsModule' into AgentSim

Merge branch 'ScriptsModule' into AgentSim

Merge branch 'ScriptsModule' into AgentSim

Updated CMakeLists.txt

- Updated project CMakeLists.txt and CANDumpPlayer/CMakeLists.txt to require cmake version 3.19 or higher.

LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated project CMakeLists.txt and CANDumpPlayer/CMakeLists.txt to require cmake version 3.19 or higher.

LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Updated project CMakeLists.txt and CANDumpPlayer/CMakeLists.txt to require cmake version 3.19 or higher.

Merge branch 'cmake' into AgentSim

Merge branch 'cmake' into AgentSim

Merge branch 'cmake' into AgentSim

LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Added *.egg-info/ to .gitignore so pip's editable-install metadata stays out of the repo.

- Removed scripts/MsgUtils/msgutils.egg-info/ from the index (files remain on disk; they are regenerated by pip install -e).

Added *.egg-info/ to .gitignore and untracked scripts/MsgUtils/msgutils.egg-info.

- Added *.egg-info/ to .gitignore so pip's editable-install metadata stays out of the repo.

- Removed scripts/MsgUtils/msgutils.egg-info/ from the index (files remain on disk; they are regenerated by pip install -e).

LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Added *.egg-info/ to .gitignore so pip's editable-install metadata stays out of the repo.

- Removed scripts/MsgUtils/msgutils.egg-info/ from the index (files remain on disk; they are regenerated by pip install -e).

LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Added cmake/PythonVenv.cmake which creates a project-wide venv at ${CMAKE_BINARY_DIR}/.venv and provides a register_python_package() helper.

- Included PythonVenv.cmake from the top-level CMakeLists.txt so the venv is available before any subdirectory is added.

- Stripped per-component venv setup from lib/MsgUtils/CMakeLists.txt and replaced it with register_python_package(${MSGUTILS_SCRIPTS_DIR}).

- Replaced MSGUTILS_PYTHON references in lib/MsgUtils/cmake/MsgUtils.cmake with PROJECT_PYTHON.

- register_python_package re-runs pip install only when pyproject.toml changes, keyed off a stamp file under build/python-venv-stamps/.

    • -0
    • +113
    /cmake/PythonVenv.cmake
Promoted msgutils venv to project-level Python venv shared by all components.

- Added cmake/PythonVenv.cmake which creates a project-wide venv at ${CMAKE_BINARY_DIR}/.venv and provides a register_python_package() helper.

- Included PythonVenv.cmake from the top-level CMakeLists.txt so the venv is available before any subdirectory is added.

- Stripped per-component venv setup from lib/MsgUtils/CMakeLists.txt and replaced it with register_python_package(${MSGUTILS_SCRIPTS_DIR}).

- Replaced MSGUTILS_PYTHON references in lib/MsgUtils/cmake/MsgUtils.cmake with PROJECT_PYTHON.

- register_python_package re-runs pip install only when pyproject.toml changes, keyed off a stamp file under build/python-venv-stamps/.

    • -0
    • +113
    /cmake/PythonVenv.cmake
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Added cmake/PythonVenv.cmake which creates a project-wide venv at ${CMAKE_BINARY_DIR}/.venv and provides a register_python_package() helper.

- Included PythonVenv.cmake from the top-level CMakeLists.txt so the venv is available before any subdirectory is added.

- Stripped per-component venv setup from lib/MsgUtils/CMakeLists.txt and replaced it with register_python_package(${MSGUTILS_SCRIPTS_DIR}).

- Replaced MSGUTILS_PYTHON references in lib/MsgUtils/cmake/MsgUtils.cmake with PROJECT_PYTHON.

- register_python_package re-runs pip install only when pyproject.toml changes, keyed off a stamp file under build/python-venv-stamps/.

LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Moved lib/MsgUtils/scripts to scripts/MsgUtils.

- Updated lib/MsgUtils/CMakeLists.txt and associated files for move.

    • -35
    • +0
    /lib/MsgUtils/scripts/GenerateProtobuf.py
    • -176
    • +0
    /lib/MsgUtils/scripts/msgutils/MsgCpp.py
    • -234
    • +0
    /lib/MsgUtils/scripts/msgutils/MsgData.py
    • -20
    • +0
    /lib/MsgUtils/scripts/pyproject.toml
    • -0
    • +40
    /scripts/MsgUtils/GenerateMsgDefsCpp.py
    • -0
    • +35
    /scripts/MsgUtils/GenerateProtobuf.py
  1. … 14 more files in changeset.
LDT-2852 - Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation

- Moved lib/MsgUtils/scripts to scripts/MsgUtils.

- Updated lib/MsgUtils/CMakeLists.txt and associated files for move.

    • -35
    • +0
    /lib/MsgUtils/scripts/GenerateProtobuf.py
    • -176
    • +0
    /lib/MsgUtils/scripts/msgutils/MsgCpp.py
    • -234
    • +0
    /lib/MsgUtils/scripts/msgutils/MsgData.py
    • -20
    • +0
    /lib/MsgUtils/scripts/pyproject.toml
    • -0
    • +40
    /scripts/MsgUtils/GenerateMsgDefsCpp.py
    • -0
    • +35
    /scripts/MsgUtils/GenerateProtobuf.py
    • -0
    • +6
    /scripts/MsgUtils/msgutils.egg-info/PKG-INFO
  1. … 14 more files in changeset.
Moved MsgUtils/scripts to scripts directory in root of project to separate code generation scripts from actual code.

- Moved lib/MsgUtils/scripts to scripts/MsgUtils.

- Updated lib/MsgUtils/CMakeLists.txt and associated files for move.

    • -35
    • +0
    /lib/MsgUtils/scripts/GenerateProtobuf.py
    • -176
    • +0
    /lib/MsgUtils/scripts/msgutils/MsgCpp.py
    • -234
    • +0
    /lib/MsgUtils/scripts/msgutils/MsgData.py
    • -20
    • +0
    /lib/MsgUtils/scripts/pyproject.toml
    • -0
    • +40
    /scripts/MsgUtils/GenerateMsgDefsCpp.py
    • -0
    • +35
    /scripts/MsgUtils/GenerateProtobuf.py
    • -0
    • +6
    /scripts/MsgUtils/msgutils.egg-info/PKG-INFO
  1. … 14 more files in changeset.