- Finished CAL library with dash and MoTec ID's
- Send data into ECU over MoTec base ID
- Introduce MoTec CAN + Offset data types
- Fix all errors that came up when integrating
CAL 2.1.0with thest-f4canlibraryCAN0andCAN1were originally CAN data types, but were also defined as macros within thest-f4canlibrary. To fix the issue they were renamed toECU_CAN0andECU_CAN1respectively. The others (CAN2toCAN7) were also renamed accordingly.data_dash.hppwas removed as the data types cannot exist on the ECU without M1 Build- 16 bit encoding and decoding was fixed
- decoding looks fine
- encoding was set up as
start_idx - 1where it should have beenstart_idx + 1
DATA_ECUchanged toDATA_ECU_RECVto differentiate data types
- Fix ECU1, ECU2, PDM1, PDM2 reading from ECU1
- Removed Throttle Body Current, Replaced with Gear Position Voltage
- Added Starter relay status and PDM total current
- reworked most of PDM config
- reworked PDM
statusmessages - PDM2 CAN message is now entirely output statuses that can be sent at a low refresh rate