Code to run on the charger board (used to charge the car from the mains).

Dependencies:   mbed CUER_CAN

Changes

RevisionDateWhoCommit message
12:77d493b3320b 2017-09-12 DasSidG Added charger and bms timeouts to the charger board CAN packet default tip
11:f578a372be42 2017-09-10 DasSidG CAN functionality now tested after refactoring, and checked to be fine.; Timeouts tested and are fine
10:839e8f984d28 2017-09-10 DasSidG Removed unnecessary voltage error variable
9:e2802aa2987a 2017-09-10 DasSidG Removed unnecessary using namespace CAN_Ids from charger.cpp
8:e5c07b9b8593 2017-09-10 DasSidG Added CAN_Init() function to init() in charger.cpp
7:70cf5bff23f9 2017-09-10 DasSidG Changed charging algorithm; Refactored code to move stuff out of charger.cpp and into other files
6:829bb9737711 2017-07-30 DasSidG Switched to mbed library version 145 for consistency with the rest of the code
5:756fae795d37 2017-07-30 DasSidG Made it calculate the voltage error itself.; Made it reset the relevant part of the CAN buffer each time it reads it so that it uses fresh data each time; ; Ready for testing.
4:f6459580c312 2017-07-27 DasSidG Tidied up code a bit, replaced 'waits' for CAN sending with callbacks
3:a7626dffb64a 2017-07-27 DasSidG Code is now theoretically finished; completely untested however.
2:da91931184de 2017-07-23 DasSidG test to see if i can publish anything
1:0c77e20b4d4c 2017-07-06 DasSidG Code majorly changed:; ; Structure changed significantly; All of the CAN-related functions, structures etc. added (but not yet tested); Still need to add some of the main program logic in terms of deciding when/when not to charge etc
0:6d930d0d13a1 2017-05-06 drajan CAN stuff still needs to be implemented.