Dean Lee
7b3200362b
c++ replay: graceful shutdown ( #22280 )
...
* graceful shutdown
* reset termios
* continue
* call clear in dctor
* unpause
* delete vipc_server
* relase context
* notify_one
* merge master
* merge master
* print vipc stop listen before shutdown down
old-commit-hash: 2253cba98b
4 years ago
Dean Lee
53bec066b6
replay: cleanup console output ( #22410 )
...
old-commit-hash: 29b9c8f13b
4 years ago
Dean Lee
a8c5acb884
c++ replay: publish all frames in CameraServer ( #22378 )
...
* cameraserver
* support yuv
* init camera server in start()
* trigger ci
old-commit-hash: 1eb79d7a59
4 years ago
Dean Lee
2dc5a00e3d
c++ replay: get socket name from capnp::Schema ( #22367 )
...
* get socket name from canp::Schema
* use vector
old-commit-hash: fd801c454a
4 years ago
Dean Lee
66ca3985c9
replay : move utility functions into separate file ( #22414 )
...
* move functions into util
* read bz2 into stream
* pre-decompress log in the download thread
* cleanup logreader
* cache sha256 path
* use readBZ2file in test_logger
* Revert "cache sha256 path"
This reverts commit 60459d3ea09a2c80f4560cf95b1ce7d6af59f06d.
* use macro
* use ostringstream
* cleanup readBZ2File
* move precise_nano_sleep into util
old-commit-hash: d28b98c602
4 years ago
Dean Lee
430e9808b3
c++ replay: more robust seek ( #22375 )
...
* skip invalid segment
* test seek
* fix wrong cur_mono_time when route_start_ts is 0
* don't notify stream thread if current segment not merged
* continue merge next segment if current is invalid
* cleanup seekTo
* continue
* fix seek cross-boundary
* new demo route has 11 segments
* continue
* fix cross-boundary
* cleanup & better test cases
cleanup
remoe &
typo
update comment
* update test
* reserve space for new_events
* parallel sorting
* usleep(0)
* Revert "parallel sorting"
This reverts commit d7d1b42f49944aef0b6ca2962e45a7f5318a1152.
old-commit-hash: fa8ddd992d
4 years ago
Willem Melching
5aa9a8e217
safety_setter_thread: exit on ignition low ( #22426 )
...
old-commit-hash: 3e854b8351
4 years ago
Dean Lee
ca45a040fc
boardd: wait for safety_setter_thread to finish while quitting panda_state_thread ( #21961 )
...
* rebase master
* merge master
* merge master
* remove space
old-commit-hash: 47f601e50a
4 years ago
Willem Melching
a16e2fba2a
ui: only update ignition when panda is connected ( #22425 )
...
old-commit-hash: 009e37e797
4 years ago
Willem Melching
11066c6236
Split pandaState into peripheralState and pandaState ( #22385 )
...
* publish peripheralState from boardd
* refactor consumers
* rename thread
* peripheralState has panda type too
* add to process replay
* fix device build
* properly remove hardware unsupported alert
* latest peripheralState
* remove pandaState from thermal_monitor
* put that back
* add back harness check
* fix cloudlog
* needs pandaState
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* dont conflate
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* pigeon is peripheral
* cleanup
* less global
* comment
* move rtc to peripheral_control_thread
* better diff?
* whitespace
* get msg
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f4e2537b12
4 years ago
Willem Melching
10d0b511b5
ui: make OpenGL context current before connecting to VisionIPC
...
old-commit-hash: 9c771b45fc
4 years ago
qadmus
810e859169
Lateral PID: move steer feedforward to CarInterface ( #22411 )
...
* move steer feedforward to car interface, in car parameters
* LatControlPID.get_steer_feedforward()
old-commit-hash: 3461e25944
4 years ago
Jason Young
bc3f8d9cb3
VW MQB: Add FW for 2018 Volkswagen Passat ( #22418 )
...
old-commit-hash: e98d125811
4 years ago
Dean Lee
0a1fa4fa7b
replay/segment: std::atomic member variables ( #22409 )
...
old-commit-hash: a6da064a93
4 years ago
Adeeb Shihadeh
408273df05
update useradmin url
...
old-commit-hash: c11be0f49a
4 years ago
Kamil Klimkiewicz
e0960b25a3
Add fingerprint for 2019 Honda Civic Hatchback ( #22400 )
...
Honda Civic Hatchback 1.0T Elegance (Europe - Poland)
old-commit-hash: 2ab0d52fda
4 years ago
grekiki
2ea151be3c
C++ replay cache folder path / fix ( #22396 )
...
old-commit-hash: 4c7acf680c
4 years ago
Greg Hogan
a131767d0b
accel/decel button short/long press 1mph/5mph ( #22013 )
...
old-commit-hash: 92895f1e68
4 years ago
Willem Melching
4680b6f940
Don't send empty pandaState from panda_state_thread ( #22393 )
...
old-commit-hash: abaa7b2d55
4 years ago
Adeeb Shihadeh
a4bc663ae5
agnos 2 ( #22390 )
...
* agnos 2
* release notes
old-commit-hash: 29b2a7d20b
4 years ago
Adeeb Shihadeh
361ee0e83c
UI: auto wide detection on PC ( #22392 )
...
* UI: auto wide detection on PC
* invert width
* cleanup
old-commit-hash: 23ae67bbf9
4 years ago
Jason Wen
3f2e0fc70b
UI: whitespace fix ( #22383 )
...
old-commit-hash: e797439c5f
4 years ago
Jason Wen
5c5ca61e4b
HKG: Car Port for 2021 Kia K5 ( #22347 )
...
* HKG: Kia K5 2021 Car Port
* Update CARS.md and RELEASES.md
* Add test route: Kia K5 2021
* Update firmware format due to recent query change
* Update CARS.md: not all 2021 Kia K5 have SCC
* Update test_routes.py
old-commit-hash: 6018bda2ba
4 years ago
Adeeb Shihadeh
26e39eb441
UI: big pairing QR code ( #22384 )
...
old-commit-hash: 45409cb4fe
4 years ago
Jason Young
86eece08bb
VW MQB: Add FW for 2013 Volkswagen Golf ( #22388 )
...
old-commit-hash: b289ee6e53
4 years ago
Willem Melching
f4ac70557b
tools: make auth optional for public routes ( #22386 )
...
* tools: make auth optional for public routes
* handle 403
* show warning from c++ replay
old-commit-hash: a31c6ce3f9
4 years ago
Adeeb Shihadeh
4852437483
update demo route ( #22381 )
...
old-commit-hash: dd67dc6b34
4 years ago
Willem Melching
8aa225b3f9
move acados deps out of devpackages ( #22376 )
...
* move acados deps out of devpackages
* fix new pylint errors
old-commit-hash: a60f3c6a35
4 years ago
HaraldSchafer
d91e0604e8
Change radar-based FCW to model-based FCW ( #22379 )
...
* just use MPC for fcw checking
* thats already bad
* model FCW is always good
* better fcw
* should be good for now
* comment
* linting
* cleaner
* unused
old-commit-hash: a8b4249ebc
4 years ago
Adeeb Shihadeh
74f3f4ab1a
agnos updater: support non-sparse images ( #22371 )
...
* print progress for all partitions
* noop generator
* less spammy
* cleanup
old-commit-hash: 425020a849
4 years ago
Willem Melching
a3378ce0f7
replay: fall back to qlog ( #22362 )
...
old-commit-hash: b7c64542f4
4 years ago
Willem Melching
04e5fdb931
replay: send frames based on encodeIdx packet ( #22361 )
...
* send frames based on encodeIdx
* use start of frame time if set
* also use end of frame if set
* fix timestamp for encode packets
* handle all cameras
* add comment
* add twice
old-commit-hash: 6881688af2
4 years ago
Dean Lee
e5d79759ff
c++ replay: more accurate sleep ( #22348 )
...
* precise sleep
* cleanup
* continue
old-commit-hash: 318a8ba854
4 years ago
Robbe Derks
04d8197e1c
higher offroad danger temp for tici ( #22363 )
...
old-commit-hash: 664d48fd5e
4 years ago
martinl
989af0a6b0
Subaru: update brake pressed signal ( #21012 )
...
* Change Global brakePressed to Brake_Status Brake signal
* Add Brake_Status Brake signal and check
* bump panda
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4c45e90722
4 years ago
HaraldSchafer
f02787eb75
Small long MPC optimizations ( #22360 )
...
* Revert "temporarily relax camerad timings"
This reverts commit 59b8293b70e0cbd43567275dc2c6c1d29308fb84.
* cleanup
* wrong weight size
* changes ever so slightly
* seems enough
* Revert "seems enough"
This reverts commit 24f64e9b18583462206bb77c37ba7727b9e47245.
* new ref
old-commit-hash: 85dc43d166
4 years ago
Adeeb Shihadeh
f46faf7fdc
honda nidec: fix no acceleration with pedal ( #22368 )
...
old-commit-hash: 4c0b82308d
4 years ago
Adeeb Shihadeh
a4194021bd
controls: only send cruise cancel while cruise is enabled ( #22359 )
...
* controls: only send cruise cancel while cruise is enabled
* cleanup
* might actually do something
* update refs
* update refs again
* update refs
old-commit-hash: 3b8fa4b7fd
4 years ago
cto424
ccada96972
2021 Hyundai Sonata engine FW ( #22355 )
...
* Update values.py
* Apply suggestions from code review
* Also duplicate
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: d95641a594
4 years ago
Dean Lee
48e07756a2
c++ replay: improve seeking&updating events ( #22319 )
...
* improve seeking
* qDebug
* cleanup
* wait on cv
robust
* Trailing underscores for member variables
* group log variables
* small cleanup,remove unnecess std::atomic
* remove debug output
* fix seek problem
* add comment
* better lambda
* faster seek.don't block stream thread if segment already loaded
* remove assert
old-commit-hash: a548d4b5b8
4 years ago
Dean Lee
9fae8b50f3
c++ replay: chunking and concurrent downloads ( #22308 )
...
* download segment files by chunks in multiple threads
* remove easy_handl on aborting
* add test cases
* better error handling
* update test
* cleanup
* add CURLGlobalInitializer
* check http code
* finish
old-commit-hash: 4e6ff308a8
4 years ago
smithula
5e1740c09c
Add Firmware 2021 Hyundai Sonata Hybrid ( #22353 )
...
* Update values.py
* Update values.py
* Update selfdrive/car/hyundai/values.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 8096da1dcd
4 years ago
Dean Lee
bac9a01cb2
load d/e camera by command line flags ( #22341 )
...
old-commit-hash: e888a7e939
4 years ago
HaraldSchafer
2b470f4e38
acados long merged ( #22224 )
...
* rebased
* cleaner, seems to drive better?
* more stable
* wrong import
* new way of thinking
* reports look nice
* start move back
* works at leas
* good timestamps
* step by step
* somewhat work
* tests pass
* ALL CARS STOPPED
* should work
* fake a cruise obstacle
* cleaner costs
* pretty good except cruise braking
* works pretty well now!
* cleanup
* add source
* add source
* that is needed for unit tests
* nan recovery
* little cleaner
* stop wasting arrays
* unreasonable without unfair init
* this isnt needed without the exponential
* that works too
* unused
* uses less
* new ref
* long enough
* e2e long api
* DONT PUT IN A VIEW INTO ACADOS
* new ref for outside weights
* remove debug prints
old-commit-hash: fe983a7b8c
4 years ago
Jason Young
654695809f
VW MQB: Fix min steer speed alerts ( #22358 )
...
old-commit-hash: f03ee4599e
4 years ago
ikawaoka
23b6691533
Add Prius prime 2017 FW versions ( #22350 )
...
old-commit-hash: ed5644fc1a
4 years ago
Jason Young
5ad776f4a1
VW MQB: Improve auto network location detect ( #22351 )
...
old-commit-hash: 0630c42602
4 years ago
John Belmonte
0945ba6d17
honda: replace hard-coded address for STEERING_CONTROL check ( #22352 )
...
old-commit-hash: 29edd56049
4 years ago
Erich Moraga
e8a5dbb997
Add missing COROLLAH_TSS2 engine f/w ( #22346 )
...
`emerson#6018` DongleID 4907c31e2bc2b77b
https://discord.com/channels/469524606043160576/524592892627517450/891336882485608559
old-commit-hash: 98ee53618d
4 years ago
Willem Melching
03da450865
Improve Hyundai FW query stability ( #22344 )
...
* extend timeout on valid response
* extend total timeout in fw query
* redundant query
* cleanup
* add 2 new sonata fw
* add cloudlog
* total timeout always 10x
* update ref
* time.monotonic()
* more logging
old-commit-hash: 2d7d8fba99
4 years ago