summaryrefslogtreecommitdiffstats
path: root/lib/vehicle_signal
AgeCommit message (Collapse)AuthorFilesLines
2023-09-24Rework to use KUKSA.val databroker gRPC APIScott Murray7-872/+0
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-05-12Update some signal names for VSS 3.1.1Scott Murray1-6/+6
Bug-AGL: SPEC-4761 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5106b69d94cf13730bcbeee4e2d87b953410dcd2
2023-01-02VSS signal fixeslamprey_12.1.13lamprey/12.1.1312.1.13Scott Murray2-15/+13
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 Murray1-23/+33
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-12-08Update signal names and types for KUKSA.val 0.2.5Scott Murray2-10/+10
Bug-AGL: SPEC-4641 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I50e035ad0526ce66da46950c3e54ef104bde075e
2022-09-15Patch for an error caused due to missing fileaakash-s451-2/+0
CA.pem is no longer in the asset folder but still in use in the app. Bug-AGL: SPEC-4543 Change-Id: I2142f493dec035777a1da0b36edc10bb5dcee5a2 Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
2022-09-14Upload Flutter Instrument Cluster appAakash Solanki7-0/+866
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>