- 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.0
with thest-f4can
libraryCAN0
andCAN1
were originally CAN data types, but were also defined as macros within thest-f4can
library. To fix the issue they were renamed toECU_CAN0
andECU_CAN1
respectively. The others (CAN2
toCAN7
) were also renamed accordingly.data_dash.hpp
was 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 - 1
where it should have beenstart_idx + 1
DATA_ECU
changed toDATA_ECU_RECV
to 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
status
messages - PDM2 CAN message is now entirely output statuses that can be sent at a low refresh rate