Commit Graph

2684 Commits

Author SHA1 Message Date
Willem Melching
6e22f16ddb loggerd: put signal in end of route sentinel (#21025) 2021-05-25 17:34:40 +02:00
Willem Melching
ba5d6bbd70 manager.py: fix UNREGISTERED_DONGLE_ID check (#21027) 2021-05-25 17:26:25 +02:00
Willem Melching
62545f6c2b fix test_fw_query_on_routes.py 2021-05-25 13:25:42 +02:00
dingyf12593
a6cfe90436 VW MQB: Add FW values for 2018 Volkswagen Golf (#21020) 2021-05-25 12:37:23 +02:00
Adeeb Shihadeh
726fb9d501 Move CAN fingerprinting behind community features (#20993)
* Move CAN fingerprinting behind community features

* fix typo

* fix startup test

* fix
2021-05-24 19:21:58 -07:00
Jason Young
df93263a81 VW MQB: Rescue some FPv1 stragglers (#21019)
* Add FW, model-year for Audi A3 (Flyer)

* Add FW for 2016 Passat B8 (jwebb)
2021-05-24 19:17:51 -07:00
Dean Lee
5540dcae78 Refactor FrameReader (#21002)
* Refactor FrameReader

* decodeThread

* delete frame

* remove joined

* continue

* less diff

* robust cv wait

* cache fist 15 frames

* notify_all

* rename variables

* need call avformat_find_stream_info before dump_format

* get width&height from codec

* use std::string

* delete in removeSegment

* use std::mutex in lockmgr_cb

* fix wrong min/max

* no get in process

* cleanup

* always notify decodeThread to do prefetch
2021-05-24 17:01:15 -07:00
martinl
aa0c2a1e7f Fix Subaru Preglobal create_es_throttle_control (#21010) 2021-05-24 15:36:31 -07:00
Adeeb Shihadeh
e5575a6a4c Remove ignored CAN fingerprints (#20994)
* VW is all FW

* fix test

* toyota

* honda

* hyundai

* remove IGNORED_FINGERPRINTS

* toyota
2021-05-24 13:50:10 -07:00
Jason Young
28a28834b7 Allow openpilot engaged while in manumatic (#20999) 2021-05-24 18:10:39 +02:00
Adeeb Shihadeh
bc8ac03b15 coords need to be float 2021-05-24 00:56:54 -07:00
Adeeb Shihadeh
a947be76b0 nav destination script 2021-05-24 00:45:18 -07:00
Jason Young
591eaa1cbc VW MQB: Cleanup, prep for J533 gateway integration (#20997)
* Refactor and clean up messages and signals

* Reenable checks[] enforcement

* Remove unused message check[]

* Comment touchup

* Make signal table names correct and consistent

* Refactor MqbExtraSignals for clarity
2021-05-23 16:47:52 -07:00
brianhaugen2
6089c95a35 Car port: LEXUS UX 2019 (#20998)
* adding port for 2019 lexus ux 250h

* update README

* added route to test_routes

* added CAR.LEXUS_UXH_TSS2 to IGNORED_FINGERPRINTS
changed test route to a complete route (that will be uploaded)

* unused

* add fw

* forgot h

Co-authored-by: Brian Haugen <brian.haugen@toyota.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-23 14:53:29 -07:00
Adeeb Shihadeh
4f4cb56de9 better scons cache handling (#20980)
* better scons cache handling

* nicer

* max size

* fast
2021-05-22 20:13:39 -07:00
Comma Device
1fd7f66a14 fix sidebar network type and signal 2021-05-22 18:42:42 -07:00
Dean Lee
179ff6e7ae Sidebar: repaint only when properties updated (#20929)
* use qt_property

s

* cleanup

* little more

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-22 14:37:12 -07:00
Adeeb Shihadeh
4dec92f273 add ignition cycling to can replay script 2021-05-22 14:14:48 -07:00
HaraldSchafer
d6fcf6fa84 Safe interpolation in lane_planner (#20995)
* safe idxs

* make thread more safe
2021-05-21 16:34:17 -07:00
HaraldSchafer
dc40631e97 Fix planner low speed behaviour (#20990)
* first point is 0

* first point is always now

* print replay diffs

* new ref

* changed wrong commit
2021-05-21 15:10:59 -07:00
Adeeb Shihadeh
12ed986333 per camera alerts (#20992)
* per camera alert

* bump cereal

* cleanup

* space
2021-05-21 14:53:30 -07:00
Erich Moraga
4d2781b79e Add missing COROLLA_TSS2 engine f/w (#20988)
`@Papi#7442` 2020 Corolla LE ICE  DongleID/route 0f2c85da83cc0d82|2021-05-21--11-36-09--0
2021-05-21 10:14:09 -07:00
Willem Melching
9c588e6117 maps: fix pan amount after 2x scaling 2021-05-21 17:10:59 +02:00
Willem Melching
80ffbe9136 maps: fix pan and zoom 2021-05-21 17:06:01 +02:00
Willem Melching
9bb2209c8e ecam toggle: clear calibration (#20987)
* ecam toggle: clear calibration

* whitespace

* no more reboot needed
2021-05-21 16:31:51 +02:00
Willem Melching
466f5f091e athenad: set timeout when creating websocket 2021-05-21 13:20:48 +02:00
Adeeb Shihadeh
c04b47938d stricter memory usage check (#20985) 2021-05-21 11:25:11 +02:00
Adeeb Shihadeh
fa1df5f783 show alert for rest of drive 2021-05-20 20:03:39 -07:00
Adeeb Shihadeh
ec976b3b44 log OS version in initData (#20979) 2021-05-20 13:00:34 -07:00
George Hotz
d62e007380 4G sounds slower than LTE 2021-05-20 11:33:39 -07:00
Willem Melching
57591ed3aa Agnos 0.18 (#20977) 2021-05-20 18:18:37 +02:00
Maxime Desroches
d44ee69b24 UI: add decline page for the Terms and Conditions (#20919)
* add decline page

* change action + keep the same layout
2021-05-20 15:59:56 +02:00
Willem Melching
7a8c7505d0 add modem state to NetworkInfo 2021-05-20 14:49:59 +02:00
Willem Melching
f9f84fe8a2 athenad: reconnect after not receiving ping (#20974)
* athenad: reconnect after not receiving ping

* make sidebar timeout longer than timeout in athena

* whitespace
2021-05-20 13:57:46 +02:00
Willem Melching
ea5141d909 Store almanac on ublox poweroff (#20967)
* Store almanac on ublox poweroff

* send current UTC time

* move message building to ublox_msg.h
2021-05-20 11:43:03 +02:00
Adeeb Shihadeh
a394d1017a replay: fix jwt path on PC 2021-05-20 02:29:41 -07:00
Mitchell Goff
29cc3500a5 New model outputs (#20933)
* New model: 51a237cd-9c43-4281-9072-802325e6744d/950

* Added new meta outputs and proper interp for plan_t_arr

* Added meta-based trigger for FCW

* No nans in planner, separate alert for model FCW

* Cleaned up plan_t interp logic

* Added empty cameraError alert to fix unit tests

* Use the normal FCW event

* Updated filter logic

* Updated model replay ref

* Moved disengage predictions into their own cereal struct

* Updated model replay ref for new cereal structs

* Apparently this breaks stuff?

* Bumped cereal commit and model replay ref
2021-05-19 22:30:23 -07:00
Adeeb Shihadeh
2defc730db alert for errors in camera stack (#20932)
* camera error alert

* check crcs

* cleanup

* bump cereal

Co-authored-by: Comma Device <device@comma.ai>
2021-05-19 21:28:16 -07:00
TheWizard1328
ed0c8a770f Chrysler Pacifica Fingerprint (#20935)
* Update values.py

* Update values.py

* Update selfdrive/car/chrysler/values.py

* Update values.py

Chrysler Pacifica 2020 fingerprint values added.

* Update values.py

* Update values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-19 20:02:08 -07:00
Willem Melching
9aff4b657e agnos 0.17 (#20966)
* agnos 0.17

* update launch env
2021-05-19 14:49:39 +02:00
Adeeb Shihadeh
4e17c0b01a add athena last ping time to deviceState (#20961) 2021-05-19 00:19:49 -07:00
martinl
79050611d6 Add enableBsm for Subaru Preglobal (#20962) 2021-05-18 23:45:37 -07:00
George Hotz
f43671c987 Move MCLK from 24 -> 19.2 mhz + Add accuracy in sidebar (#20960)
* wip

* one day i'll flip that right

Co-authored-by: Comma Device <device@comma.ai>
2021-05-18 22:37:33 -07:00
Adeeb Shihadeh
efca6eaa70 fix inlcude in setup.cc after include cleanup 2021-05-18 20:28:16 -07:00
martinl
587060bd92 Subaru signals update (#20956)
* switch to opendbc subaru-signals-2021-05-19

* update carstate signals to match dbc, rename fake_button to cruise_button

* Revert "switch to opendbc subaru-signals-2021-05-19"

This reverts commit f88d6ddcf5c10f8dd4ec37c5cb2cf9e208a56d75.

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-18 19:39:09 -07:00
Adeeb Shihadeh
ffc3a6b8d8 agnos 0.16 (#20957)
* agnos 0.16

* update manifest
2021-05-18 19:38:33 -07:00
Adeeb Shihadeh
6b4e49af0e fix linter 2021-05-18 19:35:32 -07:00
Comma Device
bffba1a91e little helper script 2021-05-18 18:56:58 -07:00
ShaneSmiskol
551091bcfa Deprecate brakeLights field (#20954)
* remove all references to CS.brakeLights

* unused red

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-18 17:48:02 -07:00
Cruise Brantley
42cd7b2b09 2021 Hyundai Elantra port (#20916)
* Elantra addition without fingerprint

* FPv1

* ignore fpv2 for fingerprint

* remove blank fpv2 troubleshooting

* FPV2

* missing commas

* added additional detected transmission

* Added to ignored fingerprints

* Test Route added

* Possible fixex for issues stated

* eps detected differently, added second detection

* Updated Naming
2021-05-18 15:52:22 -07:00