panda/tests/safety
Shane Smiskol f62d1723fd
Hyundai CAN: fix driver torque safety scaling (#1695)
* how does this/did that pass?!

* fix misra

* add comment

* we could do this

* or could do what eps torque does

* another pr

* not unused

* need this for special gm

* support testing integer torque

cmt

* there we go

* stash again

* Revert "stash again"

This reverts commit 4ecf6cc91c.

* this works!

* clean up

* cmt

* ugh this test was broken

* add some comments for this behemoth, and switch to rxing real msgs

* for now, no measurement test since we don't have any info about driver torque on can. for ex:

max value, factor on CAN, etc.

clean up

* more clean up

* just use it everywhere

* better cmt

* cmt
2023-10-24 23:20:33 -07:00
..
__init__.py replay test (#205) 2019-06-07 17:12:02 -07:00
common.py Hyundai CAN: fix driver torque safety scaling (#1695) 2023-10-24 23:20:33 -07:00
hyundai_common.py safety tests: use rx/tx helpers (#1399) 2023-05-04 04:09:09 +00:00
test.sh safety tests: test one of each MCU type 2023-08-14 21:08:46 -07:00
test_chrysler.py Safety tests: Convert message addresses from decimal to hexadecimal (#1633) 2023-08-31 20:13:37 -07:00
test_ford.py Ford CAN FD safety (#1455) 2023-07-16 15:09:37 +01:00
test_gm.py Hyundai CAN: fix driver torque safety scaling (#1695) 2023-10-24 23:20:33 -07:00
test_honda.py pre-commit: autoupdate hooks (#1639) 2023-09-07 19:10:30 -07:00
test_hyundai.py Hyundai CAN: fix driver torque safety scaling (#1695) 2023-10-24 23:20:33 -07:00
test_hyundai_canfd.py Safety: separate test for steer request bit cutting (#1653) 2023-09-06 19:35:54 -07:00
test_mazda.py Safety: assert that torque safety modes check the steering request bit (#1625) 2023-09-13 01:08:37 -07:00
test_nissan.py Nissan: consider true sign in safety (#1680) 2023-10-03 01:50:37 -07:00
test_subaru.py safety tests: clean up measurement tests (#1694) 2023-10-23 20:04:05 -07:00
test_subaru_preglobal.py Subaru: preglobal check steer req bit (#1626) 2023-08-31 14:26:51 -07:00
test_tesla.py Tesla safety: fix wrong message rate (#1277) 2023-06-01 23:10:36 +02:00
test_toyota.py Safety: separate test for steer request bit cutting (#1653) 2023-09-06 19:35:54 -07:00
test_volkswagen_mqb.py VW MQB: Check steer req bit (#1631) 2023-09-01 16:32:08 -07:00
test_volkswagen_pq.py VW PQ: Check steer req bit (#1630) 2023-09-11 13:59:30 -07:00