Adeeb Shihadeh
ae8fb53bd6
deprecate carControl gas + brake fields
...
old-commit-hash: 4b2ecdcce7
2 years ago
Adeeb Shihadeh
69f6d32678
controlsd: add blinkers to carControl ( #26773 )
...
* controlsd: add blinkers to carControl
* not actuators
* update refs
old-commit-hash: 151e0d8c39
2 years ago
Shane Smiskol
ec9060c7ba
CarController: log steer sent to the car ( #26743 )
...
* log value sent to the car
* rename
* bump
* Update ref_commit
old-commit-hash: f36a3664b0
2 years ago
Shane Smiskol
8c4d019e7e
cleanup: deprecate lqrState field ( #26745 )
...
* first commit
* clean up
* bump cereal
* revert angle controller
* revert
* clean up
* revert
* bump
* bumptomaster
old-commit-hash: df6bd0f392
2 years ago
Adeeb Shihadeh
62f035b089
nav: add mapRenderState.frameId
...
old-commit-hash: 27dc9c0e79
2 years ago
Adeeb Shihadeh
1b62c55e8d
nav: add mapRenderState ( #26734 )
...
* nav: add mapRenderState
* bump cereal
* bump again
old-commit-hash: c3b3c10232
2 years ago
Shane Smiskol
4dfeb1ddeb
micd: apply A-weighting to the sound pressure level ( #26668 )
...
* record
* record
* draft
* some clean up
* some clean up
* wishful tuning
* log pressure level (db) for debugging
* fix
* tuning
* ignore complex to real warning
* remove this
* Update selfdrive/ui/soundd/sound.cc
* Update system/micd.py
* remove warning supp
* bump cereal to master
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: d087fab2c0
2 years ago
Cameron Clough
9bcf83f493
micd: scale sound volume with ambient noise level ( #26399 )
...
* test changing sound volume
* test changing sound volume
* create system/hardware/pc/hardware.h
* implement Hardware::set_volume using pactl
* soundd: use Hardware::set_volume
* add sounddevice dependency
* sounddevice example
* simple micd
* cleanup
* remove this
* fix process config
* add to release files
* hardware: get sound input device
* no more offroad
* debug
* calculate volume from all measurements since last update
* use microphone noise level to update sound volume
* fix scale
* mute microphone during alerts
* log raw noise level
* hardware: reduce tici min volume
* improve scale
* add package
* clear measurements on muted
* change default to min volume and respond quicker
* fixes
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* logarithmic scaling
* fix
* respond quicker
* fixes
* tweak scaling
* specify default device
* Revert "hardware: get sound input device"
This reverts commit 50f594f7a3bab005023482bc793147a8c8dae5d7.
* tuning
* forgot to update submaster
* tuning
* don't mute microphone, and clip measurement
* remove submaster
* fixes
* tuning
* implement Hardware::set_volume using pactl
* Revert "test changing sound volume"
This reverts commit 4bbd870746
.
* draft
* draft
* calculate sound pressure level in dB
* fix setting
* faster filter
* start at initial value
* don't run command in background
* pactl: use default sink
* use sound pressure db
* tuning
* bump up max volume threshold
* update filter slower
* fix divide by zero
* bump cereal
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 108ff15f5d
2 years ago
Shane Smiskol
634a6c9802
Deprecate noTarget event ( #26638 )
...
deprecate notarget
old-commit-hash: 5409895ab2
2 years ago
Shane Smiskol
d1dee4625a
controlsd: preEnable on brake at a standstill ( #26273 )
...
* pre-enable on brake at standstill
* test by getting rid of noTarget
* Update events.py
* rename
* stash what we got so far
* cmt
* not sure if best way to fix, but enabled with current states defs is fine
* no noEntry in preEnabled
* bumpcereal
* uncomment
* Update ref_commit
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dbe512d167
2 years ago
Adeeb Shihadeh
aec5f32f3c
publish experimental mode state ( #26512 )
...
* publish experimental mode state
* remove that
old-commit-hash: 9c96b21367
2 years ago
Shane Smiskol
1ea7e49e8d
controls: disengage on regen paddle independently ( #26453 )
...
* add regen braking field that's just used to add a pedalPressed
* bump
* bump
* Update ref_commit
* we want the standstill check
we want the standstill check
* see what diff is now
* Update ref_commit
old-commit-hash: 74b6e22a7d
2 years ago
Harald Schäfer
f86b44d516
E2e long model: calibrate model speed to wheel speed ( #26395 )
...
* calibrate!
* Fix test
* Fix proc replay
* check len
* get v_ego from model 8501d20-bb59-4193-aa82-82b2737dedd6/449 609d90f3-65e6-4617-a60c-d6d99eead408/700
* bump cereal
* initialize v_model_error
* typo
* better names
* cleanup
* bump cereal
* update model replay ref commit
* bump to cereal master
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
old-commit-hash: f63f0de80a
3 years ago
Adeeb Shihadeh
53861d16ab
bump cereal
...
old-commit-hash: 506a150e73
3 years ago
Bruce Wayne
21bcfad5a7
Revert "Use calibrator to stabilize wide transform ( #26201 )"
...
This reverts commit 1827b3c9e2942240f65d03ec0f790c91aa9c00ee.
old-commit-hash: 75b7fd0a7d
3 years ago
HaraldSchafer
dfbb291ef2
Use calibrator to stabilize wide transform ( #26201 )
...
* Use calibrator to stabilize wide transform
* Need array
* Needs init
* Bump to master
* Needs to be arr
* publish mshg
* Check size
* Update ref
old-commit-hash: 42ef62e391
3 years ago
HaraldSchafer
bcb1ba7bfe
Wide transform model ( #26165 )
...
* d8501d20-bb59-4193-aa82-82b2737dedd6/449 f78009d1-2184-4136-9fbc-1c5de55d460d/700
* Change model outs
* Add cereal
* Publish transform
* d8501d20-bb59-4193-aa82-82b2737dedd6/449 f78009d1-2184-4136-9fbc-1c5de55d460d/700
* Bump cereal to master
* Bump cereal to master
* Update model ref
old-commit-hash: d25ab3e366
3 years ago
Shane Smiskol
70249fae14
Rename gmAccFaultedTemp -> accFaultedTemp
...
old-commit-hash: b1efdab788
3 years ago
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