aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-12-15 11:01:01 -0500
committerSam Anthony <sam@samanthony.xyz>2025-12-15 11:01:01 -0500
commit601eda88a1bc97ba03fe053a780fd52326be2b12 (patch)
tree825d01e67084a0fa2e58e19970e9c42a95ebd4e1
parent78a85a4aeb6ea40cefb5a5cc1b9d10428600ddbd (diff)
downloadcan-gauge-interface-601eda88a1bc97ba03fe053a780fd52326be2b12.zip
cal: example dbc and csv files
-rw-r--r--sw/cal/example/ect.csv21
-rw-r--r--sw/cal/example/encoding.dbc12
-rw-r--r--sw/cal/example/speed.csv3
-rw-r--r--sw/cal/example/tach.csv2
4 files changed, 38 insertions, 0 deletions
diff --git a/sw/cal/example/ect.csv b/sw/cal/example/ect.csv
new file mode 100644
index 0000000..760dc4a
--- /dev/null
+++ b/sw/cal/example/ect.csv
@@ -0,0 +1,21 @@
+20,4932
+30,4890
+40,4828
+50,4740
+60,4619
+70,4461
+80,4261
+90,4019
+100,3740
+110,3430
+120,3101
+130,2767
+140,2441
+150,2131
+160,1847
+170,1592
+180,1369
+190,1174
+200,1006
+220,745
+240,556
diff --git a/sw/cal/example/encoding.dbc b/sw/cal/example/encoding.dbc
new file mode 100644
index 0000000..45e4dc9
--- /dev/null
+++ b/sw/cal/example/encoding.dbc
@@ -0,0 +1,12 @@
+VERSION "2025.11.10"
+
+BO_ 2365480959 GPM13: 8 Vector__XXX
+
+BO_ 2365480958 GPM13: 8 Vector__XXX
+ SG_ VehicleSpeed : 48|16@1+ (0.00390625,0) [0|250.996] "km/hr" Vector__XXX
+ SG_ EngineSpeed : 24|16@1+ (0.125,0) [0|8031.88] "rpm" Vector__XXX
+
+BO_ 2566808574 GPM15: 8 Vector__XXX
+ SG_ EngineOilPressure : 24|8@1+ (4,0) [0|1000] "kPa" Vector__XXX
+ SG_ EngineCoolantTemperature : 16|8@1+ (1,-40) [-40|210] "deg C" Vector__XXX
+ SG_ EngineOilTemperature : 0|16@1+ (0.03125,-273) [-273|1735] "deg C" Vector__XXX
diff --git a/sw/cal/example/speed.csv b/sw/cal/example/speed.csv
new file mode 100644
index 0000000..fa721af
--- /dev/null
+++ b/sw/cal/example/speed.csv
@@ -0,0 +1,3 @@
+0,0
+25600,550
+64000,1375
diff --git a/sw/cal/example/tach.csv b/sw/cal/example/tach.csv
new file mode 100644
index 0000000..2122570
--- /dev/null
+++ b/sw/cal/example/tach.csv
@@ -0,0 +1,2 @@
+0,0
+64255,8032