* ev has different scales
* fix initial gradient
* fix highlight weirdness
* try smooth set of gains
* delay
* add gain idx
* oops
* set different min dc
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c7a0f23b45
* Change ramp limits to 2/2 for CANFD cars
* Only the high torque CANFD cars
* comment
* Update selfdrive/car/hyundai/values.py
* Better to do 2/3 and for all cars
* bump to master
* update refs
old-commit-hash: d57e07eec0
* stop sensord if interrupts not enabled
* move to tearDown
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 03314b3ddf
* Honda Bosch: match speed on dash
* present on all cars
* all honda
* more explicit switching
* hyst
* hyst
* clean up
* Update ref_commit
* no bitwise
no bitwise
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e699b0994c
* camerad: log image sensor in camera states
* for all cams
* bump cereal
* revert that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7352e6d940
* toyota: match set speed from dash
* Use unit bit
* Use RSA2
* flip this
* Universal unit signal, set vEgoCluster
* remove this and bump opendbc
* detect if car interface sets cluster fields
* revert
* needs to be cp
* UI_SPEED is actually always in kph?
* forgot to actually convert it
* same in onroad
* try conv factor only for imperial
* Seems like UI_SPEED is not the UI speed at all
* the dash might floor it
* same openpilot behavior
* bump
* ego speed factor is dynamic across speeds, handle Lexus exceptions with
diff msg
* remove test, bump opendbc
* secret formula
* secret formula v2
* 1.03 is sufficient
* try short press
* bump opendbc
* surely this can be cleaned up
surely this can be cleaned up
* use filter
* redo factors
* try UI_SPEED again with a factor
try UI_SPEED again with a factor
* dash applies hysteresis to speed. this matches pretty well, but not exactly
* make hysteresis generic
* clean up
* revert this
* try this
* read from fake params
* should be mostly good for imperial now
* revert
* revert
* remove toyota stuff
* common function for everyone
* rm line
* fix
* an example with Toyota
* use CS.out
* one mph
* 1 kph
* cmt
* remove cmt
* abs it
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: ef26abcf65
* lateral overriding is overriding
* Update test
* remove
* also could do something like this and only have one OVERRIDE ET
* Revert "also could do something like this and only have one OVERRIDE ET"
This reverts commit 5c381641c0.
* full names
* bump cereal
* test every event type
* update refs
old-commit-hash: 992707c172
* multilang date
* update translations
* add language to uistate
* update translations
* use it here too
Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: 27e1ec8fd3
* change LSM6DS3TR(-c) gyroscope and accelerometer to interrupt
* add pthread for linking
* add interrupt collector thread to fetch in parallel to non interrupt based sensors
* change get_event interface to return true on successful read
* fetch sensor interrupts via gpiochip
* avoid sending empty messages (interrupt only, non interupt magn can leave a gap in the orphan block)
* add verifier script to sensor interrupts (sensor_data_to_hist.py)
* add/update sensord testsweet (test_sensord.py)
* add poll timed out check
* unexport interrupt gpio pins
* gpiochip on both edges, but skip falling edge if rising edge is detected, this is handled in the sensor as the status flag is checked if new data is availble
* add test to sensord to verify 100Hz interrupt frequency
* add sensor shutdown/low power mode functionality on sensord exit
* relax test, will be readded in the splitup PR
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 84a3c355e5
* add missing ascent fw version
Ascent had recall service for transmission ecu. New values added.
* Update selfdrive/car/subaru/values.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 56b05d55eb
* Toyota: clean up long tunes a bit
* Update selfdrive/car/toyota/interface.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2704e2cf4d
* start porting OS04C10
* something
* is the pll why this doesn't work
* understand plls, still doesn't work
* work
* weee something
* working?
* timing
* encoderd works with less cameras
* 1928
* flip image
* color balance
* adjust black level
* extra height maybe
* cleanups
* clean up sensor i2c
* sensors
* approx 20fps
* remove mirror
* 50ms, no fsin yet
* remove imx390 support
* some attempt at AE
* linearize the response
* OX changes (#25697)
* organize
* wb
* best effort but probably messed up by artifacts
* multicam sync
Co-authored-by: Comma Device <device@comma.ai>
* clean up
* more
* fix multiexposure
* start porting OS04C10
* something
* is the pll why this doesn't work
* understand plls, still doesn't work
* work
* weee something
* working?
* timing
* encoderd works with less cameras
* 1928
* flip image
* color balance
* adjust black level
* extra height maybe
* cleanups
* clean up sensor i2c
* sensors
* approx 20fps
* remove mirror
* 50ms, no fsin yet
* remove imx390 support
* some attempt at AE
* linearize the response
* OX changes (#25697)
* organize
* wb
* best effort but probably messed up by artifacts
* multicam sync
Co-authored-by: Comma Device <device@comma.ai>
* clean up
* more
* fix multiexposure
* unbroken AE
* oops
* sort of good AE
* both should work 1
* open then init
* fix debayer
* rename
* fix test build
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aea1a0d5e6
* Add VMCU address for EV6
* Rename vmcu
* add to tests
add to tests
* rename to more generic name
* more explicit
* remove print
* Like this much better, removes subtle fingerprinting problems
* clean up
* add test and clean up
* remove hyundai stuffs
* global
* Fpv2Config class
* fix missing fw versions from import order
* unused
* revert for now
* test for fpv2 configs with subtests
* subtests don't work that way
* do toyota as an example
* revert
revert
* do chrysler
* do rest
* stash
* much smaller of a diff than the alternative
* remove unused test
* fix tests
* remove brand from Request
* Make StandardQueries class
* add missing_ecus
clean up
* rename file
* unused
* test implemented
* add comment and rename
add comment and rename
add comment and rename
* should be impossible now
* this is a fixme
* rename to fw_query
* rename this too
* and this
* move vin queries to class
* order
* can use p16!
* formatting
* whoops, this wasn't gated on not len(found_versions)
* make this clear
* Standardize manufacturer software version query
old-commit-hash: 0ef6bb48df
* Added support for APA racks
APA steering racks use a different bit to represent whether the ECU should enable steering assist.
This change supports those APA steering racks.
* Static analysis fix
* Static analysis fix2
* Code cleanup
* Update selfdrive/debug/vw_mqb_config.py
* Apply suggestions from code review
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
old-commit-hash: fc3bdef891