Commit Graph

3951 Commits

Author SHA1 Message Date
robbederks cdfba105ed Tesla AP2 port (#20074)
* squashed the PR

* remove AP passthrough

* disengage on steer override

* bump panda

* add test routes

* bump panda

* tesla is still dashcam only

* dashcam only

* rerun CI

* add to release files
2021-06-23 14:56:59 +02:00
Willem Melching 7e6a9ce9a5 nav: cleanup errors and wait for map to be loaded (#21381)
* Cleanup errors

* prevent flicker
2021-06-23 14:33:27 +02:00
Willem Melching 38380612d5 tici: toggle wwan when stuck registered 2021-06-23 12:40:21 +02:00
Adeeb Shihadeh 54c2292b41 log network info on neos (#21375)
* log network info on neos

* log earfcn

* cleanup

* capn

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-06-22 17:15:18 -07:00
Adeeb Shihadeh 42f9d1b46f update pycapnp to v1.1.0 (#21371) 2021-06-22 14:57:13 -07:00
Dean Lee 766f3281bb fix FileLock: fd could be closed twice (#21362) 2021-06-22 14:05:48 -07:00
Dean Lee ac71384a28 util.cc: refactor read_file (#21350) 2021-06-22 13:48:41 -07:00
Dean Lee c9d4dfe99f DevicePanel: set specific stylesheet for reboot & poweroff buttons (#21364)
* set specific stylesheet for reboot&poweroff buttons

* remove hack

* fix css in network panel
2021-06-22 13:24:55 -07:00
Willem Melching 2e3aa81ce5 revert changes to boardd safety mode setting 2021-06-22 18:44:55 +02:00
Willem Melching a8fac002ae Honda Bosch longitudinal prerequisites (#21217)
* untested changes

* set compute_gb

* community feature for good measure

* add code for rolling backwards

* init needs CarParams

* stay in elm mode until carParams is written

* fix tester present bus number

* fix can errors

* fix enableCruise flag

* print when radar disable is done

* move retry logic to controlsd

* move lookup table into carcontroller params

* cleanup brake error values

* make init return

* that should be 1

* floats

* back to no failure handling

* try simplify knockout

* bump panda

* Move flags to panda

* add warnings

* Revert "try simplify knockout"

This reverts commit 4f496245791ea6bd041d4412b96035c6b434b91c.

* add note about LoC.long_control_state

* update ref
2021-06-22 16:28:11 +02:00
Willem Melching 698b9af8a9 model benchmark disable static analysis 2021-06-22 16:07:15 +02:00
Willem Melching c3561cc0e1 No more polyfit 2021-06-22 16:05:42 +02:00
Willem Melching abdba9c732 bump panda 2021-06-22 15:30:04 +02:00
Willem Melching 68e562454e tici: log stuck registered 2021-06-22 15:29:02 +02:00
Willem Melching febdc39d2d nav: map color match offroad color scheme 2021-06-22 14:57:57 +02:00
Willem Melching a5f65c12f7 nav: route color match explorer 2021-06-22 13:34:47 +02:00
Willem Melching cb8b970788 nav: fix uturn icon fn 2021-06-22 13:27:58 +02:00
Willem Melching c21ea8b506 nav: home/work shortcuts (#21276)
* add home/work widgets

* remove todo

* set contents from response

* turn into buttons

* add navigate button

* fix includes

* close settings on nav press

* close sidebar when closing settings

* use live api endpoint

* larger fonts

* more text fits

* only place name

* remove static response

* properly clear
2021-06-22 13:25:22 +02:00
Willem Melching a5112bfb2e nav: give word wrapped widgets a fixed width 2021-06-22 13:24:11 +02:00
Willem Melching 9159094b62 add env variable for wider ui 2021-06-22 11:14:44 +02:00
Willem Melching 64e4294b04 nav: bump font size by 25% 2021-06-22 10:46:01 +02:00
sshane a3a8fa9eac Scan for networks on UI init (#21310)
* refresh on UI init

* scan and wait for signal from networkmanager to update

* fixes incorrectPassword never triggering on known connections

* Update UI on connect state change

* pause timer on leaving networking

* no need to update adapter state on init

* uses AccessPoints signal

clean up

clean up

* Revert "uses AccessPoints signal"

This reverts commit 534219857a10dc200f979e1a66705ac13ca68698.

* perform non-blocking scan on first start only

* suggestions

* forgetNetwork already checks this

* Prevent double refresh on connect interaction and revert timer change

* Should fix nm is inactive error

* Revert "Should fix nm is inactive error"

This reverts commit 36a7ad098b713ae7e17cf1a8d717455ecdd29e2b.

* Fixup original timer code. could be cleaned up, but works

* use WifiManager's firstScan

* no more force!

* fix after rebase

fix after rebase

* scan for next update (seems clearer this way)

* see how responsive device is at scanning, PC is taking up to 15 seconds

* clean up and check ifVisible for scanning and UI updating

* explicitly define relationship since it's not called in Networking any more
2021-06-21 20:55:55 -07:00
ZwX1616 09de331f18 tici patch 2021-06-21 20:18:16 -07:00
Chris McCammon d92a1a4799 add car harness as checkbox in car port (#21367) 2021-06-21 19:02:17 -07:00
Adeeb Shihadeh 2dc7cc6d08 add elantra hybrid to release notes 2021-06-21 16:04:11 -07:00
Andrew 9124a83900 2021 Hyundai Elantra Hybrid port (#21354)
* add support for hyundai elantra hev 2021

* add car to README. adjust tuning params.

* adjust weight

* update fingerprint with value from remote start

* update fingerprint to value of BEFORE getting in car (more reliable)

* add fingerprint v2

* remove fingerprint 1.0

* add test route

* Update README.md

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

* Update selfdrive/test/test_routes.py

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

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-21 16:03:19 -07:00
Adeeb Shihadeh 687560fc98 agnos 0.19 (#21365) 2021-06-21 15:39:13 -07:00
Willem Melching 28694041d5 nav: update no gps text 2021-06-21 19:21:58 +02:00
Willem Melching 6ca0861360 nav: banner add stretch to fix label size 2021-06-21 18:53:19 +02:00
Willem Melching a3b155839b Nav: ETA layout improvements (#21361)
* bold and more space

* rounded corners

* oneline

* center

* fix am/pm

* revert width change
2021-06-21 17:23:44 +02:00
Willem Melching c60f5ab6f6 nav: clear last_banner on no gps 2021-06-21 17:04:57 +02:00
Willem Melching e4e67985d6 Nav: No GPS warning (#21359)
* Nav: No GPS warning

* optional
2021-06-21 15:50:23 +02:00
Joost Wooning dd959412e3 Change QR code to url for pairing with both explorer and connect (#21314) 2021-06-21 13:57:13 +02:00
Alfonso Hernandez 22b632f407 Simulator: Complete GPS message from Carala State Values (#21357) 2021-06-21 13:52:46 +02:00
Willem Melching ebe9f32a27 disable roaming 2021-06-21 11:29:53 +02:00
Dean Lee 2433cb28bb onboarding: small cleanup (#21351) 2021-06-20 18:59:49 -07:00
nepro012 56d5db5766 README typo correction (#21356) 2021-06-20 18:59:24 -07:00
John Belmonte 3f2722a7c6 Add Toyota C-HR Hybrid FW versions (#21341) 2021-06-19 21:34:34 -07:00
Dean Lee 175506532f OffroadHome: merge stylesheets (#21312)
* merge stylesheet

* css:target #alert_notification button

* Update selfdrive/ui/qt/home.cc

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-19 16:10:10 -07:00
Willem Melching 9086c377e2 Fix triangle size (#21332) 2021-06-19 11:21:54 +02:00
Dean Lee 8da538c18c Refactor ModelFrame struct to class (#20005)
* refactor modelframe

* remove DUMP_YUV

* use constructor/destructor instead of init/free

* OMG...should be clEnqueueReadBuffer

* rebase master

* rebase master

* fix build

* small cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-19 01:22:50 -07:00
Dean Lee 9ebfc2ba8d HttpRequest: move http cache to RequestRepeater (#21228)
* move cache from HttpRequest to RequestRepeater

* apply review
2021-06-18 23:47:23 -07:00
sshane 26343951c9 Fix forget network button on tethering connection (#21340) 2021-06-18 22:41:51 -07:00
sshane 290e9fb9f6 UI: forget button and security type icon (#21320)
* forget and security buttons first draft

* Text left margin closely matches other panels

* add lock label

* implement new icon

* actually add icon

rename

* smaller lock icon

smaller icon

* better
2021-06-18 21:14:26 -07:00
Nelson Chen 4a22dd6dfb Add 2021 Avalon Hybrid Fingerprint (#21338)
* Add jamil_hamida#1630's Fingerprint to AVALONH_2019

* Add 2021 Avalon Hybrid to README
2021-06-18 19:50:48 -07:00
HaraldSchafer a3071bf15b Update car_kf.py 2021-06-18 17:57:42 -07:00
Dean Lee 8781f586c5 UI: refactor onboarding (#21223)
* refactor onboarding

* skip training guide if is dashcam

* apply review

* cleanup include

* move public ctro up

* slots is private

* cleanup headers

* set style sheet in onboardingwindow

* rebase master

* match ui

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-18 16:01:22 -07:00
Erich Moraga 66035ccac9 Add PACIFICA_2020 fingerprint (#21106) 2021-06-18 15:52:58 -07:00
Adeeb Shihadeh cefbd6734e build.py: don't hang on text window in CI (#21335) 2021-06-18 15:37:53 -07:00
Dean Lee 85f134da6a CommaApi: class to namespace (#21329) 2021-06-18 15:01:56 -07:00