* mutation
* clone
* origin
* get diff
* better example
* better
* fix docker
* work on push
* make test fail
* real change
* test all modes
* ignore
* better
* reco
* fix
* no libpanda on device
* curl
* nl
* nl again
* delete
* clean
* clean
* this
* add this back
* cleanup
* toyota: add safety for tester present
* block ACC_HUD
* check stock ECU
* add test
* and now pass test
* check ACC_CONTROL for relay malfunction
* not needed
* split tx msgs, test_panda_safety_tx_cases was really helpful!
* now don't need this
* 0x343 is expected to be on bus 0 if stock long
* better as cases
* swap
* always block pre_collision if stock (used for dsu removal)
* do tx msgs
* fix comment
* allow 0x200 addresses for Bolt camera
* fix test
* only gm address
* think 15765-2 is the source
* test the data
* label
* should be here
* already labeled
* use constant!
* update table
* fix misra
* Revert "update table"
This reverts commit 71ef3fde7c.
* new cppcheck gets this
* some refactoring still needing to be done here
* 50hz
* set rx checks
* tx msgs
* test
* fix
* forgot to check this since it's static now
* enable_gas_interceptor
* more
* remove int funcs since are common
* generic!
* not generic
* need to set counter now
* set_enable_gas_interceptor not needed
* already reset in safety init
* fix test
* remove gas_interceptor_detected (partly)
* oof need for hjonda too
* edit structs
* more honda (still broken)
* fix typo
* shift these down
* can also make this extensible
* stash
* defining classes is much simpler, maybe in future we will have some sort of wrapper after some more thought
* remove create_interceptor_test now
* add lta interceptor
* clean up print
* clean up
* once
* type hint
* rm
* no interceptor with stock long + good test
* add interceptor counter to honda
* need alt interceptor + set rx checks for honda
* we were never testing button enable with nidec + interceptor!
honda almost all passing
* these fixes make sense
* clean up
* better
* clean up test cov
* clean up
* not needed
* fix tx msgs
* clean up
* cppcheck
* fix
* unnecessary
* allow ice camera scc longitudinal
* Merge commaai#30021
* test
* clean up
* clean up 2
* some test work
* re-use existing test for radar-scc for now
* clean up
* clean up
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* stash
* if x > xy.x[0], then subsequent x < xy.x[i+1] enforces it is monotonic, or uses last y
* rm
* test safety tick
* coverage: include safety.h
* car-only test
* MAX
* op
* add safety_config_valid
* simple lta safety
* fix compilation error
* allow current angle when disabled
* toyota angle rate limits
* use GET_BIT
* update limits, temp fix blocked msgs (not critical safety)
* try these limits
* debug
* add setme check, double rate limit for half rate
* update safety limits to openpilot (2 bp)
* had duplicate checks here
* rm line
* better comment
* silly bug
* draft
* Revert "draft"
This reverts commit 756ef70135.
* toyota: add safety for tester present
* block ACC_HUD
* check stock ECU
* add test
* and now pass test
* safety replay: support toyota lta
* remove radar stuff
* max torque safety
max torque safety
* driver torque
* one line
* match openpilot limits
* rename to max_angle and check quality flag
* measure current angle
* clean up
* oh we can combine
* no driver torque limiting for now
* todo: decide the tolerance if any
* add max angle and prepare for to enable inactive safety
* enable inactive safety
* fix replay when inactive
fix replay when inactive
* fix qf check
* ohh this was a bug
* measure vehicle speed
* because safety is in m/s
* rm MeasurementSafetyTest
* stash very draft changes
* fix
* uncomment
* clean up
* rm
* already added
* clean up
* temp fix
* test angle measurements
* add constant
* ltl cleanup
* include this test in test_angle_measurements
* better
* order makes more sense
* fix
* clean up ford cmts
* move to base
* todo
* misra
* already do this below
* angle tests: take in max angle as argument
useful for safety modes that are limited (ford/toyota)
* fix ramp test: round measurement since toyota's scale isn't round
* clean that up
* no subtest
* back
* is tested now!
* flat is more clear
* add check for mismatching bits
* LTA is fully tested now
* clean up
* test_angle_cmd_when_enabled
* whops
* flip
* fix broken test
* need this if we type angle meas func
* should set prev torque
* no subtest
* remove default valid qf
spce
* one line
* cmt
* fixes
* vehicle speed macro
* vehicle speed macro v2
* Update board/safety_declarations.h
* easier to follow
* one line
* rightttt
* rename to toyota_lka_rx_checks, not default
* common honda addr checks
* oohhhh
* rename RxCheck from merge
* more rename
* checked data and found 0x1A6 does not exist on any Bosch, so combining with 0x296 is safe
* formatting
* need this since refactor
* clean up
* fixup
* misra
* coverage caught another bug!
* another duplicate addr from multi tests
* proper base class
* formatting
* misra
* flat
* Revert "flat"
This reverts commit d5ea2adf26.
* forgot to specify bus (fuzzy test caught it, but whitelisting rx addrs
would so much quicker)
* common honda addr checks
* oohhhh
* rename RxCheck from merge
* more rename
* checked data and found 0x1A6 does not exist on any Bosch, so combining with 0x296 is safe
* formatting
* need this since refactor
* clean up
* fixup
* misra
* coverage caught another bug!
* another duplicate addr from multi tests
* proper base class
* formatting
* misra
* flat
* Revert "flat"
This reverts commit d5ea2adf26.
* run in CI
* test
* make report optional
* 100% GM coverage
comments
* more coverage: these are unhittable lines
* vw mqb: convert switch to if, consistent with all other safety modes
* we don't check any of these yet
* rm
* ensure honda_fwd_brake is reset
* can rm this
* test honda brake latching
* honda: add rx brake function
* use loops for more coverage and more compact code
* other honda stuff
* remove car-specific stuff from init_tests
* don't need to have car safety modes reset interceptor detected (global init does)
* use get_bit
* ahh ford counter is unhittable: counter check disabled due to skipping
* misra
* test nooutput and alloutput
* required changes for that
* fix test
* more all/nooutput coverage
* start on lin
* rx coverage
* lin tx coverage
* some barebones body test
* double negative
* draft elm327 safety (git stash)
* fixes from merge
* clean up test cov
* add rm
* no body
* failed grep returns exit code 1
* more clear msgs