File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ proto bps
22
33option c.name_prefix = "Bitproto"
44
5- message PackInformation {
5+ message BPSPackInformation {
66 uint16 pack_voltage = 1;
77 uint16 pack_current = 2;
88 uint8 pack_soc = 3;
@@ -33,14 +33,14 @@ message PackInformation {
3333 bool charge_relay = 26;
3434}
3535
36- message CellVoltage {
36+ message BPSCellVoltage {
3737 uint16 low_cell_voltage = 1;
3838 uint8 low_cell_voltage_id = 2;
3939 uint16 high_cell_voltage = 3;
4040 uint8 high_cell_voltage_id = 4;
4141}
4242
43- message CellTemperature {
43+ message BPSCellTemperature {
4444 uint8 low_temperature = 1;
4545 uint8 low_thermistor_id = 2;
4646 uint8 high_temperature = 3;
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ proto motor_controller
33option c.name_prefix = "Bitproto"
44
55message MotorControllerFrameRequest {
6- bool frame0 = 1;
7- bool frame1 = 2;
8- bool frame2 = 3;
6+ bool power_status_frame = 1;
7+ bool drive_status_frame = 2;
8+ bool errors_frame = 3;
99}
1010
11- message MotorControllerFrame0 {
11+ message MotorControllerPowerStatus {
1212 uint10 battery_voltage = 1;
1313 uint9 battery_current = 2;
1414 bool battery_current_direction = 3;
@@ -19,7 +19,7 @@ message MotorControllerFrame0 {
1919 uint7 advanced_lead_angle = 8;
2020}
2121
22- message MotorControllerFrame1 {
22+ message MotorControllerDriveStatus {
2323 bool power_eco = 1;
2424 bool control_mode = 2;
2525 uint10 acceleration_vr_position = 3;
@@ -30,7 +30,7 @@ message MotorControllerFrame1 {
3030 bool drive_regen = 8;
3131}
3232
33- message MotorControllerFrame2 {
33+ message MotorControllerError {
3434 bool analog_sensor_error = 1;
3535 bool motor_current_sensor_u_error = 2;
3636 bool motor_current_sensor_w_error = 3;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ proto power_aux
22
33option c.name_prefix = "Bitproto"
44
5- message PowerAuxErrorStruct {
5+ message PowerAuxError {
66 bool fan_error = 1;
77 bool brake_light_error = 2;
88 bool headlight_error = 3;
You can’t perform that action at this time.
0 commit comments