Added acceleration detection for brake lights
This commit is contained in:
@@ -15,8 +15,12 @@ float gametrakDist;
|
||||
float avgSpeed{};
|
||||
float avgSpeedKmh{};
|
||||
float sumCurrent{};
|
||||
float lastAvgSpeedKmh{};
|
||||
float avgAccel{};
|
||||
bool isLocked{};
|
||||
|
||||
espchrono::millis_clock::time_point lastAvgSpeedKmhTs{};
|
||||
|
||||
std::optional<int> sunrise;
|
||||
std::optional<int> sunset;
|
||||
std::optional<espchrono::DateTime> sunrise_dt;
|
||||
|
Reference in New Issue
Block a user