Current measurement CAN message format

Front and rear power distribution regularly broadcast current measurements over CAN, one per interval.

The message IDs are SYSTEM_CAN_MESSAGE_FRONT_CURRENT_MEASUREMENT when emitted by front power distribution and SYSTEM_CAN_MESSAGE_REAR_CURRENT_MEASUREMENT when emitted by rear power distribution. One current measurement is broadcast per CAN message.

The first u16 is a current ID from the table below. The second u16 is the 12-bit current data.

Current ID

Emitted by

Description

Current ID

Emitted by

Description

0 / 0x00

Front power distribution

Centre console

1 / 0x01

Front power distribution

Pedal

2 / 0x02

Front power distribution

Steering

3 / 0x03

Front power distribution

Left camera

4 / 0x04

Front power distribution

Right camera

5 / 0x05

Front power distribution

Main display

6 / 0x06

Front power distribution

Rear display

7 / 0x07

Front power distribution

Driver display

8 / 0x08

Front power distribution

Left driver display

9 / 0x09

Front power distribution

Right driver display

10 / 0x0A

Front power distribution

Main rPi

11 / 0x0B

Front power distribution

Rear rPi

12 / 0x0C

Front power distribution

Left front turn light

13 / 0x0D

Front power distribution

Right front turn light

14 / 0x0E

Front power distribution

Daytime running lights

15 / 0x0F

Front power distribution

Parking brake

16 / 0x10

Front power distribution

Speaker

17 / 0x11

Front power distribution

Horn

18 / 0x12

Front power distribution

5V Spare 1

19 / 0x13

Front power distribution

5V Spare 2

20 / 0x14

Front power distribution

Spare 1

21 / 0x15

Front power distribution

Spare 2

22 / 0x16

Rear power distribution

BMS carrier

23 / 0x17

Rear power distribution

MCI

24 / 0x18

Rear power distribution

Charger

25 / 0x19

Rear power distribution

Solar sense

26 / 0x1A

Rear power distribution

Telemetry

27 / 0x1B

Rear power distribution

Rear camera

28 / 0x1C

Rear power distribution

Left rear turn light

29 / 0x1D

Rear power distribution

Right rear turn light

30 / 0x1E

Rear power distribution

Left brake light

31 / 0x1F

Rear power distribution

Centre brake light

32 / 0x20

Rear power distribution

Right brake light

33 / 0x21

Rear power distribution

Strobe

34 / 0x22

Rear power distribution

Spare 1

35 / 0x23

Rear power distribution

Spare 2

36 / 0x24

Rear power distribution

Spare 3

37 / 0x25

Rear power distribution

Spare 4

38 / 0x26

Rear power distribution

Spare 5

39 / 0x27

Rear power distribution

Spare 6

40 / 0x28

Rear power distribution

Spare 7

41 / 0x29

Rear power distribution

Spare 8

42 / 0x2A

Rear power distribution

Spare 9

43 / 0x2B

Rear power distribution

Spare 10

Any current ID over 43 is invalid and should be ignored.