Rename to stellantis, add TODO

This commit is contained in:
Daniel Öster 2024-12-28 16:19:41 +03:00
parent fe4bd981cc
commit d0ffb97816
6 changed files with 18 additions and 5 deletions

View file

@ -70,6 +70,7 @@ jobs:
- RENAULT_ZOE_GEN1_BATTERY - RENAULT_ZOE_GEN1_BATTERY
- RENAULT_ZOE_GEN2_BATTERY - RENAULT_ZOE_GEN2_BATTERY
- SANTA_FE_PHEV_BATTERY - SANTA_FE_PHEV_BATTERY
- STELLANTIS_ECMP_BATTERY
- TESLA_MODEL_3Y_BATTERY - TESLA_MODEL_3Y_BATTERY
- TESLA_MODEL_SX_BATTERY - TESLA_MODEL_SX_BATTERY
- VOLVO_SPA_BATTERY - VOLVO_SPA_BATTERY

View file

@ -63,6 +63,7 @@ jobs:
- RENAULT_ZOE_GEN1_BATTERY - RENAULT_ZOE_GEN1_BATTERY
- RENAULT_ZOE_GEN2_BATTERY - RENAULT_ZOE_GEN2_BATTERY
- SANTA_FE_PHEV_BATTERY - SANTA_FE_PHEV_BATTERY
- STELLANTIS_ECMP_BATTERY
- TESLA_MODEL_3Y_BATTERY - TESLA_MODEL_3Y_BATTERY
- TESLA_MODEL_SX_BATTERY - TESLA_MODEL_SX_BATTERY
- VOLVO_SPA_BATTERY - VOLVO_SPA_BATTERY

View file

@ -23,7 +23,6 @@
//#define MEB_BATTERY //#define MEB_BATTERY
//#define MG_5_BATTERY //#define MG_5_BATTERY
//#define NISSAN_LEAF_BATTERY //#define NISSAN_LEAF_BATTERY
//#define ECMP_BATTERY
//#define PYLON_BATTERY //#define PYLON_BATTERY
//#define RJXZS_BMS //#define RJXZS_BMS
//#define RANGE_ROVER_PHEV_BATTERY //#define RANGE_ROVER_PHEV_BATTERY
@ -32,6 +31,7 @@
//#define RENAULT_ZOE_GEN1_BATTERY //#define RENAULT_ZOE_GEN1_BATTERY
//#define RENAULT_ZOE_GEN2_BATTERY //#define RENAULT_ZOE_GEN2_BATTERY
//#define SANTA_FE_PHEV_BATTERY //#define SANTA_FE_PHEV_BATTERY
//#define STELLANTIS_ECMP_BATTERY
//#define TESLA_MODEL_3Y_BATTERY //#define TESLA_MODEL_3Y_BATTERY
//#define TESLA_MODEL_SX_BATTERY //#define TESLA_MODEL_SX_BATTERY
//#define VOLVO_SPA_BATTERY //#define VOLVO_SPA_BATTERY

View file

@ -27,7 +27,7 @@
#include "CHADEMO-SHUNTS.h" #include "CHADEMO-SHUNTS.h"
#endif #endif
#ifdef ECMP_BATTERY #ifdef STELLANTIS_ECMP_BATTERY
#include "ECMP-BATTERY.h" #include "ECMP-BATTERY.h"
#endif #endif

View file

@ -1,10 +1,21 @@
#include "../include.h" #include "../include.h"
#ifdef ECMP_BATTERY #ifdef STELLANTIS_ECMP_BATTERY
#include <algorithm> // For std::min and std::max #include <algorithm> // For std::min and std::max
#include "../datalayer/datalayer.h" #include "../datalayer/datalayer.h"
#include "../devboard/utils/events.h" #include "../devboard/utils/events.h"
#include "ECMP-BATTERY.h" #include "ECMP-BATTERY.h"
/* TODO:
This integration is still ongoing. Here is what still needs to be done in order to use this battery type
- Find SOC%
- Find battery voltage
- Find current value
- Find/estimate charge/discharge limits
- Find temperature
- Figure out contactor closing
- Which CAN messages need to be sent towards the battery?
*/
/* Do not change code below unless you are sure what you are doing */ /* Do not change code below unless you are sure what you are doing */
static unsigned long previousMillis1000 = 0; // will store last time a 1s CAN Message was sent static unsigned long previousMillis1000 = 0; // will store last time a 1s CAN Message was sent

View file

@ -1,5 +1,5 @@
#ifndef ECMP_BATTERY_H #ifndef STELLANTIS_ECMP_BATTERY_H
#define ECMP_BATTERY_H #define STELLANTIS_ECMP_BATTERY_H
#include <Arduino.h> #include <Arduino.h>
#include "../include.h" #include "../include.h"