Commit Graph

4201 Commits

Author SHA1 Message Date
Adeeb Shihadeh 9e94fb17cf fix qcom and qcom2 builds 2021-06-08 16:44:05 -07:00
Dean Lee 0958bd2253 networking: draw network strength without images (#21187)
* draw network strength wighout images

* remove include qpixmap

* space

* lower case

* cleanup
2021-06-08 14:20:08 -07:00
Dean Lee 48696105ae sidebar: draw network strength without images (#21185)
* draw network strength without images

* Trigger Build
2021-06-08 14:17:02 -07:00
Dean Lee c53cb5d570 Use C++ header files instead of C header files. (#21192)
* use cstring instead of string.h

* use cstdio instead of stdio.h

* remove inttypes.h

* use cstdlib instead of stdlib.h

* use cstdint instead of stdint.h

* #include <cstddef>

* cstdlib

* use cmath

* remove stddef.h

* use cassert

* use csignal

* use ctime

* use cerror

* rebase master
2021-06-08 13:46:22 -07:00
Dean Lee 211212f86b FrameReader: use 'from' in std::min comparison (#21195) 2021-06-08 13:32:42 -07:00
Dean Lee 4a74d777f0 Properly set parent for widgets (#21196) 2021-06-08 13:32:10 -07:00
Dean Lee 9e0fb09f9b settings.cc: set parent for network & software panel (#21197) 2021-06-08 13:31:51 -07:00
Nick Eneboe 6e32b13613 Fingerprint for Lexus NX Hybrid 2019 (#21198)
* added Lexus NX Hybrid 2019 engine fw version and included car in readme

* remove 2019 from CAR name in values.py
2021-06-08 13:30:56 -07:00
Dean Lee b06b3ecb60 Use full include path (#21194) 2021-06-08 12:09:30 -07:00
Willem Melching 561f3b3191 nav: show ETA and remaining distance (#21188)
* abbreviate distance

* static values

* update distance

* set eta

* use distance along geometry to compute eta

* add traffic info

* formatting improvements

* remove old

* add using git lfs

* git lfs

* cleanup

* abstract

* bit larger
2021-06-08 16:48:20 +02:00
Willem Melching 0d9c0d602f nav: fix negative bearings 2021-06-08 16:11:20 +02:00
Willem Melching 41c96c99c7 nav: add current bearing to route request (#21186) 2021-06-08 16:00:31 +02:00
Dean Lee e772bbf723 ssh_keys.cc: remove shadowed params (#21184) 2021-06-08 01:57:46 -07:00
Adeeb Shihadeh 1c952e75b5 fix settings buttons not disabling if started with ignition on 2021-06-08 00:15:40 -07:00
Cruise Brantley 22b1db8af0 Add Hyundai Santa Fe 2020 fw versions (#21161)
* updated values for 2020

* removed duplicate esp value
2021-06-07 23:47:35 -07:00
Dean Lee 67fe3feb09 refactor FrameReader (#21141)
* refactor FrameReader

* continue

* move that

* small cleanup

* little more

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-07 23:31:59 -07:00
Camilo Lozano 5dbf1c1e28 Add Hyundai Sonata N-Line 2021 fw versions (#21182) 2021-06-07 22:52:09 -07:00
Adeeb Shihadeh e5ef36786f bump version to 0.8.6 2021-06-07 22:42:58 -07:00
speedking456 f5d9ddc6c2 Add Kia Seltos fw (#21179)
* Kia Seltos updated fingerprint

* updated fpv2

dongle: c75a59efa0ecd502
2021-06-07 17:31:28 -07:00
CrispinFlowerday 7458e143e3 Subaru: show LDW on dash for correct lane (#20934)
* Emit correct alerts for LDW Left & Right on Subarus

This change switches the ldw event to use VisualAlert.ldw and
alters all cars to use the prior behaviour for that alert, except
global subarus - they emit the correct warning to the dash

* Remove whitespace, and add comment about not overwriting stock alerts

Co-authored-by: Crispin Flowerday <crispin@theflowerdays.com>
2021-06-07 15:06:28 -07:00
Adeeb Shihadeh 524aa55b93 fix mpc compilation (#21178) 2021-06-07 15:01:29 -07:00
Adeeb Shihadeh d4ab1f1e27 startup alert for no fw returned (#21177) 2021-06-07 14:15:09 -07:00
Adeeb Shihadeh 29ac94b719 don't write last update time param on pc 2021-06-07 14:07:08 -07:00
Willem Melching 21be443499 Fetch mapbox token from API (#21136)
* delay widget creation until going onroad

* let athena fetch mapbox token

* only tici

* add token

* cleaner

* rename slots

* that was missing
2021-06-07 12:14:08 +02:00
speedking456 24b6b4a341 Add chime to lane changed blocked alert (#21159)
* Update carcontroller.py

* Lane change blocked orange + audible alert

* Actually make it make sound

* Update carcontroller.py

* leave priority the same
2021-06-07 01:38:08 -07:00
Jason Young db83cd7f84 VW MQB: Audi Q2 Mk1 (#21165)
* Add 2018 Audi Q2 (breckler)

* Update README

* Add test route

* Summarized autogratitude

* Revert "Summarized autogratitude"

This reverts commit e308e2afc1f4020528e1643f5da4976715a366da.
2021-06-07 01:34:22 -07:00
Dean Lee 514111ca85 ui.h: const bg_colors (#21169) 2021-06-07 00:04:16 -07:00
jma0 4488df8d1f VW MQB: Add FW for 2019 Volkswagen Golf SE (#21154) 2021-06-06 16:21:16 -07:00
Adeeb Shihadeh f37731b06d small pandad speedup (#21168) 2021-06-06 16:20:39 -07:00
Jafar Al-Gharaibeh 56fbf66c20 Add Mazda 6 and new FW for other models (#21167)
* Add support for Mazda6

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* New FWs and Mazda 6 test route

Change Mazda to MAZDA
Mazda6 test route
CX-5 2018 FW
CX-5 2019 Australia FW
CX-9 2016 FW
Mazda3 2014 FW

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-06-06 14:40:57 -07:00
Jason Young 30b6c1b506 VW MQB: Add FW for 2014 SEAT Leon (#21166)
* Add FW for 2014 SEAT Leon (loetkolben)

* Update README

* Update RELEASES

* revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-06 14:32:50 -07:00
Adeeb Shihadeh f04d6a9b3f log on startup when panda heartbeat is lost (#21151)
* log when heartbeat lost

* bump panda

* bump panda

* add to pandaState

* move that
2021-06-04 23:22:08 -07:00
Adeeb Shihadeh 96271f8bc3 log on startup if onroad flag set (#21150) 2021-06-04 22:04:26 -07:00
eFini 5c450026ef two minor bug fixes (#21134) 2021-06-04 21:20:02 -07:00
Jason Young 3a2893f11a VW MQB: Fix bug with HCA state handling (#21104)
* Improved HCA state and fault handling

* Apparently opendbc does an upper() on everything

* Update EPS HCA init state

* Make initial state "ready"
2021-06-04 19:12:42 -07:00
Adeeb Shihadeh f2a9b13498 bump cereal 2021-06-04 16:06:57 -07:00
Adeeb Shihadeh 7d8480cffe Update VW process replay route (#21142) 2021-06-04 15:29:13 -07:00
Willem Melching 14f09e4ee1 Various nav improvements (#21133)
* various nav improvements

* use traffic aware routing

* read last position from param

* allow compute without gps when no route

* cleanup

* properly hide route

* set pitch
2021-06-04 13:45:42 +02:00
Willem Melching 72199e60d3 add FW versions 2021-06-04 10:37:00 +02:00
Willem Melching de34d1a527 Determine lane chane direction in preLaneChange state (#21119)
* Determine lane chane direction in preLaneChange state

* cleanup

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-04 10:03:13 +02:00
Adeeb Shihadeh 2ddfd82913 limit icon flickering in UI (#21132) 2021-06-03 23:06:14 -07:00
Greg Hogan 6e300aaf57 hyundai: disable steering on all steer warnings (#20657)
* hyundai: set CF_Lkas_ToiFlt for wind down

* hyundai: disable steering on all steer warnings

* Revert "hyundai: set CF_Lkas_ToiFlt for wind down"

This reverts commit 065f0a996db9e52511013c7011ed95876966d134.

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-03 15:34:25 -07:00
Adeeb Shihadeh c76c30fa2d disable uploading raw by default (#21128) 2021-06-03 15:24:30 -07:00
Adeeb Shihadeh 66d01bd847 Remove unused CAN fingerprints (#21124)
* toyota

* honda
2021-06-03 15:22:40 -07:00
ShaneSmiskol 36beaf0d68 Add CLEAR_ON_IGNITION_OFF param type (#21121) 2021-06-03 15:21:53 -07:00
ShaneSmiskol ebc294296a Toyota: Only use gas interceptor under 19 mph (#21101)
* pedal improvements

* pedal tuning under 19 mph, stock tuning above

* Correctly set tuning, and a temporary reference script

* looking good

* use minEnableSpeed

* minEnableSpeed will always be -1 if pedal since it's used for lockout

* add hysteresis around 19 mph for enabling pedal use

* parameterize minAccSpeed (enable speed is -1 when stop and go to allow engage, acc is min limit for acc commands)

* fix Prius later, 5 mph gap around switch speed

* define min_acc_speed in interface and CC

* use pedal gains up to 22 mph, and correctly use hysteresis above the switch speed

* only check this if pedal

* consolidate comment

* Change BP to switch tuning at 19 mph, define global constant

* Start at interceptor status

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* update releases

* typo

* transition tuning from 19 to +3 mph

* change cmd names and update tuning comment

* Update RELEASES.md

* calculate new pedal gains

* little more clear

* even clearer

* same comment convention and hardcode new pedal tune

* bump cereal

* weird, got added in with the rebase

* three possible long tunings: pedal, improved non-pedal, and default non-pedal

* update refs

* future note: don't add submodules when rebasing!

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-03 15:11:10 -07:00
ShaneSmiskol bf0e0ae00b Use hyundaiLegacy safety model for Hyundai Elantra (#21108) 2021-06-03 13:48:54 -07:00
ShaneSmiskol e9e197eb3c Merge Accord trims (#21105)
* Merge unique Accord 1.5 fw versions

* remove all instances of ACCORD_15

* bump opendbc and update dbcs

* Switch between gearbox messages by detecting presence of gearbox msg

* both accord (2t) and accord hybrid use the same gearbox, 1.5t is the outlier

* default to GEARBOX

* add old name to migration

* bump opendbc

* update refs

* change msg name, bump cereal

* Update selfdrive/test/test_routes.py

* update ref

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-06-03 13:35:23 -07:00
HaraldSchafer 1c926d23da Many localizer resets alert (#21116)
* add excessive reset

* add alert

* add event
2021-06-03 09:26:53 -07:00
Josh Smith 77321dbac4 Add type hints, small cleanups (#21080)
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl

* unpack more efficiently

* minor improvements

* agnos.py match spec better

* manual_ctrl test missing queue arg

* fix incorrect type annotation

* queues are generic

* varname reuse resulting in incorrect type inference

* bytes().hex() rather than bytes.hex(bytes())

* a bit of type hinting stuff
2021-06-03 12:21:04 +02:00