Commit graph

3743 commits

Author SHA1 Message Date
Jonny
db9537a34b Fix native CAN speed changing using new library, with new CanBattery API (currently only used by BMW PHEV). 2025-09-08 17:39:03 +01:00
Daniel Öster
577a353285
Update Software.cpp 2025-09-08 19:17:35 +03:00
Daniel Öster
42353efdff
Merge pull request #1512 from dalathegreat/improvement/configurable-fd-frequency
Improvement: Make CAN-FD frequency configurable
2025-09-08 19:17:11 +03:00
Daniel Öster
454a4565c0 Make CAN-FD frequence configurable 2025-09-08 19:10:24 +03:00
Daniel Öster
bf7d10c825
Merge pull request #1510 from jonny5532/feature/battery-can-aliveness-test
Tweak CAN still-alive tests to more reliably construct batteries
2025-09-08 18:18:39 +03:00
Jonny
5ae8155866 Tweak CAN still-alive tests to more reliably construct batteries (and change name) 2025-09-08 10:34:49 +01:00
Daniel Öster
8354e554e4
Merge pull request #1509 from jonny5532/feature/battery-can-aliveness-test
Add tests to make sure batteries aren't renewing liveness on bogus CAN frames
2025-09-08 12:30:56 +03:00
Daniel Öster
eb44ea7f42
Merge pull request #1508 from dalathegreat/dependabot/github_actions/actions/setup-python-6
Bump actions/setup-python from 5 to 6
2025-09-08 11:44:58 +03:00
Jonny
96b3293023 Add tests to make sure batteries aren't renewing liveness on bogus CAN frames 2025-09-08 09:36:53 +01:00
Daniel Öster
69b0d23b45
Merge pull request #1506 from jonny5532/feature/can-log-aliveness-test
Make CAN log base tests check for aliveness
2025-09-08 11:36:13 +03:00
Daniel Öster
d481947e34
Merge pull request #1505 from jonny5532/tidy/parameterised-tests
Tidy up parameterised test names
2025-09-08 11:35:22 +03:00
Daniel Öster
b5ebcdbcd7
Merge pull request #1504 from jonny5532/feature/fix-can-still-alive
Change several batteries to only flag CAN aliveness on relevant msgs
2025-09-08 11:34:47 +03:00
Daniel Öster
c6ad1f8afe
Merge pull request #1503 from dalathegreat/bugfix/logging-unreliable
Bugfix: Make setup() unable to return early
2025-09-08 11:33:56 +03:00
Daniel Öster
354926a6b3
Merge pull request #1507 from jonny5532/fix/rjxzs-cell-count
Fix cellvoltages index on RJXZS population
2025-09-08 11:33:31 +03:00
dependabot[bot]
3767c698bd
Bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 01:07:30 +00:00
Jonny
b115abf081 Fix cellvoltages index on RJXZS population 2025-09-07 23:51:21 +01:00
Jonny
036f9aa4b9 Make the CAN log tests check for aliveness 2025-09-07 22:46:11 +01:00
Jonny
5555b38fea Tidy up parameterised test names 2025-09-07 22:45:12 +01:00
Jonny
7bbbf846d8 Change several batteries to only flag CAN aliveness on relevant msg reception 2025-09-07 22:38:50 +01:00
Daniel Öster
5b277d633b Make setup() unable to return early 2025-09-08 00:10:07 +03:00
Daniel Öster
5bb12915fe
Merge pull request #1502 from dalathegreat/bugfix/precharge-crash
MEB: Fix CAN still alive handler
2025-09-07 23:54:43 +03:00
Daniel Öster
93b30241da Move stillalive handler to actual messages 2025-09-07 20:44:33 +03:00
Daniel Öster
c01291d15f
Update Software.cpp 2025-09-07 13:22:54 +03:00
jonny5532
3c4880e783
Merge pull request #1443 from jonny5532/feature/can-log-based-testing-rebase
CAN log based testing
2025-09-07 11:07:35 +01:00
Daniel Öster
3172c32cc7
Merge pull request #1496 from jonny5532/fix/rjxzs-cell-count
Fix RJXZS cell count population (and tidy)
2025-09-07 12:06:00 +03:00
Jonny
7d8accb95d Change can log test flags 2025-09-07 09:40:17 +01:00
Jonny
fd9d1ec714 Add CAN log replay based battery tests 2025-09-07 08:58:30 +01:00
Jonny
7f8f48756d Tidy up and add more test stubs 2025-09-07 08:58:30 +01:00
Jonny
b205b63af3 Tidy some battery files 2025-09-07 08:56:17 +01:00
Daniel Öster
a40de5ecee
Merge pull request #1495 from jonny5532/fix/remove-duplicate-CanBattery-constructor
Remove the duplicate CanBattery constructor.
2025-09-06 23:23:44 +03:00
Daniel Öster
99b79eab7e
Merge pull request #1498 from dalathegreat/bugfix/sofar-crash-common
Sofar: Crashfix, remove faulty print causing crash
2025-09-06 21:35:29 +03:00
Daniel Öster
9662054a4f
Merge pull request #1489 from dalathegreat/improvement/egmp-charge-settings
Improvement: Add estimated charge setting for Kia eGMP
2025-09-06 21:31:39 +03:00
Daniel Öster
29aecc577b Remove faulty print causing crash 2025-09-06 21:24:17 +03:00
Jonny
b40387817d Fix RJXZS cell count population (and tidy) 2025-09-06 14:00:12 +01:00
Jonny
7903805373 Remove the duplicate CanBattery constructor. 2025-09-06 12:10:17 +01:00
Daniel Öster
282b27ff5d
Merge pull request #1492 from dalathegreat/bugfix/scaled-soc-negative-regression
Bugfix: Fix underflow bug when scaling SOC
2025-09-05 10:16:15 +03:00
Daniel Öster
1b012fb2d0
Fix underflow bug when scaling
Accidentally changed datatype during refactoring
2025-09-04 23:27:18 +03:00
Daniel Öster
b17c9ad106
Update Software.cpp 2025-09-04 22:37:06 +03:00
Daniel Öster
3764ab4bf9 Add estimated charge setting for Kia eGMP 2025-09-04 22:34:38 +03:00
Daniel Öster
c1f3187306
Update Software.cpp 2025-09-04 20:36:12 +03:00
Daniel Öster
a8532b6f78
Merge pull request #1487 from dalathegreat/improvement/estimated-charge
Feature: Add manual override charge/discharge limits
2025-09-04 20:34:33 +03:00
Daniel Öster
a9185be603 Add manual override charge(discharge limits 2025-09-04 20:26:17 +03:00
Daniel Öster
91bbb25270
Merge pull request #1484 from dalathegreat/feature/ecmp-75kWh
Stellantis: Add initial support for 50/75kWh vans
2025-09-04 15:51:33 +03:00
Daniel Öster
2ef8055535
Merge pull request #1485 from No-Signal/bugfix/mqtt_loop_fix
Fixing mqtt_loop setup regression bug
2025-09-04 15:05:25 +03:00
Matt Holmes
8fe21fddb7 Fixing mqtt_loop setup regression bug 2025-09-04 10:35:32 +01:00
Daniel Öster
5770df46e4 Add offset to voltage value to make it more realistic 2025-09-04 09:28:07 +03:00
Daniel Öster
bd0923cab3 Only update temp and cellv when both min/max are available 2025-09-03 23:55:35 +03:00
Daniel Öster
3597a99a08 Fix float calculation for SOC 2025-09-03 23:52:32 +03:00
Daniel Öster
805d506062 Fix SOC and capacity for mystery van 2025-09-03 23:39:50 +03:00
Daniel Öster
e38b6286c7 Add initial support for 50/75kWh vans 2025-09-03 23:25:30 +03:00