Willem Melching
19deb98bc3
wshadow: fix comma three build
...
old-commit-hash: 45c506bb17
2021-11-02 17:27:34 +01:00
Mayfield
43e1903073
enable wshadow ( #22756 )
...
* enable wshadow (#22714 )
* fix replay
* more build fixes
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 5246f0231e
2021-11-02 17:08:53 +01:00
Mayfield
18ff2f5cbd
alerts: show min enable speed in "speed too low" alert ( #22755 )
...
* alerts: show min enable speed in "speed too low" alert
* commonize display speed construction
old-commit-hash: 8c501f0265
2021-11-02 14:10:07 +01:00
Dean Lee
5f454307fc
replay: fix qcam download error ( #22777 )
...
* fix qcam download error
* test loading qlog/qcamera
old-commit-hash: 79651b6c49
2021-11-02 11:24:59 +01:00
Dean Lee
526cfdd0fb
replay: print colored text ( #22771 )
...
old-commit-hash: 09858f7f6f
2021-11-02 11:24:45 +01:00
Dean Lee
07ffd9c095
replay: fix frame lag when replaying to the next segment ( #22773 )
...
old-commit-hash: 0a5ca71603
2021-11-02 11:24:12 +01:00
Willem Melching
3a83022853
assert openpilotLongitudinalControl not enabled for Hyundai legacy safety mode ( #22778 )
...
old-commit-hash: 246a52166e
2021-11-02 11:22:38 +01:00
Willem Melching
86e72f88c3
framereader.cc: better avformat_open_input error printing
...
old-commit-hash: f8d050298e
2021-11-02 09:56:49 +01:00
Dean Lee
993aa64067
replay: fix hanging on exit if stream thread has not been started yet ( #22770 )
...
old-commit-hash: 6f78cc77fc
2021-11-01 16:06:39 -07:00
Dean Lee
950211e15f
params: remove obsolete keys ( #22769 )
...
old-commit-hash: 6de66f2832
2021-11-01 14:32:55 -07:00
Willem Melching
0e154a8d5c
Toyota: ensure ACC_CONTROL bytes are the same after opendbc bump
...
old-commit-hash: 3238386a76
2021-11-01 12:07:11 +01:00
Dean Lee
a031b938b0
replay: improve segment download and merge ( #22654 )
...
* no-cache mode
* fix test cases build error
* space
* don't create cache dir in no-cache mode
* fix errors in test cases
* no_local_cache_
* set the number of connections by chunk_size
* use size_t instead of int64_t
* add test case for no-cache mode
* rename variables
* fix SIGSEGV
* cleanup
* faster decompressBZ2
* always decompress bz2
* add test cases
* prepare for python interface
* fix test cases build error
* continue
* camera_replay: cache remote file
* protected inheritance
* single option name
* TODO
* test_case for LogReader&FrameReader
* fix wrong require
* test case for FileReader
* cleanup test
* test:fix wrong filename
* check cached file's checksum
* fix mkdir permissions err
cleanup filereader
* remove initialize libav network libraries.
dd
* abort all loading if one failed
* cleanup tests
* use threadpool to limit concurrent downloads
* cache more segments
* merge 3 segments for replay
* one segment uses about 100M of memory
* use segments_need_merge.size()
* shutdown
* fix stuck if exit replay before keyboard thread started
* load one segment at a time
* small cleanup
* cleanup filereader
* space
* tiny cleanup
* merge master
* cleanup test cases
* use util:create_directories
* cleanup framereader
old-commit-hash: 2b4a477fbc
2021-11-01 11:55:56 +01:00
Willem Melching
3a8fdaba2f
Hyundai: update FW in old format ( #22764 )
...
old-commit-hash: 5b93d44459
2021-11-01 11:51:37 +01:00
Dean Lee
40b2bb9f65
params: code cleanup ( #22744 )
...
* cleanup params
* apply review
* continue
* use c_str
* cleanup filelock
* don't check return code of close()
* remove call_once
* cleanup params_pyx
* cleanup comment
old-commit-hash: 2773ff5ace
2021-11-01 11:22:34 +01:00
Jason Wen
e2e7e68978
Kia (HKG): Add FW for 2021 Kia K5 ( #22753 )
...
old-commit-hash: ea9b93008e
2021-11-01 11:14:49 +01:00
Dean Lee
0ce639aa3c
thneed: use util::read_file to read from the file ( #22757 )
...
old-commit-hash: 07ad6d7444
2021-11-01 11:07:28 +01:00
Dean Lee
15ed1a50a3
replay: fixed the alignment issue when replaying from C3 qcamera ( #22734 )
...
* fix qcamera replay
* fix alignment in replay
* upscale yuv if needed
* remove space
old-commit-hash: 41e5e76596
2021-11-01 11:06:00 +01:00
Adeeb Shihadeh
e0456c4989
Mazda: move CX-9 out of dashcam mode ( #22717 )
...
* move cx9 out of dashcam
* no alc below 28
* process replay route
old-commit-hash: 2252c6bba7
2021-10-31 22:02:36 -07:00
Dean Lee
a602b4a1a0
util:: remove unused funtion base_name ( #22759 )
...
old-commit-hash: 8da3cd3cdd
2021-10-31 13:10:27 -07:00
Andrew
073dbd8d60
add new elantra hev 2021 fingerprints ( #22727 )
...
* add new elantra hev 2021 fingerprints
* add another transmission fp
* Remove duplicates
* Also duplicate
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: b9c4f0c0ff
2021-10-31 13:51:41 +01:00
Adeeb Shihadeh
3f94d894a1
Mazda: fix up cruise cancellation ( #22750 )
...
* also cancel on cruiseControl.cancel
* set counter in button msg
old-commit-hash: 40b7962b93
2021-10-30 13:37:52 -07:00
Adeeb Shihadeh
7a777b2b49
Mazda: send dash alerts ( #22730 )
...
* Mazda: send dash alerts
* no actuators
* ldw
* send alerts
* test
* use cam parser
* add generic toggle
* wip
* revert some stuff
* try that
* steer required works
* cleanup
* bump panda
* little more cleanup
* no lane lines
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 1848fed6e2
2021-10-30 10:56:30 -07:00
Jason Wen
72e27d5cd5
Hyundai: Add FW for 2022 Hyundai Sonata ( #22702 )
...
* Hyundai: Add FW for 2022 Hyundai Sonata
* Update selfdrive/car/hyundai/values.py
* sort engine fw
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 248285d5c5
2021-10-30 15:39:16 +02:00
Dean Lee
b45c79ea7d
boardd: pass std::vector pandas by reference ( #22741 )
...
old-commit-hash: 7486a42935
2021-10-30 15:34:33 +02:00
Adeeb Shihadeh
f5a382ce03
better alerts for temporary EPS faults ( #22747 )
...
* better alerts for temporary EPS faults
* reorder
old-commit-hash: b76ccaac37
2021-10-29 23:20:59 -07:00
Adeeb Shihadeh
57e92b9284
Mazda: car state cleanup + comments
...
old-commit-hash: f9b6b03f5d
2021-10-29 14:40:58 -07:00
Adeeb Shihadeh
421a5db493
controls: don't wind up while EPS is faulted or below min steer speed ( #22739 )
...
* controlsd: don't wind up while EPS is faulted
* also check if above min steer speed
* car params
old-commit-hash: 385f3c5387
2021-10-29 14:13:41 -07:00
Adeeb Shihadeh
d2a6eeae42
lower profile below steer speed alert ( #22740 )
...
old-commit-hash: 3312bf6d15
2021-10-29 13:39:12 -07:00
Adeeb Shihadeh
14ede5d6cd
Mazda: allow engaging below min LKAS speed ( #22737 )
...
* Mazda: allow engagement below minimum LKAS speed
* bump panda
* bump panda
old-commit-hash: 4bbeb27f9b
2021-10-29 13:07:52 -07:00
Dean Lee
724fbebd42
camera_common: new class Debayer ( #21854 )
...
* new class Debayer
* merge master
* pass in cl_event
* needs define, class is not the same
* match clEnqueueCopyBuffer api
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: f7461ed9fc
2021-10-29 16:48:08 +02:00
Dean Lee
5e90a1bc79
config_isp: remove hardcoded buffer size ( #22119 )
...
old-commit-hash: b8be692c1a
2021-10-29 16:05:19 +02:00
Dean Lee
ebffd5f3ad
util: add safe write functions ( #22160 )
...
* add safe write functions
* log error
* bzfile safe_fopen&safe_flush
* update test_case
* trigger ci
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 652c42da2c
2021-10-29 13:23:31 +02:00
Robbe Derks
dbe4641e04
Multipanda support ( #22402 )
...
* squash all PR commits for easy rebase
* merged all panda rx can into one message
* fix buffers in can_send
* more cleanup and minor fixes
* fix even more stuff
* fix non-allocated send buffer
* make connecting more robust
* fix bus offset
* fix controls_mismatch?
* simplify mismatch check
* C++ style struct
* fix connect loop
* update ref
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 585c16cd2a
2021-10-29 13:04:26 +02:00
Willem Melching
0d035f6898
PyQt demo app ( #21625 )
...
* build python helpers lib
* call setMainWindow from python
* put in helper lib
* linter
* move to scripts
old-commit-hash: 25e4e94691
2021-10-29 12:37:17 +02:00
Dean Lee
0afe7d74bc
util: add new function create_directories with unit tests ( #21871 )
...
* util::create_directories
* check bool ret
* don't assume mask
* rename with_umask to no_umask
* remove umask
* rebase master
* rebase master
* 0755
old-commit-hash: 1f39d8cee6
2021-10-29 12:27:35 +02:00
Dean Lee
af7c9ccf6f
replay: build on devices ( #22632 )
...
* there is no QThread::create on device
* add files to files_common
* modify SConscript
* no memory_resouce on device
* #define HAS_MEMORY_RESOURCE
* fix hangs on shutdown
* build on device with the --extra flag
* delete later
* setup -> extras
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: d70e49dca5
2021-10-29 12:21:57 +02:00
Dean Lee
c401d7aff3
loggerd: fix concurrency issues in sync encoders ( #22590 )
...
* sync_encoders
* add variable camera_synced
* cleanup
old-commit-hash: 18caf3535b
2021-10-29 12:21:02 +02:00
Dean Lee
c742e81f3e
framereader: use swscale to handle the YUV conversion ( #22710 )
...
old-commit-hash: 921600b95c
2021-10-29 12:14:14 +02:00
Dean Lee
da6ebc2f9d
remove unused signal displayPowerChanged ( #22719 )
...
old-commit-hash: 3b936aaca9
2021-10-29 12:09:03 +02:00
Willem Melching
88947e50ef
Add 2019 Rav4 engine FW ( #22733 )
...
old-commit-hash: 51c4b3c34b
2021-10-29 12:08:04 +02:00
Jason Young
a399abf438
GM: EPS fault workaround ( #22404 )
...
* seems legit
* panda -> loopback
* fix comment
* add some "why" comments for the next guy
* re-test with stock 50Hz rate
* ugly test
* Update selfdrive/car/gm/carstate.py
Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com >
* update refs
* Update selfdrive/car/gm/carstate.py
Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: b49f518782
2021-10-28 16:54:12 -07:00
Adeeb Shihadeh
67b42fc1a8
Mazda: fix blinker states ( #22718 )
...
* Mazda: fix blinker states
* not lamp
* back to lamp to fix convenience blinkers
old-commit-hash: 2b4a655f36
2021-10-28 14:05:12 -07:00
Adeeb Shihadeh
72d7b40eec
UI: add opensans semibold
...
old-commit-hash: e33cd47b5c
2021-10-28 13:07:39 -07:00
Willem Melching
82ebe9f0ee
nav: support multiple banners in route segment ( #22722 )
...
old-commit-hash: d4433cc2d8
2021-10-28 19:11:29 +02:00
Jason Wen
03fcbc4366
hyundai_enable_radar_points: fix typo ( #22724 )
...
old-commit-hash: 257d2b447d
2021-10-28 19:09:22 +02:00
Willem Melching
8d9783a379
maps: allow using MAPBOX_TOKEN env variable ( #22721 )
...
old-commit-hash: 0ba40954b9
2021-10-28 16:13:44 +02:00
Robbe Derks
39d9bd31b0
Make longitudinal planning triggered on model ( #22641 )
...
* Make long planning triggered on model
* fix process replay
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: efb5abec41
2021-10-28 12:27:09 +02:00
Robbe Derks
a6a2693a1c
Pigeon (ublox) initialization fixes ( #22712 )
...
* add timeout to wait_for_ack
* fix ignition edge detection race condition
* local_ignition -> ignition_local
* gate power_save on !pigeon_active
* millis_since_boot
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 21c4bfc7be
2021-10-28 11:23:19 +02:00
Dean Lee
fd2bc4ce18
Qt/CommaApi: cache private key ( #22715 )
...
* cache private key
* space
* no need to check mtime
* call_once
* simplify
old-commit-hash: 3f4cc9a246
2021-10-27 21:12:00 -07:00
cydia2020
8f824f3b16
Toyota: gate enableDsu on no smartDSU ( #22711 )
...
old-commit-hash: 944578ad09
2021-10-27 11:29:34 -07:00