From b40caf167398abee46cadeb8061d09346f190e30 Mon Sep 17 00:00:00 2001 From: Davide Andreolli <58806293+andreolli-davide@users.noreply.github.com> Date: Tue, 14 Mar 2023 16:41:26 +0100 Subject: [PATCH] Added lapcounter messages (reset and status) (#54) --- networks/primary/network.json | 8 ++++++++ networks/secondary/network.json | 12 ++++++++++++ 2 files changed, 20 insertions(+) diff --git a/networks/primary/network.json b/networks/primary/network.json index 0a11dc01..3eac0f14 100644 --- a/networks/primary/network.json +++ b/networks/primary/network.json @@ -1240,6 +1240,14 @@ "sending": ["ECU_CHIMERA"], "receiving": ["BMS_HV_CHIMERA"], "contents": {} + }, + { + "name": "LC_RESET", + "topic": "LAPCOUNTER", + "priority": 5, + "sending": ["STEER"], + "receiving": ["TLM"], + "contents": {} } ] } diff --git a/networks/secondary/network.json b/networks/secondary/network.json index 10bea026..316f497b 100644 --- a/networks/secondary/network.json +++ b/networks/secondary/network.json @@ -677,6 +677,18 @@ "rl_temperature": "uint8", "rr_temperature": "uint8" } + }, + { + "name": "LC_STATUS", + "topic": "LAPCOUNTER", + "priority": 4, + "sending": ["STEER"], + "receiving": ["TLM"], + "description": "Session laps status, lap_number is -1 in case of OUT lap", + "contents": { + "last_time": "uint32", + "lap_number": "uint8" + } } ] }