Shane Smiskol
2ad9eec882
FPv2: log OBD multiplexed requests ( #27667 )
...
* log multiplexed requests
* bump cereal
* bump cereal to master
2 years ago
Shane Smiskol
021661b316
Hyundai CAN FD: log ADAS parking ECU FW version ( #27662 )
...
* add parking and hvac ecus
* needs a new query sadly
* move space
* temp
* comment
* fix
* mid-solution stash
* pretty cleannnnnnn
* everything seems to be working
* bump cereal
* bump to master
* bump to master
* don't multiplex when we don't need it
2 years ago
Shane Smiskol
5ab45890aa
Hyundai CAN FD: log hvac FW version ( #27668 )
...
* add parking and hvac ecus
* needs a new query sadly
* move space
* temp
* comment
* fix
* mid-solution stash
* pretty cleannnnnnn
* everything seems to be working
* bump cereal
* this is a smaller diff, easier to merge
* bump cereal
* just hvac
* bump to master
2 years ago
Shane Smiskol
049fffb39f
bump cereal
2 years ago
Harald Schäfer
204f7d8623
Ttff logs ( #27610 )
...
* ttff in logs
* More meta info
* cleanup
* passess tests
* unused import
* fix linting
* ttff of 0 is invalid
* ref commit
* bump cereal
* Update ref_commit
* sort ephem status list
* sort ephem status list
* update ref
2 years ago
Adeeb Shihadeh
4cff94366f
Revert "LAIKAD: TTFF, and ephemeris statuses in logs ( #27591 )"
...
This reverts commit 95216de591
.
2 years ago
Harald Schäfer
95216de591
LAIKAD: TTFF, and ephemeris statuses in logs ( #27591 )
...
* ttff in logs
* More meta info
* cleanup
* passess tests
* unused import
* fix linting
* ttff of 0 is invalid
* ref commit
* bump cereal
2 years ago
Harald Schäfer
153ffa3f68
Sat info from ublox ( #27526 )
...
* squashed
* bump cereal
2 years ago
Harald Schäfer
5c70482761
Use structs in laika ( #27585 )
...
* doesnt crash
* New cacher
* unused import
* help linter
* Annotate list
* print error
* fix caching bugs
* wrong name
* small fixes
* fix sum
* wrong brackets
* fix tests
* update ref
* bump submodules
2 years ago
Adeeb Shihadeh
17b71b477e
plannerd: add frameId to uiPlan ( #27573 )
...
* plannerd: add frameId to uiPlan
* update refs
2 years ago
Shane Smiskol
3ab8645d3a
uiPlan: add planned acceleration field ( #27484 )
...
* add accel
* bump cereal
* Update ref_commit
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
2 years ago
Harald Schäfer
eb8bdc0026
MPC path in UI ( #27380 )
...
* 10s lat
* Full length MPC
* redfine N
* Leave controls the same for now
* Updates
* use long plan in lat plan
* interp plan
* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/
* expand to 10s
* revert this
* fix linter
* vizualize
* fix long test
* typo
* cleanup
* compiles
* unused
* unused
* bump cereal
* bump cereal
* use model if no uiplanm
* update replay
* update ref commit
* bump cereal to master
2 years ago
Shane Smiskol
f29e19cf42
FPv2: log responses from data collection queries ( #27345 )
...
* log responses from logging/debugging queries
* don't add logging FW to FW dict for fingerprinting
* flip?
* fine before
* log if extra in debug ecus
* clean up
* test extra ecus too
* Revert "test extra ecus too"
This reverts commit 8f7867844d
.
* bump to master
2 years ago
Kurt Nistelberger
6330cdd885
GPS: add tow to gps ephemeris ( #27246 )
...
* add tow to gps ephemeris
* bump cereal
* update refs
---------
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2 years ago
Adeeb Shihadeh
6fa9b555a4
rename carState.radarOffCan to radarUnavailable ( #27187 )
...
* rename carState.radarOffCan to radarUnavailable
* bump cereal
2 years ago
Shane Smiskol
2fd48e26a3
Deprecate canMonoTimes ( #26992 )
...
* not used anywhere
* bump cereal
* also here
2 years ago
Adeeb Shihadeh
ef42652368
fix typo AR0321 -> AR0231 ( #26993 )
2 years ago
Adeeb Shihadeh
f41caec2de
bump cereal, can in qlogs
2 years ago
Kurt Nistelberger
981532f0c3
Laikad preperation ( #26800 )
...
* laikad update, renaming
* update locationd
* address PR comments
* draft to fix replay
* fix process relay to allow no response for messages
* bump cereal
* update process replay ref commit
* move laikad helpers to laika
* fix ublox test
* update refs
* add proper qcom replay support
* fix gnss support if both is available
* update refs
* move laika back to master
* move cereal back to master
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2 years ago
Adeeb Shihadeh
945415981d
Revert "deprecate carControl gas + brake fields"
...
This reverts commit 4b2ecdcce7
.
2 years ago
Adeeb Shihadeh
4b2ecdcce7
deprecate carControl gas + brake fields
2 years ago
Adeeb Shihadeh
151e0d8c39
controlsd: add blinkers to carControl ( #26773 )
...
* controlsd: add blinkers to carControl
* not actuators
* update refs
2 years ago
Shane Smiskol
f36a3664b0
CarController: log steer sent to the car ( #26743 )
...
* log value sent to the car
* rename
* bump
* Update ref_commit
2 years ago
Shane Smiskol
df6bd0f392
cleanup: deprecate lqrState field ( #26745 )
...
* first commit
* clean up
* bump cereal
* revert angle controller
* revert
* clean up
* revert
* bump
* bumptomaster
2 years ago
Adeeb Shihadeh
27dc9c0e79
nav: add mapRenderState.frameId
2 years ago
Adeeb Shihadeh
c3b3c10232
nav: add mapRenderState ( #26734 )
...
* nav: add mapRenderState
* bump cereal
* bump again
2 years ago
Shane Smiskol
d087fab2c0
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>
2 years ago
Cameron Clough
108ff15f5d
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>
2 years ago
Shane Smiskol
5409895ab2
Deprecate noTarget event ( #26638 )
...
deprecate notarget
2 years ago
Shane Smiskol
dbe512d167
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>
2 years ago
Adeeb Shihadeh
9c96b21367
publish experimental mode state ( #26512 )
...
* publish experimental mode state
* remove that
2 years ago
Shane Smiskol
74b6e22a7d
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
3 years ago
Harald Schäfer
f63f0de80a
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>
3 years ago
Adeeb Shihadeh
506a150e73
bump cereal
3 years ago
Bruce Wayne
75b7fd0a7d
Revert "Use calibrator to stabilize wide transform ( #26201 )"
...
This reverts commit 42ef62e391
.
3 years ago
HaraldSchafer
42ef62e391
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
3 years ago
HaraldSchafer
d25ab3e366
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
3 years ago
Shane Smiskol
b1efdab788
Rename gmAccFaultedTemp -> accFaultedTemp
3 years ago
Adeeb Shihadeh
15b8c7d1dc
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>
3 years ago
Shane Smiskol
4e82f68de2
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
3 years ago
Adeeb Shihadeh
6dbfb8e49b
bump cereal
3 years ago
Shane Smiskol
7418678132
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
3 years ago
HaraldSchafer
57a82ced28
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>
3 years ago
Adeeb Shihadeh
3068c48224
add fault for invalid safety RX checks ( #25949 )
...
* add fault for invalid safety RX checks
* just a bool
* bump panda
3 years ago
Kurt Nistelberger
29d3ed2ce6
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>
3 years ago
Adeeb Shihadeh
2384a9ee67
fix autobrightness for OX03C10 ( #25915 )
...
* fix autobrightness for OX03C10
* fix scaling
* use cur ev
* oops
* bump cereal
3 years ago
Kurt Nistelberger
96ed5aa581
Sensor events regen ( #25903 )
3 years ago
Robbe Derks
b3be863671
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>
3 years ago
Igor Biletskyy
53959082e7
boardd: add CAN health to pandaStates ( #25800 )
...
* init
* try this
* mistake
* fix
* bump cereal
* make obvious
* fixes
* remove comment
* one helath header
* ..
* preallocate vectors
3 years ago
Vivek Aithal
b133a4c9a8
regenerate replay segments for torqued ( #25805 )
...
* update segments in test_processes
* bump cereal
* update refs
3 years ago