Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
communicatorSettings.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

constexpr auto MASTER_ID = 0x300
 
constexpr auto BMS_ID = 0x666
 
constexpr auto BAMO_RESPONSE_ID = 0x181
 
constexpr auto C1_ID = 0x123
 
constexpr auto C3_ID = 0x111
 
constexpr auto AS_CU_ID = 0x400
 
constexpr auto STEERING_ID = 0x295d
 
constexpr auto AS_CU_EMERGENCY_SIGNAL = 0x43
 
constexpr auto MISSION_FINISHED = 0x42
 
constexpr auto PC_ALIVE = 0x41
 
constexpr auto RIGHT_WHEEL_CODE = 0x11
 
constexpr auto LEFT_WHEEL_CODE = 0x12
 
constexpr auto HYDRAULIC_LINE = 0x90
 
constexpr auto HYDRAULIC_BRAKE_THRESHOLD = 165
 
constexpr auto WHEEL_PRECISION = 1e-2
 
constexpr auto DRIVING_STATE = 0x500
 
constexpr auto DRIVING_CONTROL = 0x501
 
constexpr auto SYSTEM_STATUS = 0x502
 
constexpr auto NODE_ID = 0x011
 
constexpr auto RES_STATE = (0x180 + NODE_ID)
 
constexpr auto RES_READY = (0x700 + NODE_ID)
 
constexpr auto RES_ACTIVATE = 0x000
 
constexpr auto STATE_MSG = 0x31
 
constexpr auto MISSION_MSG = 0x32
 
constexpr auto LEFT_WHEEL_MSG = 0x33
 
constexpr auto DBG_LOG_MSG = 0x34
 
constexpr auto DBG_LOG_MSG_2 = 0x35
 
constexpr auto BTB_READY = 0xE2
 
constexpr auto VDC_BUS = 0xEB
 
constexpr auto DC_THRESHOLD = 1890
 

Variable Documentation

◆ AS_CU_EMERGENCY_SIGNAL

constexpr auto AS_CU_EMERGENCY_SIGNAL = 0x43
constexpr

Definition at line 13 of file communicatorSettings.hpp.

◆ AS_CU_ID

constexpr auto AS_CU_ID = 0x400
constexpr

Definition at line 9 of file communicatorSettings.hpp.

◆ BAMO_RESPONSE_ID

constexpr auto BAMO_RESPONSE_ID = 0x181
constexpr

Definition at line 6 of file communicatorSettings.hpp.

◆ BMS_ID

constexpr auto BMS_ID = 0x666
constexpr

Definition at line 5 of file communicatorSettings.hpp.

◆ BTB_READY

constexpr auto BTB_READY = 0xE2
constexpr

Definition at line 44 of file communicatorSettings.hpp.

◆ C1_ID

constexpr auto C1_ID = 0x123
constexpr

Definition at line 7 of file communicatorSettings.hpp.

◆ C3_ID

constexpr auto C3_ID = 0x111
constexpr

Definition at line 8 of file communicatorSettings.hpp.

◆ DBG_LOG_MSG

constexpr auto DBG_LOG_MSG = 0x34
constexpr

Definition at line 40 of file communicatorSettings.hpp.

◆ DBG_LOG_MSG_2

constexpr auto DBG_LOG_MSG_2 = 0x35
constexpr

Definition at line 41 of file communicatorSettings.hpp.

◆ DC_THRESHOLD

constexpr auto DC_THRESHOLD = 1890
constexpr

Definition at line 46 of file communicatorSettings.hpp.

◆ DRIVING_CONTROL

constexpr auto DRIVING_CONTROL = 0x501
constexpr

Definition at line 27 of file communicatorSettings.hpp.

◆ DRIVING_STATE

constexpr auto DRIVING_STATE = 0x500
constexpr

Definition at line 26 of file communicatorSettings.hpp.

◆ HYDRAULIC_BRAKE_THRESHOLD

constexpr auto HYDRAULIC_BRAKE_THRESHOLD = 165
constexpr

Definition at line 21 of file communicatorSettings.hpp.

◆ HYDRAULIC_LINE

constexpr auto HYDRAULIC_LINE = 0x90
constexpr

Definition at line 20 of file communicatorSettings.hpp.

◆ LEFT_WHEEL_CODE

constexpr auto LEFT_WHEEL_CODE = 0x12
constexpr

Definition at line 19 of file communicatorSettings.hpp.

◆ LEFT_WHEEL_MSG

constexpr auto LEFT_WHEEL_MSG = 0x33
constexpr

Definition at line 39 of file communicatorSettings.hpp.

◆ MASTER_ID

constexpr auto MASTER_ID = 0x300
constexpr

Definition at line 4 of file communicatorSettings.hpp.

◆ MISSION_FINISHED

constexpr auto MISSION_FINISHED = 0x42
constexpr

Definition at line 14 of file communicatorSettings.hpp.

◆ MISSION_MSG

constexpr auto MISSION_MSG = 0x32
constexpr

Definition at line 38 of file communicatorSettings.hpp.

◆ NODE_ID

constexpr auto NODE_ID = 0x011
constexpr

Definition at line 31 of file communicatorSettings.hpp.

◆ PC_ALIVE

constexpr auto PC_ALIVE = 0x41
constexpr

Definition at line 15 of file communicatorSettings.hpp.

◆ RES_ACTIVATE

constexpr auto RES_ACTIVATE = 0x000
constexpr

Definition at line 34 of file communicatorSettings.hpp.

◆ RES_READY

constexpr auto RES_READY = (0x700 + NODE_ID)
constexpr

Definition at line 33 of file communicatorSettings.hpp.

◆ RES_STATE

constexpr auto RES_STATE = (0x180 + NODE_ID)
constexpr

Definition at line 32 of file communicatorSettings.hpp.

◆ RIGHT_WHEEL_CODE

constexpr auto RIGHT_WHEEL_CODE = 0x11
constexpr

Definition at line 18 of file communicatorSettings.hpp.

◆ STATE_MSG

constexpr auto STATE_MSG = 0x31
constexpr

Definition at line 37 of file communicatorSettings.hpp.

◆ STEERING_ID

constexpr auto STEERING_ID = 0x295d
constexpr

Definition at line 10 of file communicatorSettings.hpp.

◆ SYSTEM_STATUS

constexpr auto SYSTEM_STATUS = 0x502
constexpr

Definition at line 28 of file communicatorSettings.hpp.

◆ VDC_BUS

constexpr auto VDC_BUS = 0xEB
constexpr

Definition at line 45 of file communicatorSettings.hpp.

◆ WHEEL_PRECISION

constexpr auto WHEEL_PRECISION = 1e-2
constexpr

Definition at line 23 of file communicatorSettings.hpp.