aboutsummaryrefslogtreecommitdiffstats
path: root/lib/core
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-16 15:42:22 -0300
committerLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-16 15:47:49 -0300
commit6a00ac1f8613048b5c1f7ecdbd1adcbbcfdca5ed (patch)
tree8cdd919f84a50007ae0364cba37bb8bdaf19f5fc /lib/core
parent94b78fd369c318baf1a98d4f510d791ea9f17017 (diff)
Disable value animation at start up % update FuelLevel path.
Remove some warnings. Original from: Dominik Wawrzonek <dwawrzonek@ics.com> Bug-AGL: SPEC-4971 Change-Id: I3693fa74f7995b4dcb016812403ed800702cb81c Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/constants/constants.dart2
-rw-r--r--lib/core/constants/vss_path.dart3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/core/constants/constants.dart b/lib/core/constants/constants.dart
index fe8d9f1..902af56 100644
--- a/lib/core/constants/constants.dart
+++ b/lib/core/constants/constants.dart
@@ -4,7 +4,7 @@ const splashWarning =
'Please use the IVI system responsibly while driving. Keep your attention on the road, and use voice commands or hands-free controls when interacting with the system. Distracted driving can lead to accidents and serious injury. Follow all traffic laws and drive safely.';
const aglVeriosn = 'AGL 16.0.2 (pike)';
const kernelVeriosn = 'Kernel: 5.10.41.-yocto-standard';
-const maxFuelLevel = 55.0;
+const maxFuelLevel = 100.0;
const maxSpeed = 240.0;
const maxRpm = 8000;
final GlobalKey<ScaffoldState> homeScaffoldKey = GlobalKey();
diff --git a/lib/core/constants/vss_path.dart b/lib/core/constants/vss_path.dart
index 8875d1e..92c036f 100644
--- a/lib/core/constants/vss_path.dart
+++ b/lib/core/constants/vss_path.dart
@@ -5,7 +5,8 @@ class VSSPath {
static const String vehicleOutsideTemperature =
'Vehicle.Exterior.AirTemperature';
static const String vehicleRange = 'Vehicle.Powertrain.FuelSystem.Range';
- static const String vehicleFuelLevel = 'Vehicle.OBD.FuelLevel';
+ static const String vehicleFuelLevel =
+ 'Vehicle.Powertrain.FuelSystem.RelativeLevel';
static const String vehicleMediaVolume =
'Vehicle.Cabin.Infotainment.Media.Volume';
static const String vehicleIsChildLockActiveLeft =