summaryrefslogtreecommitdiffstats
path: root/lib/screen
AgeCommit message (Collapse)AuthorFilesLines
2024-01-05Fix unit handlingScott Murray3-12/+21
Fix distance unit handling with respect to the VSS signal for that, and add temperature unit support. Bug-AGL: SPEC-5045 Change-Id: I9b25c36c36d19da55f1b9bff7f380c55d592d5d6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-09-24Rework to use KUKSA.val databroker gRPC APIScott Murray9-141/+154
Rework to move from the WebSocket API with the older KUKSA.val server to the gRPC "VAL" API of the databroker. Changes include: - All VISS WebSocket API code has been removed, and the signal providers replumbed to be driven by a new VssClient class with a dashboard-specific child class to hold all the gRPC API handling. - The generated code for the VAL API and its dependencies has been checked in under lib/generated, as there still does not seem to be a good way to generate it during the Flutter build. - The "flutter-" prefix has been dropped from the configuration file name (i.e. it's now just "cluster-dashboard.yaml") to match the naming used for the other Flutter applications. The authorization token field name has been renamed to "authorization", and there are new "use-tls" and "ca-certificate" configuration fields. TLS is disabled by default for now, and the default CA certificate is /etc/kuksa.val/CA.pem. - Bumped minimum SDK version to 2.18 in pubspec.yaml to enable "super" keyword support. This matches what the version was set to in the other applications. - The unused navigation support has been removed to simplify maintenance, as it is more likely that it will be replaced with something else in the future than fixed to be usable. - Removed .dart_tool generated output that had been checked in, and added .gitignore file from flutter-homescreen so that things will hopefully stay clean in the future. Since pubspec.lock is not checked in here, it has also been added to .gitignore. Bug-AGL: SPEC-4762 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Id35c569cdbb8476a527717ece7b4bb369c4874b7
2023-01-02VSS signal fixeslamprey_12.1.13lamprey/12.1.1312.1.13Scott Murray1-1/+5
Changes: - Update some signals for VSS 3.0 changes that were missed on the initial pass. - Improve error handling in VSS parsing to display error message from the VIS server. - Add explicit knob to disable navigation display with a default value of disabled, so that mode switches triggered by the steering wheel "Info" signal do not unexpectedly activate it. Bug-AGL: SPEC-4664 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib5fba613053f2860a0a5ff7331c78d6ab9590848 (cherry picked from commit c605ab037edcb35a7aa365fa6abe7fd6289d8a19)
2022-12-29UI tweaksScott Murray3-7/+11
Changes: - Changed inactive turn signal and notification icons' color to Colors.grey.shade600 to make them more visible. - Reworked initial connection popup position and size to have it at the bottom of the screen where it will not get covered up by the streaming navigation receiver window. - Tweaked the position of the navigation widget up a bit higher, as it seemed a bit low. Even though we will not be using it in the near term, it seemed worthwhile to do this for the future. Bug-AGL: SPEC-4653 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I334ef4defcfc8ce138c3900355e3c83ca5a0ac05
2022-09-14Upload Flutter Instrument Cluster appAakash Solanki16-0/+1275
Instrument Cluster demo app which shows speedometer tachometer guages, temperature and fuel bars and some indicators like turn indicators, engine malfunction, lights, cruise control, lane assist. KUKSA.VAL is the data source for the widgets. This app depends on several plugins and all the plugins have an OSI-approved license. Bug-AGL: SPEC-4543 Change-Id: I2698c66f9d8d824690ae7e567ca7c93ceeb17e08 Signed-off-by: Aakash Solanki <tech2aks@gmail.com>