sshane
9c994173ed
Longcontrol: do not clip vEgo to minSpeedCan ( #22832 )
...
* fix tss2 slow reacceleration in sng
(should) preserve stopping behavior
add comments since it's confusing
fix
* Revert "fix tss2 slow reacceleration in sng"
This reverts commit 42abde0eb945d8bc5ad9b502d1d89b3e3dc16f8a.
* don't max(vEgo)
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: bdaea086f8
4 years ago
Willem Melching
8797c043bd
nav: check valid flag on PositionGeodetic measurement ( #22858 )
...
old-commit-hash: 306df7f94f
4 years ago
Greg Hogan
15a58247dd
profiling: replace pyflame with py-spy ( #22864 )
...
* py-spy
* remove pyflame
* find process by name
old-commit-hash: caad4919ac
4 years ago
Adeeb Shihadeh
a142638899
increase engagement alerts duration
...
old-commit-hash: 327464fb84
4 years ago
Jafar Al-Gharaibeh
29528bdcb0
Mazda: fix occasional main cruise disable ( #22807 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: b18661a3a6
4 years ago
Adeeb Shihadeh
d6c42f11f4
controlsd: alert on cruise mismatch for >1s ( #22841 )
...
* controlsd: alert on cruise mismatch for >1s
* bump cereal
* update refs
* bump allowed soundd cpu
* bump cereal
old-commit-hash: 035bc0c20f
4 years ago
Adeeb Shihadeh
448d5f9e93
alerts: use a single duration for sound, text, and HUD ( #22856 )
...
* alerts: use a single duration for sound, text, and HUD
* little cleanup
* update refs
old-commit-hash: c5d6b85c90
4 years ago
Adeeb Shihadeh
450471058b
controlsd: optimize alert management ( #22846 )
...
* controlsd: optimize alert management
* little cleanup
* dataclass is nice
* fix tests
* update refs
* sort by start frame
* update refs
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 93ba52c76c
4 years ago
Jason Young
a283e88f37
Fix momentary false blind spot alerts when changing lanes ( #22819 )
...
* reset LaneChangeDirection after finishing
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 2006fff2b6
4 years ago
Willem Melching
c11eeb6c80
RobustLogReader that can recover corrupted bz2 files ( #22835 )
...
* LogReader with bzip2 recovery
* only rlogs
* add comment
* plotjuggler should also use robust logreader
old-commit-hash: 6d6f989b7f
4 years ago
Willem Melching
669ed5ff2b
Put journal and nvme stats in bootlog ( #22849 )
...
* Run commands and put output in bootlog
* log nvme
* fix indent
* cereal without event
* use regular array
old-commit-hash: fa0cbe5d40
4 years ago
Willem Melching
d6c860cb0a
cache prime status in param ( #22850 )
...
old-commit-hash: 6ace88a0f1
4 years ago
Willem Melching
8075022d8e
modem.Command timeout is in seconds ( #22851 )
...
* modem.Command timeout is in seconds
* getting tempts needs longer timeout
old-commit-hash: 14f0df0f22
4 years ago
eFini
ad64b505fe
ui.cc: fix Hardware::TICI() check for screen brightness ( #22847 )
...
old-commit-hash: 1f106e3725
4 years ago
HaraldSchafer
caa01d2f95
ACADOS: partial condensing ( #22830 )
...
* partial condense
* new refs
* new ref
* newerest refs
old-commit-hash: 35d6ed1014
4 years ago
Dean Lee
2bbceb0b29
EGLImageTexture: pass nullptr to glTexImage2d in last argument ( #22844 )
...
old-commit-hash: b0f9365295
4 years ago
Erich Moraga
efcd62fe86
Add missing LEXUS_RX_TSS2 EPS & engine f/w ( #22840 )
...
old-commit-hash: 09514fb8e5
4 years ago
Adeeb Shihadeh
da7cd6bbaa
soundd: don't loop controls unresponsive sound infinitely ( #22839 )
...
* soundd: don't loop controls unresponsive sound infinitely
* update tests
* actually fix
old-commit-hash: 445a5aaca4
4 years ago
Jafar Al-Gharaibeh
6c74dc1366
Mazda: disable hud alerts until we find a way to silence audible alerts ( #22808 )
...
* Mazda: disable hud alerts for now until we find a way to silence audible warnings
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda: add hud alert for steer lockout
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* show when above min steer speed
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2621e5301d
4 years ago
Adeeb Shihadeh
595af5ca4a
update soundd cpu usage
...
old-commit-hash: 03ab8af12f
4 years ago
Vivek Aithal
6bc1c7b502
locationd: Make live_kf robust to no GPS ( #22774 )
...
* add no gps observations
* use correct ecef_location, orientation vals and stds for nogps states
* remove earth radius obs
* move initial loc to the ocean
* remove unnecessary changes
* update refs
old-commit-hash: 5c810a45b0
4 years ago
Dean Lee
c1a3683ccb
soundd: misc cleanup + tests ( #22796 )
...
* pass AudibleAlert to setAlert
* apply reviews
* remove trailing underscore
* add current_alert_type
* common function get_alert
* same freq as ui
* small cleanup
* setvolumne on change
* static Alert::get
* test_sounds
* remove old test files
* loop twice
* assert loopsRemaining
* assert stop
* init to min_volumne
* Revert "remove old test files"
This reverts commit 12e8bfefae1ae7f8649d3eda1e4126ff8eb1fe17.
* move to ui/soundd
* move test to tests/test_sound.cc
* remove old tests
* cleanup
* lower volume
* Revert "remove old tests"
This reverts commit e6bb12abfa
.
* return Alert
* cleanup
* remove #include <optional>
* cleanup .gitignore
* revert to std::optional
* Revert "revert to std::optional"
This reverts commit a66291c51f
.
* cleanup
* remove volume check
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 797bb1acb0
4 years ago
Dean Lee
1e67fc25f1
replay: add qcam and YUV flags ( #22788 )
...
* common flags
* cleanup
* remove double semicolon
* camera
* apply reviews
old-commit-hash: fb8ba34f31
4 years ago
Dean Lee
c248478aed
UI: do vipc recv in thread ( #22354 )
...
* move vipc to thread
* use invokeMethod
* cleanup
* latest_frame = nullptr
* space
* safe quit
* running_-> exit_
* recv timeout 1000
* cleanup
* run in loop
* requestInterruption
* block queue on vipcConnected for thread safety
* cleanup
* remove unused signal updateFrame
* make signals public
* dont emit signal in update
* apply reviews
* cleanup
* little more cleanup
* fix
* use glTexSubImage2D
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6e5fed63df
4 years ago
smithula
82236f3a78
Hyundai: add Sonata Hybrid FW ( #22816 )
...
old-commit-hash: 96a4a2886c
4 years ago
Robbe Derks
149267c031
Tesla: steerWarning on EPS error ( #22834 )
...
old-commit-hash: fee8ec74f1
4 years ago
Dean Lee
48ed0e129e
loggerd/RawLogger: fix memory leak in encode_frame ( #22826 )
...
old-commit-hash: 0bd9aed82c
4 years ago
Adeeb Shihadeh
4e14bb0b38
bump eon roadCameraState timing threshold
...
old-commit-hash: ec935ef1c3
4 years ago
Jafar Al-Gharaibeh
24d1105a2a
Mazda: fix occasional steer fault at initial lkas enable ( #22806 )
...
* Mazda: fix occasional steer fault at initial lkas enable
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8c38e9c49e
4 years ago
Adeeb Shihadeh
c2a413a2f4
Remove remaining Toyota + Honda CAN fingerprints ( #22827 )
...
old-commit-hash: 8933859e35
4 years ago
sshane
8472503305
Toyota: handle brake hold ( #22810 )
...
* disallow engagement if brake hold active
* we can check once
* move to common events
revert
* fix
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a0e5eccb70
4 years ago
robin-reckmann
8c9ab4d333
Fingerprinting v2 support for Nissan vehicles ( #22655 )
...
* Add Nissan FPv2
* Update Nissan version response
* Add second Nissan FPv2 query
* Add multiple offsets for Nissan
* Nissan offset fix
* Add Nissan diagnostic request
* Use 21 83 for Nissan version request
* Add partial 2018 Leaf FPv2
* Update 2018 Leaf FPv2
* Nissan FPv2: more RX offsets, add no diagostic request scan for 0x20
* Add FPv2 imports to Nissan values
* Change LEAF to LEAF_IC
It is an instrument cluster leaf. With this minor change it works :).
* fixed ecu addr for nissan eps
* Remove FW not used for fpv2
* Remove unused offsets
* add fw versions for 2018 Nissan Leaf JP
* add standard ecu fw query
* add esp fw
* add nissan xtrail
* Add missing ESP FW for 2018 Nissan Leaf IC
* Add fwdCamera FW for Xtrail 2017
* add missing comma
* Add 0x8 default offset
needed e.g. for xtrail engine ecu
* Apply suggestions from code review
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Fix variable naming
* remove unnecessary part of standard fw query
* add fw versions for CAN-GW ECU
* transmission eco does not reliable answer -> remove
* add Altima FWs (part 1)
* add Altima EPS FW
* Remove NISSAN_KWP_DIAGNOSTIC_REQUEST and cleanup
* Revert "Remove NISSAN_KWP_DIAGNOSTIC_REQUEST and cleanup"
This reverts commit 808d6f1562
.
* cleanup
Co-authored-by: Martin Lillepuu <martin@mlp.ee>
Co-authored-by: Julian Pieles <julian@pieles.digital>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e2288371f2
4 years ago
Dean Lee
6e027a8aa6
util.h: add unit conversion constants ( #22813 )
...
* Add unit conversion constants.
* move to common/util.h
old-commit-hash: e29cc1c2ee
4 years ago
Jason Young
b6294132af
VW MQB: Volkswagen Polo Mk6 ( #22811 )
...
* VW MQB: Volkswagen Polo Mk6
* add to RELEASES
old-commit-hash: 053404c878
4 years ago
Dean Lee
4411f90df0
driving.cc: const reference the return value of get_best_prediction ( #22797 )
...
old-commit-hash: fe22a3563c
4 years ago
Adeeb Shihadeh
b2bd93fba0
remove toyota can fingerprinting exceptions ( #22803 )
...
* remove toyota can fingerprinting exceptions
* cleanup
old-commit-hash: d8f5e8b7a4
4 years ago
Robbe Derks
a854ed8ea3
extend fingerprint for multipanda ports ( #22798 )
...
old-commit-hash: 6bef60ddf5
4 years ago
Willem Melching
9539fee341
soundd: Set volume on receiving carState ( #22795 )
...
old-commit-hash: 6d9b414c20
4 years ago
cydia2020
02f6ca414a
Toyota: Increment by 5 km/h (5 mph) on long press ( #22678 )
...
* Allow 5km/h speed increments on Toyota
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d66f0fcc87
4 years ago
Willem Melching
9d65df9048
util.h has conflicting ioctl def on comma two
...
old-commit-hash: c2b95ca6a1
4 years ago
Dean Lee
6677f91e9d
thneed/serialize: use funtions from clutil( #22760 )
...
old-commit-hash: 177c3b89b6
4 years ago
Dean Lee
7ff2217c8b
util: remove function to_hex ( #22792 )
...
old-commit-hash: ff33ca3413
4 years ago
Mayfield
72c892e014
ui: render markdown in release notes ( #22754 )
...
* convert release notes from markdown to html
* fall back to previous behavior if utf8 decoding or markdown parsing throws
* make simple markdown parser to avoid needing a library
* add unit test
* move markdown parser to common. add unit test
use `markdown-it-py` instead of `markdown` dependency for test comparison since it's already in Pipfile.lock
* test (almost) all release notes and add some extra html encoding
* update lock
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1aebe6ff6e
4 years ago
Willem Melching
ef6ae61c5e
make soundd exit cleanly ( #22794 )
...
old-commit-hash: 1289ebe9bd
4 years ago
justinmccaffrey
bba8594f74
Add 2021 Honda Passport ( #22781 )
...
* update values.py
* add passport to carstate, interface, values
* add a test route with mostly green
* switch to newer route
* update readme
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 28e16c7b84
4 years ago
Willem Melching
6712c4e520
soundd doesnt exit cleanly
...
old-commit-hash: 802efe0e22
4 years ago
Dean Lee
0b73c09488
ui/MainWindow: remove emit keyword on slot ( #22790 )
...
old-commit-hash: dd1531af96
4 years ago
Willem Melching
dc3075790e
Move navigation into separate daemon ( #22767 )
...
* Add navd folder
* prints route instructions to console
* broadcast NavInstuction without lanes
* show basic instructions and eta
* parse out lane info
* use swaglog
* clip distance on ui side
* draw lane directions
* show route
* add to process config
* add to release files
* small cleanup
* show route without gps
* pop open map on initial route
* fix error messages around no gps
* done
* make persistent process
* handle end of route
* clear route on offroad
* only one timer
* fix layout hacks
* explicit rendering at 20Hz
old-commit-hash: bef686f275
4 years ago
Adeeb Shihadeh
08a11cdf84
soundd: use offscreen platform to avoid initialzing gpu stuff
...
old-commit-hash: b7394c6171
4 years ago
Willem Melching
19deb98bc3
wshadow: fix comma three build
...
old-commit-hash: 45c506bb17
4 years ago