added some new fields

This commit is contained in:
2026-05-30 16:32:02 +01:00
parent d5336cc01e
commit 691a51ae8b
9 changed files with 281 additions and 151 deletions
+9 -2
View File
@@ -19,8 +19,7 @@ type FieldMapper struct {
// VirtualField will define data that is acquired through middleware
// So fuel per lap predictions and so on
type VirtualField struct {
}
type VirtualField struct{}
// NOTE: Update the iracing SDK to write data to the same map ALWAYS, then
// I can bind that address and read directly from there on the transform
@@ -134,6 +133,10 @@ const (
Speed FieldID = iota
RPM
Gear
// Engine Data
OilPress
OilTemp
WaterTemp
// Engine Warnings
PitSpeedLimiter
// Adjustements
@@ -169,6 +172,10 @@ var FieldNames = [MaxFields]string{
Speed: "Speed",
RPM: "RPM",
Gear: "Gear",
// Engine Data
OilPress: "Oil Pressure",
OilTemp: "Oil Temperature",
WaterTemp: "Water Temperature",
// Engine Warnings
PitSpeedLimiter: "Pit Speed Limiter",
// Ajustments