solarcaratuva / Rivanna2

Embedded system code for Rivanna 2
5 stars 1 forks source link

Refactor ECUMotorCommands #78

Closed edward-noe closed 2 years ago

edward-noe commented 2 years ago

We should combine the forward_en and reverse_en fields of the ECUMotorCommands struct. We should also replace the cruise control-related fields with an 8-bit unsigned integer cruise_control_speed where 0 represents cruise control being disabled.