Closed ItsNotSoftware closed 2 weeks ago
struct Pedals { acc_pos @0: u8 | unit("%"), brake_pos @1: u8 | unit("%"), } impl can for Pedals { id: 10, device: "ecu", period: 15, /* Period in milliseconds*/ signal brake_pos { bitstart: 16, }, }
struct Pedals { acc_pos @0: u8 | unit("%"), brake_pos @1: u8 | unit("%"), } impl can for Pedals { id: 10, device: "ecu", frequency: 15, /* Frequency in Hz*/ signal brake_pos { bitstart: 16, }, }
Decisions, decisions.
I would like to point out that comments as the ones after the frequency: and period: fields are not supported 😲.
frequency:
period:
Option 1
Option 2