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

Dependencies:   mbed CUER_CAN

Revisions of charger.cpp

Revision Date Message Actions
12:77d493b3320b 2017-09-12 Added charger and bms timeouts to the charger board CAN packet File  Diff  Annotate
11:f578a372be42 2017-09-10 CAN functionality now tested after refactoring, and checked to be fine.; Timeouts tested and are fine File  Diff  Annotate
10:839e8f984d28 2017-09-10 Removed unnecessary voltage error variable File  Diff  Annotate
9:e2802aa2987a 2017-09-10 Removed unnecessary using namespace CAN_Ids from charger.cpp File  Diff  Annotate
8:e5c07b9b8593 2017-09-10 Added CAN_Init() function to init() in charger.cpp File  Diff  Annotate
7:70cf5bff23f9 2017-09-10 Changed charging algorithm; Refactored code to move stuff out of charger.cpp and into other files File  Diff  Annotate
5:756fae795d37 2017-07-30 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. File  Diff  Annotate
4:f6459580c312 2017-07-27 Tidied up code a bit, replaced 'waits' for CAN sending with callbacks File  Diff  Annotate
3:a7626dffb64a 2017-07-27 Code is now theoretically finished; completely untested however. File  Diff  Annotate
2:da91931184de 2017-07-23 test to see if i can publish anything File  Diff  Annotate
1:0c77e20b4d4c 2017-07-06 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 File  Diff  Annotate
0:6d930d0d13a1 2017-05-06 CAN stuff still needs to be implemented. File  Diff  Annotate