aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-05-27Simplify server configurationScott Murray4-640/+298
Remove the multiple server profiles to simplify the UI and the configuration file, as they're not that useful in practice. The unused buttons have also been removed from the settings page, and the server configuration enlarged and centered to improve the layout. Bug-AGL: SPEC-5141 Change-Id: I90cb6fb891de120435b4c3cf8141e27d6dbf0166 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-02-13Add gitlab issue/merge request templatesricefish_17.90.0ricefish/17.90.0lamprey_12.1.20lamprey/12.1.2017.90.012.1.20Jan-Simon Moeller2-0/+6
Add template files for gitlab Bug-AGL: SPEC-4474 Change-Id: I8ec8342d2e747c18640c6e9508c11516e0bb2b15 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-12-04Fix demo mode crash due to demo mode togglesuchinton20012-4/+6
- Avoid starting the same thread twice when running demo-mode - Add red highlight to toggle button when unchecked - Log errors when running running steering signals in CAN mode Bug-AGL: SPEC-5005 Change-Id: I73e163c87149e7d8eee53a7ab953339a7b94e1af Signed-off-by: suchinton2001 <suchinton.2001@gmail.com>
2023-11-28Update paths for kuksa-client 0.4.2Scott Murray1-4/+3
Update paths into the kuksa-client module directories to work with the new locations after the switch to the split out module repository, i.e. built with kuksa-python-sdk instead of kuksa.val. Bug-AGL: SPEC-4996 Change-Id: If7ef3785f8a245b1c31e721b61687db728331103 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-11-28Fix connection security state savingScott Murray2-7/+7
Fix parsing of connection security state from the .ini file to match what is getting written out, and update the canned default .ini file to match the changes. Bug-AGL: SPEC-4997 Change-Id: I49060a8bb4f08ba0ffa0cf1748bab2203716e032 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-11-28Fix HVAC signal updatesScott Murray1-3/+3
Add required targetValue attribute to HVAC signal setValue calls to indicate they are actuator target values. Bug-AGL: SPEC-4995 Change-Id: I07c5f17279b002f52d9a2b990cffbbceab816444 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-11-23VSS 4.0 updatesScott Murray3-20/+20
Change Left/Right to Driver/Passenger in HVAC VSS signal names to match VSS 4.0, and update fuel level signal. Bug-AGL: SPEC-4970 Change-Id: Iedd0a8ac721cc9b48266d75b2ad03c8f15f990de Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-11-02agl-demo-control-panel: Improve gRPC Modesuchinton20015-53/+159
V1: - Remove redundant calls to set instance - Start client as soon as connection is established V2: - Enable Subscriptions in gRPC mode - Fix UI stutter by blocking signals for specific widgets - Fix Vehicle Simulator, no longer run thread as a daemon SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: Iea3b9ce0532c1ebae530aed9dddd92d72ff4dd7b
2023-10-26Remove stray accessibility propertyScott Murray1-3/+0
Remove the lone empty "accessibleDescription" property from SteeringControls.ui, as it causes a crash with an exception when trying to run against PyQt5 installs that do not have the accessibility module. This is the case with the python3-pyqt5 build using the recipe in meta-qt5, so without this fix the control panel cannot run when built into a YP based image. Bug-AGL: SPEC-4951 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1f895f3cfefb24d4d1ae5508f4189ae3238b356d
2023-10-26agl-demo-control-panel: Add Fullscreen / maximized optionsuchinton20014-13/+45
V1: - Add fullscreen flag in config.ini to hide the header bar and launch the control-center in fullscreen mode. V2: - Write default user-session config if not found in config.ini Bug-AGL: SPEC-4948 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: I549390711cdda95f99ee166d99c302176d105f1f
2023-10-25agl-demo-control-panel: Fix typo in docker installation scriptsuchinton20011-1/+1
SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: Ic8a843ca131387863ace99d4743dc3bb94887393
2023-10-25agl-demo-control-panel: Save user preferences for next sessionsuchinton20014-49/+88
Read from config.ini to load users last uses settings. SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: I7a8da78a745f56596a84eb6c791af10881c0f7e5
2023-10-24agl-demo-control-panel: Fix circular import problemsuchinton20012-46/+33
Fix circular import, causing control panel to fail to launch SPEC-4942 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: Id035ba28b8c19d1002abf0073656d99572c43b0e
2023-10-23agl-demo-control-panel: Fix Svg icons scaling on Dashboardsuchinton200117-2318/+2656
V1: - Use QtSvg to set icons for dashboard icons - Update Readme and install_package script for docker image V2: Clean up code and improve formatting V3: - Increase font size for UI files - Fix HVAC bug, Control panel no longer crashes when Temp goes out of range - Refactor blocking subscription updates when CP in use Bug-AGL: SPEC-4939 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: I4f256d29fac614dd3e3c4193c2a08b230359906e
2023-10-19agl-demo-control-panel: Refactor Settings, Config and UI scalingsuchinton200123-2100/+2496
V1: - Add template to specify new configs in config.ini - Add drop-down to load all configurations specified in config.ini - Add new assets and refine UI elements (Scaling issue fixed) - Add size grip to main window - Add options in settings to configure port and AGL's CA.pem file - Removed unused or redundant files V2: - Check for user configs agl-demo-control-panel.ini & config.ini before resorting to default config.ini - Check for CA.pem and jwt tokens in default paths - Add new fields in settings for CA.pem file, jwt token path, TLS Server name - Fix crash in dashboard.py module due to icon.availableSizes() V3: Add Start/Stop states for the client V4: Block subscription event updates to the UI when values are changed on the control panel Bug-AGL: SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: Id7883ba3bc88248dabb58d54e6e931f6d365fd54
2023-10-13Add a Dockerfile and related filesLisandro Pérez Meyer5-0/+125
This builds a Docker container based upon bookworm-slim and starts the application using Qt's VNC platform plugin. Change-Id: Ica4437bb73b7c9b73b8e7ade6d2a7b508bb817e9 Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
2023-10-12agl-demo-control-panel: Add installation steps for debian/RPiOSsuchinton20015-53/+102
V1: - Fix window dragging event crash - Update dependencies in requirements.txt - Add installation instructions for Debian-based systems - Update Dashboard scaling of icons SPEC-4929 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: I200f18606a6008780d2f4553052f24a9df5d10b7
2023-10-09agl-demo-control-panel: Add grpc support for databrokersuchinton20019-593/+813
- Add grpc support for databroker (set default protocol) - Add virtual car for script mode in IC app - Refine UI elements - Use specific grpc/ws jwt tokens - Simplify settings menu Bug-AGL: SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: I59c4b1de80e280fe22993b2d2f7c92d6b41a89c7
2023-10-07agl-demo-control-panel: Update and add new assetssuchinton20017-5560/+19
v1: - Add new carbon icons - update res.qrc and res_rc.py to include new icons - Relocate CA.pem - Add grpc jwt token v2: - Fix merge conflict for res.qrc and res_rc.py v3: - Remove autogenerated res_rc.py resource file Bug-AGL: SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: I5172ad45cfa6ec8d9c6761fc8e8a3639097f5a96
2023-09-27Update UI filessuchinton200110-1246/+1185
V1: - Widen Scroll bars in IC and HVAC Page - Update UI to use carbon icon resources - Add new Dashboard page - Add bottom navigation bar to main window UI - Remove deprecated navigation page files Bug-AGL: SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: Ia307d326c4bc9af9969e1d6b2a2cb4948a7ee286
2023-09-18Update extra modulessuchinton20014-110/+447
V1: - Add module to feed Steering Control CAN messages - Add License headers to files - Modify UI_Handler to accommodate new Navigation bar animations - Minor code refactoring V2: - Add subscription handling in UI_Handler module - Add documentation for code - Remove redundant code Bug-AGL: SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: I6f7c2c2fb00885064c7894329329f13e447648d3
2023-09-18Update default configsuchinton20011-2/+22
- Add License header - Add CA.pem file path to enable "Secure mode" connection with kuksa Bug-AGL: SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: Ib9c8d7d2984db97563d6ba62d03d272b79979823
2023-09-18Update Resources and Requirementssuchinton200133-141992/+3438
V1: Rename carbon icons folder under assets and update res.qrc to reflect the same V2: - Upload updated res_rc.py file (Recompiled) - Upload updated requirements.txt file Bug-AGL: SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: I3d3aea92885b3fb80918356f2a591e997ffd26ce
2023-09-07Upload progress on AGL demo control panel in one batchsuchinton200172-0/+151486
AGL Demo Control Panel is a PyQt5 application used to simulate CAN bus signals using Kuksa.val v1: Initial commit v2: Remove unused assets v3: Add Opensans fonts, remove un-used styles and add Lisences as attributions v4: - Remove Opensans fonts, default to Dejavu fonts - Replace feather icons with carbon icons. - Reusing AGL demo app assests for HVAC and Steering wheel inputs. v5: Remove assets/Images/Lisences.md attribution file Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: I1529495deff6fc27eacb92f7a29c4f71f8c8d5d9
2023-07-05Initial empty repositoryJan-Simon Moeller0-0/+0