hyperloop
hyperloop copied to clipboard
Pull in Orion-BMS-Serial to Core
@matkam11 has done the legwork getting the OrionBMS userspace driver written. Now it is time to bring that into the main hyperloop repo under libhw
@Dan-Hartman let's assume that the source code in the Orion BMS repo is good and port it into libhw anyways. If there are packet formatting issues we can resolve that at a later time.
Matan said that the code does not fully work.
Just port and fix later?
Yeah, we can fix some of the protocol level stuff later, right now having plumbing for get_current get_voltage etc to pipe into the batttery_pack_t structs already in core would be beneficial
For reference: OBD2 is implemented on the serial interface https://www.orionbms.com/general/retrieving-data-obd2-canbus/
https://learn.sparkfun.com/tutorials/getting-started-with-obd-ii
👍 on it!