Adeeb Shihadeh
60cb813af5
ui: publish draw times + add test ( #26119 )
...
* ui: publish draw times + add test
* add some checks
* adjust
* fix linter
* update max
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 15b8c7d1dc
3 years ago
Shane Smiskol
961c613005
GM camera ACC: prevent fault when engaging at a stop ( #26079 )
...
* prevent bolt fault
* comment
* only for camera ACC
* fixup alert
* bump cereal to master
* use new name
* Update selfdrive/car/gm/interface.py
* Update selfdrive/car/gm/interface.py
* Update selfdrive/car/gm/interface.py
* only care about prevent engagement when we look at PCM
old-commit-hash: 4e82f68de2
3 years ago
Adeeb Shihadeh
51b18eecef
bump cereal
...
old-commit-hash: 6dbfb8e49b
3 years ago
Shane Smiskol
4df9e825ae
Use longActive for car-specific override signals ( #26030 )
...
* add override field to cruiseControl
* need to check if long *can* be active
* bump cereal to master
* revert
* better
* fix
* update refs
* rename variable
old-commit-hash: 7418678132
3 years ago
HaraldSchafer
549a65d51e
rawgpsd: publish ephemerides ( #25931 )
...
* add svpoly parsing
* Publish poly
* add source check
* add safety check for invalid gpsWeek values
* address PR comments
* add qcom ephemeris source type
* bump cereal and laika
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 57a82ced28
3 years ago
Adeeb Shihadeh
e631966207
add fault for invalid safety RX checks ( #25949 )
...
* add fault for invalid safety RX checks
* just a bool
* bump panda
old-commit-hash: 3068c48224
3 years ago
Kurt Nistelberger
fb06d2769f
Sensor events splitup ( #25714 )
...
* PoC of reading sensors via interrupts instead of polling
* add Gyro and draft for magn
* add more functionality to gpio.cc
* change LSM gyro to interrupt
* resolve rebase conflict
* update BMX accel interrupt impl
* add interrupt collector thread to fetch in parallel
* change get_event interface to return true on successful read
* update BMX gyro interrupt impl
* update gpio.h/.cc according to comments
* address comments, rename Edgetype enum
* Edgetype to EdgeType
* update sensor interrupt interface
* add error handling, and read fd on trigger
* avoid sending empty messages
* fix build
* use gpiochip
* less diff
* gpiochip on both edges, but skip falling edge if rising edge is detected
* init last_ts with 0
* update sensord testcases
* update sensord testsweet
* test for pipeline
* readd with_process
* add null check
* move tests update to seperate PR
* sensord: improve test coverage (#25683 )
* update sensord-interrupt testsweet
* address review comments
* inc stddev threshold
* fix format string
* add version 0 check again
* relax strictness after c3 with bmx tests
* relax strictness after tests
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
* address PR comments
* fix typo
* remove 4ms limit, and skip first 0.5sec of data
* revert disable_interuppt change to destructor
* fix and remove timing skip
* make gpiochip generic
* sensord port
* change from sensorEvents to separated events
* fix gyro usage
* add splitted sensor tests
* modify debug script sensor_data_to_hist.py
* refactor get_event interface to remove sensorEvent message type
* update locationd to non sensorEvent usage
* tmp commit
* fix replay
* fix accelerometer type
* fix sensor to hist debug script
* update sensord tests to split events
* remove rebase artifacts
* port test_sensord.py
* small clean up
* change cereal to sensorEvents-splitup branch
* upate sensorEvents in regen
* fix route generation for splitted sensor events
* regen cleanUp from sensorEvents change
* .
* remove light and temp from locationd
* add generic init delay per sensor
* .
* update routes
* move bmx gyro/accel to its own channel
* adopt sensor tests to bmx channel
* remove rebase artifacts
* fix sensord test
* handle bmx not present
* add bmx sockets to regen
* .
* .
* code cleanUp
* .
* address PR comments
* address PR comments
* address PR comments
* lsm clean up
* readd sensorEvents
* rever regen.py
* .
* update replay refs
* move channels
* fix artifact
* bump cereal
* update refs
* fix timing issue
Co-authored-by: Bruce Wayne <batman@workstation-eu-intern2.eu.local>
Co-authored-by: gast04 <kurt.nistelberger@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 29d3ed2ce6
3 years ago
Adeeb Shihadeh
52529fb8f6
fix autobrightness for OX03C10 ( #25915 )
...
* fix autobrightness for OX03C10
* fix scaling
* use cur ev
* oops
* bump cereal
old-commit-hash: 2384a9ee67
3 years ago
Kurt Nistelberger
8a828af454
Sensor events regen ( #25903 )
...
old-commit-hash: 96ed5aa581
3 years ago
Robbe Derks
fe1352747d
Tesla FW query ( #25785 )
...
* early wip
* add addresses
* cleaned up fw versions
* remove CAN fingerprint
* Revert "remove CAN fingerprint"
This reverts commit 337e8d65ef7ee2724cfe6ff711ee8aeffdbbb22f.
* bump panda
* Revert "Revert "remove CAN fingerprint""
This reverts commit 12536fa8358438a6d6713c0b7bef0383bbc83588.
* bump cereal
* fix ecu type
* whitelist per rx_offset
* bump submodules again
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b3be863671
3 years ago
Igor Biletskyy
e39767b1cb
boardd: add CAN health to pandaStates ( #25800 )
...
* init
* try this
* mistake
* fix
* bump cereal
* make obvious
* fixes
* remove comment
* one helath header
* ..
* preallocate vectors
old-commit-hash: 53959082e7
3 years ago
Vivek Aithal
5a097b3235
regenerate replay segments for torqued ( #25805 )
...
* update segments in test_processes
* bump cereal
* update refs
old-commit-hash: b133a4c9a8
3 years ago
Igor Biletskyy
99fa17ef7e
Panda health: names and mixup fix ( #25774 )
...
* init
* naming
* fix names
* bump cereal
* bump panda
* bump panda
old-commit-hash: d5410dfac5
3 years ago
Adeeb Shihadeh
565511431d
camerad: log image sensor in camera states ( #25786 )
...
* 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
3 years ago
Shane Smiskol
c1b9a202aa
controls: enter overriding state for steering override ( #25617 )
...
* 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
3 years ago
Igor Biletskyy
ca2e3c83d7
bump panda and cereal ( #25746 )
...
bump
old-commit-hash: f1a2dc36ba
3 years ago
Cameron Clough
2347e913a0
rename esp ECU to abs ( #25640 )
...
* rename esp ecu to abs
* bump cereal
old-commit-hash: e9c87daef6
3 years ago
Bruce Wayne
77716364b8
bump cereal
...
old-commit-hash: 285ce30996
3 years ago
HaraldSchafer
1c2c840a8a
Let planner decide stopping state ( #25643 )
...
* Let planner decide stopping
* Refactor stop/start state machine
* Stay stoppe condition
* 1sec from target
* Add starting state
* Add starting state logic
* Undo some changes
* Update ref
old-commit-hash: 210a6163ac
3 years ago
HaraldSchafer
b8a6a961fe
Remove lane planning code ( #25651 )
...
* Remove all lane planning logic
* Revert "Update ref"
This reverts commit 8dcb08ebccbb5641443459ac40601a95cf605682.
* bump cereal
* Update ref
old-commit-hash: 2eff6d0ebd
3 years ago
Adeeb Shihadeh
caac56b92e
USB power mode cleanup ( #25619 )
...
* first pass at usb power mode cleanup
* fix build
* a sneaky one
* little more
* fix build
* bump pnada
* remove that
* power monitoring cleanup
* fix tests
* bump submodules
old-commit-hash: 28cb1897cb
3 years ago
Shane Smiskol
386163d09f
Chrysler: add missing hybrid ecus ( #25606 )
...
* add missing hybrid ecus
* rename to hcp
rename to hcp
old-commit-hash: c7bae57924
3 years ago
Shane Smiskol
1fcc31aac6
Car docs: add auto-resume column ( #25572 )
...
* Move auto resume in sng to car interface
* Update docs
* shorter name, star
* order
* resumes?
* add hidden detail sentence
* good to know this works, but revert
* VW auto resume
* bump cereal to master
* Update ref_commit
* match cereal
* try this
* ?
?
* like this
old-commit-hash: 452d5e42ec
3 years ago
Adeeb Shihadeh
35ff65121e
pre-commit: add codespell ( #25571 )
...
old-commit-hash: 6590fb2b93
3 years ago
Cameron Clough
07084dcbaf
user event flagging ( #25517 )
...
* setup home_btn in sidebar
* create UserFlag msg
* replay: show and skip to user flags
* update translations
* bump to cereal master
* remove comment
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b3cfe962cf
3 years ago
Robbe Derks
fbcfa087d6
Panda fan controller ( #25475 )
...
bump panda and add fan power to pandaState
old-commit-hash: 7679f4fa90
3 years ago
Shane Smiskol
2bd8ee0974
controls: block resume if cruise not previously engaged ( #25402 )
...
* see if this works at all
* can revert this
* think adding a no entry conditionally is nicer
* then we can revert this
* 0 makes more sense
* Revert "0 makes more sense"
This reverts commit efc89e8a23
.
* gm CC uses > 70
* bump cereal
* comment
* test on Honda
* whoops
* works
* add exception with todo
* moved button enable events to controlsd
* get rid of that
get rid of that
* different values for now
* car interfaces add enable event, controlsd can block it
* Regen and update refs
* delete if not set
* One place
one place
* regen routes are uninitialized first few frames
* Trim start of segment so it's like original segment
* stash
* regen
* not working
* clean up
* more cleanup
* revert
* bump ceral
* actually check resume button
* whoops
* pcmCruise cars don't use setSpeed, so we're good
* engage correctly in sim
* Update ref_commit
* Update refs
old-commit-hash: 5ed587ebef
3 years ago
Adeeb Shihadeh
fe89c4d6ab
loggerd: log all disk space usage in initData ( #25455 )
...
* bootlog: log all disk space usage
* not just agnos
* move to initData
* cleanup
old-commit-hash: aa32ea0f64
3 years ago
Adeeb Shihadeh
c55b3fd7ee
Hyundai: rename HDA2 platform to CANFD ( #25411 )
...
* Hyundai: rename HDA2 platform to CANFD
* bump panda
* bump panda
* cleanup panda safety config
old-commit-hash: 5f35c669a6
3 years ago
HaraldSchafer
21ccf4a6fd
Quectel unix timestamp ( #25329 )
...
* Use laika
* Fix bug
* Better timestamp name
* Better name
* bump cereal
old-commit-hash: 32201bbbbd
3 years ago
Willem Melching
8b39650d99
thermald: log modem data usage ( #25298 )
...
* thermald: log modem data usage
* add to deviceState
* add cast
* set refresh rate
* bump cereal
* cereal master
old-commit-hash: b2c1098cd8
3 years ago
HaraldSchafer
0fcd3d4e51
Gather quectel GPS data ( #25300 )
...
* bump cereal
* Use old name
* back to default
old-commit-hash: 98146f5858
3 years ago
Adeeb Shihadeh
5263356958
remove CS.steeringRateLimited ( #25251 )
...
* remove CS.steeringRateLimited
* bump cereal
* update refs
old-commit-hash: d462a08056
3 years ago
Shane Smiskol
430a888fc3
FPv2: log all responses ( #25239 )
...
* should be all that's required
* try using rx_addr (should be the same)
* log bus
* bump cereal
* remove debugging
* bump cereal to master
* rm line
* add printing to offline debug script
old-commit-hash: 937013e488
3 years ago
Willem Melching
744763c7c9
bump cereal
...
old-commit-hash: 1b2d0ce2ac
3 years ago
Willem Melching
17f187e7c3
bump cereal
...
old-commit-hash: 06acb1234f
3 years ago
Willem Melching
a613ca3f95
bump cereal
...
old-commit-hash: 811bb1b762
3 years ago
Willem Melching
4d924f1b39
camerad: cleanup unused RGB code ( #25172 )
...
* camerad: cleanup unused RGB code
* hdr is unused
* more cleanup
* remove envs
* remove from sconsfile
* fix docs
old-commit-hash: f38204ad26
3 years ago
Shane Smiskol
4eabd3b9d9
FW fingerprinting: log all FW versions ( #25042 )
...
* get_fw_versions returns all fw versions with request's brand
* keep track of everything received
* debug
* need to regen or write a hack in build_fw_dict
* to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)
to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)
* update test_fw_query_on_routes
* clean up
* better name
* slightly cleaner
* fix test_startup unit test
del
* fix imports
* fix test_fw_fingerprint
fix test_fw_fingerprint
fix
* fingerprint on all FW_VERSIONS, not just brands with requests
* support old routes in test_fw_query_on_routes
* regen and update refs
* similar function style to before
* better comment
* space
switch name
* try to exact match first
* useless else
* fix debug script
* simpler dictionary
* bump cereal to master
old-commit-hash: ea241bf3dc
3 years ago
Willem Melching
2ff1b641c0
bump cereal
...
old-commit-hash: 67cf20977d
3 years ago
Robbe Derks
a6efa2c7d3
Log SOM power draw ( #24975 )
...
* log SOM power draw
* bump cereal
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 684d4b75a1
3 years ago
Adeeb Shihadeh
f53280b046
bump cereal
...
old-commit-hash: 2e2118dac3
3 years ago
ZwX1616
cd2a98aa11
fullframe DM model ( #24860 )
...
* Revert "put cereal on master"
This reverts commit 4646c132bae7358079c9b2867725f8382906c1e5.
* Revert "Revert fullframe DM model (#24812 )"
This reverts commit 59e8af4c3101785cead69a9880cc03e0a18081e1.
* revert revert cereal
* clip6
* 0.8 is fair
* Fiction compensation should be based on error
* Update refs
* Add deadzone
* not that
* good mg
* ref
* ref
* ee8f
* minor tweak
* ref
* recompile
* ref
* cereal
* match driverstatus
* new ref
* new ref
* pass token through jenkins credentials
* quote
* fix snpe dead weights
* final ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1f2f9ea9c9
3 years ago
Willem Melching
f4602f4b38
bump cereal
...
old-commit-hash: 7a815418d6
3 years ago
Willem Melching
499ceb4f57
bump cereal
...
old-commit-hash: 750daa6374
3 years ago
Gijs Koning
4b338d69db
Laikad: More logging and use last_pos_fix for correcting ( #24868 )
...
Use last available pos_fix for correcting measurements.
Improve logging measurements
old-commit-hash: 5958e78037
3 years ago
Gijs Koning
36c48c1683
Laikad: Remove bearingDeg from message ( #24864 )
...
* Remove bearingDeg from message.
* Push cereal
* Commit cereal
old-commit-hash: 9e3d0e3c9c
3 years ago
Adeeb Shihadeh
5425336963
misc jenkins fixups ( #24840 )
...
* bump cereal
* remove that
* pull cl image
* lil docker cleanup
old-commit-hash: 39da6912ea
3 years ago
Adeeb Shihadeh
3ba846ebac
bump cereal
...
old-commit-hash: 83c5d2ede6
3 years ago
HaraldSchafer
bc679f735d
Misc torque control fixes ( #24801 )
...
* Fiction compensation should be based on error
* Update refs
* Add deadzone
* update ref
old-commit-hash: 843e59f6f0
3 years ago