-
Notifications
You must be signed in to change notification settings - Fork 0
/
feb_can_id.py
69 lines (57 loc) · 1.24 KB
/
feb_can_id.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# ******** Static CAN IDs ********
# Charger
CHARGER_BMS = 0x1806e5f4
CHARGER_CCS = 0x18ff50e5
# IVT
IVT_COMMAND = 0x411
IVT_DEBUG = 0x510
IVT_RESPONSE = 0x511
IVT_CURRENT = 0x521
IVT_VOLTAGE_1 = 0x522
IVT_VOLTAGE_2 = 0x523
IVT_VOLTAGE_3 = 0x524
IVT_TEMPERATURE = 0x525
IVT_POWER = 0x526
IVT_CURRENT_COUNTER = 0x527
IVT_ENERGY_COUNTER = 0x528
# RMS
RMS_VOLTAGE = 0xa7
RMS_MOTOR = 0xa5
RMS_COMMAND = 0xc0
RMS_PARAMETER = 0xc1
# APPS
APPS_TPS = 0x80
# ******** Dynamic CAN IDs ********
# BMS
BMS_STATE = 0x0
BMS_CELL_DATA = 0x1
BMS_ACCUMULATOR_VOLTAGE = 0x2
BMS_ACCUMULATOR_TEMPERATURE = 0x3
# APPS
APPS_BRAKE_PEDAL = 0x4
APPS_BSPD = 0x5
# ICS
ICS_BUTTON_STATE = 0x6
ICS_TEST = 0x7
# VPDB
LVPDB_BUS_CURRENT = 0x8
LVPDB_BUS_VOLTAGE = 0x9
LVPDB_CP_CURRENT_ = 0xa
LVPDB_CP_VOLTAGE = 0xb
LVPDB_AF_CURRENT = 0xc
LVPDB_AF_VOLTAGE_ = 0xd
LVPDB_RF_CURRENT = 0xe
LVPDB_RF_VOLTAGE_ = 0xf
# ront Sensor Nodes
FRONT_SENSOR_WHEEL_SPEED_1 = 0x10
FRONT_SENSOR_WHEEL_SPEED_2 = 0x11
FRONT_SENSOR_LIN_POT_1 = 0x12
FRONT_SENSOR_LIN_POT_2 = 0x13
# ear Sensor Nodes
REAR_SENSOR_WHEEL_SPEED_1 = 0x14
REAR_SENSOR_WHEEL_SPEED_2_ = 0x15
REAR_SENSOR_LIN_POT_1_ = 0x16
REAR_SENSOR_LIN_POT_2 = 0x17
# DART
DART_DART1_MEASURED_FAN_SPEEDS = 0x18
DART_DART2_MEASURED_FAN_SPEEDS = 0x19