-
Notifications
You must be signed in to change notification settings - Fork 1
Live Values
Kurtis Fafard edited this page Dec 8, 2025
·
1 revision
Live Values control the real-time behavior of dynamic CAN messages while the simulator is running. These values directly modify payloads such as GPS position, vehicle speed, fuel level, and engine load.
They act as live inputs that update message data continuously without rebuilding the active profile.
Live Values affect the following systems:
- ✅ GPS Position (Latitude & Longitude)
- ✅ Heading / Course Over Ground (COG)
- ✅ Speed Over Ground (SOG)
- ✅ Fuel Level
- ✅ Engine Load
- ✅ Engine Coolant Temperature
These values dynamically update:
- CAN payloads
- Transmit data on each cycle
- Any profile messages that depend on motion or engine state
| Control | Range | Used For |
|---|---|---|
| Latitude | -90 to +90 | GNSS Position |
| Longitude | -180 to +180 | GNSS Position |
| Heading / COG | 0–359° | Direction |
| Speed Over Ground | 0–50 m/s | Motion |
| Fuel Level | 0–100% | Engine |
| Engine Load | 0–250% | Engine Stress |
| Coolant Temp | -40–200°C | Engine Thermal |
- All values are fully editable
- Changes update profile state immediately
- Latitude & Longitude become read-only
- Position updates automatically from virtual motion
- Other fields remain editable
This ensures motion stays physically consistent.
When the simulator is running:
- A timestamp-based motion engine computes new GPS positions
- Position shifts are applied every 200 ms (5 Hz)
- Live GNSS values update automatically
Motion is based on:
- Current heading (COG)
- Current speed (SOG)
- Elapsed runtime
When you click Save Profile:
- All Live Values are written to the JSON file
- They are restored exactly when reloaded later
Stored under:
"live_values": {
"LAT_DEG": 51.12345,
"LON_DEG": -102.12345,
"COG_DEG": 90.0,
"SOG_MS": 7.5,
...
}
When a profile is loaded:
- Live values are restored automatically
- UI spin boxes update instantly
- Motion state resets cleanly
- Message timing resumes safely
- You cannot load profiles while running
- You cannot edit motion while simulator is moving
- The simulator blocks conflicting edits automatically
- Set Live Values first
- Select Built-in Profile
- Add Raw Messages (if needed)
- Start the simulator
- Save when tuned