Justin Newberry
05295dc42a
Safety: alternate longitudinal limits ( #1577 )
...
alt limits
2023-08-12 19:34:53 -07:00
Justin Newberry
a0344a11e7
Subaru: cancel safety ( #1576 )
...
* subaru cancel safety
* misra
2023-08-12 17:16:28 -07:00
Justin Newberry
7dbdf6ba2b
Safety Tests: Create common gas brake safety test ( #1537 )
...
* create common gas brake safety test
* remove unrelated subaru reference
* also test below min_value
* better name and hardcoded
* use same as acceleration limits
* revert gm
* remove callable
* added common brake test and moved generic test to base safety class
* remove duplicate test
* wip
* wip
* rename longitudinalaccelsafety
* revert limits correct test
* fix controls allowed test
* move gm over to long gas brake test
* assert that limits are reasonable
* fix typing
* fix linter again
* fix linter again
* fix linter again
* like to make it clear
* typo
* fix from merge
* clearer names
* dont need thesemore
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-12 14:03:40 -07:00
Justin Newberry
f29c753ba4
Safety: generic limit safety check ( #1575 )
...
* generic limit safety check
* fix messagefunction
2023-08-12 13:51:26 -07:00
Shane Smiskol
20b1e505c3
GM: move more longitudinal related function into class ( #1574 )
...
move these into the long test
2023-08-10 23:59:58 -07:00
Shane Smiskol
61590b681a
GM: clean up longitudinal safety test ( #1573 )
...
* clean up gm long safety test
* move to long base
* common brake
2023-08-10 23:49:28 -07:00
Igor Biletskyy
25f1444d73
panda: add CAN-FD throughput test ( #1572 )
...
init
2023-08-10 18:41:50 -07:00
Adeeb Shihadeh
9df7802f71
CI: bump up safety test timeout
2023-08-10 16:36:00 -07:00
Igor Biletskyy
413f430f4e
jungle: add back set_can_sinent() ( #1571 )
...
init
2023-08-10 16:25:56 -07:00
Adeeb Shihadeh
61e987f6e2
remove safety replay test ( #1569 )
2023-08-07 18:38:01 -07:00
Igor Biletskyy
83c000e1a4
panda: disable transceivers while doing CAN multiplexing ( #1556 )
...
init
2023-08-07 12:24:16 -07:00
Igor Biletskyy
a651fe3c6b
set OBD to False after test ( #1568 )
...
* reset OBD after test
* add comment
2023-08-07 10:54:39 -07:00
Justin Newberry
5801582baf
Subaru: convert measured angle to centigrees ( #1567 )
...
convert to centigrees
2023-08-07 09:29:34 -07:00
Adeeb Shihadeh
972b0dca94
don't try to reflash bootstub when reconnecting
2023-08-06 23:06:26 -07:00
Adeeb Shihadeh
235067a22b
run HITL tests in parallel ( #1566 )
...
* seems to work
* cleanup
* run in ci
* fail on first
* fix jungle scope
---------
Co-authored-by: Bruce Wayne <batman@comma.ai>
2023-08-06 20:51:26 -07:00
Adeeb Shihadeh
77b09a3160
misc hitl test cleanup ( #1562 )
...
* misc hitl test cleanup
* adjust that
* update
* tres fix
---------
Co-authored-by: Bruce Wayne <batman@comma.ai>
Co-authored-by: Comma Device <device@comma.ai>
2023-08-06 16:30:21 -07:00
Adeeb Shihadeh
3dc3b58e20
ruff: enable bugbear checks ( #1565 )
2023-08-06 14:59:22 -07:00
Adeeb Shihadeh
fc506e7b39
switch to ruff linter ( #1564 )
...
* switch to ruff linter
* cleanup
2023-08-06 14:29:28 -07:00
Adeeb Shihadeh
33a95d6bea
pedal: fix warning on invalid serial ( #1563 )
...
* pedal: fix warning on invalid serial
* fix
* fix:
* shouldn't need that
* fix
---------
Co-authored-by: Bruce Wayne <batman@comma.ai>
2023-08-06 13:47:37 -07:00
Adeeb Shihadeh
c66b98b2a6
finish esp/gps removal ( #1559 )
2023-08-06 12:29:54 -07:00
Robbe Derks
d2d207b88d
In-circuit debugging ( #1560 )
...
* openocd script and readme
* do not disable SWD on boot
2023-08-05 16:04:09 -07:00
Adeeb Shihadeh
130092e669
python: replace warning with logging
2023-08-05 14:10:33 -07:00
Adeeb Shihadeh
dc07975446
python: fast reconnect ( #1558 )
2023-08-04 23:52:18 -07:00
Igor Biletskyy
3e21991ce2
jungle: disable transceivers while doing CAN multiplexing ( #1555 )
...
* init
* keep unneeded trans off
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-04 22:47:10 -07:00
Adeeb Shihadeh
b976cf426a
libpanda: silence build warning
2023-08-04 22:16:49 -07:00
Adeeb Shihadeh
6e1d35b033
more complete jungle reflash ( #1557 )
...
* more complete jungle reflash
* no spi!
* mv flash
* mv that
2023-08-04 21:51:09 -07:00
Adeeb Shihadeh
0f479a30a3
CI: reflash jungle ( #1546 )
2023-08-04 18:11:29 -07:00
Justin Newberry
7b6806c270
Safety: Add desired angle to safety helpers ( #1554 )
...
add desired angle
2023-08-04 17:30:10 -07:00
Justin Newberry
2a72404ccb
Subaru: Add measured steering angle and vehicle speed ( #1528 )
...
* correct vehicle speed and add measured angle
* misra
* misra
* common test for angle
* PR cleanup
* use subaru prefix
* clean it up a bit
* minimize whitespace diff
* need float for deg_to_can
2023-08-04 17:16:35 -07:00
Adeeb Shihadeh
43bde4138d
jungle: SBU provisioning tests ( #1553 )
...
* jungle: SBU provisioning tests
* update can_send
* cleanup
* fix misra
* space
2023-08-04 14:28:23 -07:00
Adeeb Shihadeh
1950ba6f83
cleanup bus count constant
2023-08-04 10:47:03 -07:00
Adeeb Shihadeh
977d702770
cleanup old pedal stuff ( #1552 )
2023-08-04 10:40:53 -07:00
Adeeb Shihadeh
d7120be904
panda jungle ( #1547 )
...
* mv jungle
* match pedal style
* fix linter
* fix fw path
* fix paths
* safety!
2023-08-03 23:55:13 -07:00
Adeeb Shihadeh
e7894e6770
Move CanHandle to python/ ( #1550 )
2023-08-03 23:10:16 -07:00
Adeeb Shihadeh
5af25e2a67
fix paths when building with different SConstruct
2023-08-03 22:24:20 -07:00
Adeeb Shihadeh
f37f8d90ba
cleanup build, prep for jungle ( #1549 )
...
* cleanup build, prep for jungle
* cleanup
* update pedal obj path
2023-08-03 19:07:41 -07:00
Shane Smiskol
3e429ac0f8
Honda: remove duplicated relay transition time check ( #1544 )
...
already checked
2023-08-02 21:09:09 -07:00
Justin Newberry
1154eb2d75
Subaru: cleanup panda logic ( #1543 )
...
cleanup subaru
2023-08-02 15:13:01 -07:00
Robbe Derks
feef2e6c71
Harness tick at 8Hz ( #1541 )
...
harness tick at 8Hz
Co-authored-by: Comma Device <device@comma.ai>
2023-08-01 21:31:15 -07:00
Robbe Derks
b4700a876f
Stable ADC on H7 ( #1540 )
...
* 256x oversampling
* reduce to 128x
* fix misra
---------
Co-authored-by: Comma Device <device@comma.ai>
2023-08-01 20:48:10 -07:00
Robbe Derks
a945053ade
Force relay drive ( #1539 )
...
force drive
Co-authored-by: Comma Device <device@comma.ai>
2023-08-01 16:33:34 -07:00
Adeeb Shihadeh
7f1944cf43
debug endpoint for custom clock source period ( #1538 )
...
* debug endpoint for custom clock source period
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
2023-08-01 16:17:42 -07:00
Adeeb Shihadeh
1b706040cd
pre-commit: autoupdate hooks ( #1536 )
...
* Update pre-commit hook versions
* fix
---------
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-08-01 11:14:27 -07:00
Adeeb Shihadeh
ed8ff7e48a
H7: explicitly disable GMLAN for now ( #1532 )
2023-07-24 15:01:19 -07:00
Justin Newberry
933a19af84
CI: bump refs ( #1529 )
...
ci bump refs
2023-07-21 00:06:59 -07:00
Adeeb Shihadeh
dd78b2bf6c
python lib: allow infinite timeout
2023-07-20 14:28:16 -07:00
Adeeb Shihadeh
1eac0d7634
HITL: remove old check, it's always checked on panda connect now
2023-07-20 11:25:06 -07:00
Adeeb Shihadeh
8258d18e87
spi: bump version
2023-07-20 11:15:01 -07:00
Justin Newberry
72032e2850
Subaru: use generator for limits ( #1527 )
...
* generator
* remove torque reference
* fix misra
* misra
2023-07-19 23:32:31 -07:00
Justin Newberry
0acb7b9ee4
CI: Bump refs ( #1520 )
...
* bump refs
* bump opendbc
* bump refs
* bump refs
2023-07-18 12:31:16 -07:00