Commit Graph

7248 Commits

Author SHA1 Message Date
Adeeb Shihadeh
216ed89a79 some release notes
old-commit-hash: ab8a6352b0
2022-06-09 15:02:41 -07:00
AlexandreSato
db9d0e3bd6 Lexus: NX Hybrid 2020 support (#24796)
* LEXUS: Missing esp and engine FW versions in values.py

DongleId: 09ae96064ed85a14  | testRoute: 09ae96064ed85a14|2022-01-10--01-57-37 |

* Make a new platform for NX Hybrid TSS2

* Update releases

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 074f614f88
2022-06-09 12:01:31 -07:00
Erich Moraga
c081690ad1 Add missing CHR engine f/w (#24797)
`@papifrio#5178` 2019 Toyota C-HR ICE ("nodsu" TSS-P) DongleID/route ade67da77ee74b16|2022-06-09--00-36-15
old-commit-hash: 2d0a72a0e8
2022-06-09 11:07:17 -07:00
Shane Smiskol
adc451ca3e build checks do not rely on each other (#24783)
old-commit-hash: 5bb1554ec4
2022-06-09 10:55:05 -07:00
Jason Young
4f6142690f VW MQB: Add FW for 2020 Volkswagen Tiguan (#24795)
old-commit-hash: b0f6a8bdf7
2022-06-09 10:08:23 -07:00
Shane Smiskol
335c9e0293 Honda Bosch: fix openpilot longitudinal controls mismatch (#24788)
* fix bosch controls mismatch

* bump

* bump panda
old-commit-hash: 384e08e2ee
2022-06-08 22:38:07 -07:00
Shane Smiskol
99b4c4b6a1 bump opendbc (#24790)
old-commit-hash: 19af336f89
2022-06-08 21:07:49 -07:00
ZwX1616
02f0f39b52 fullframe DM model (#24762)
* get log

* simplify two nonsense

* not needed

* libyuv is a joke

* clean up

* try small

* fast but not bad

* working

* clean up driverview

* simplified

* thats mirrored

* smol

* tweak

* ref is screen

* w/ ee

* update camera model

* no if TICI

* start

* update pose thresh

* less cpu more dsp

* new libyuv

* new snpe

* add files

* test

* should be fast

* update out len

* trigger test

* use master snpe

* add cereal

* update cereal

* refactor parsing

* missing ;

* get

* wrong type

* test model

* use driver data

* 10829278-72fe-4283-a118-2cef959ce174/1550

* no pf

* adapt driverview

* ;

* rhd learner

* update libyuv buildi x64

* ad4337ea

* remove blink slack

* test

* no

* use toggle

* b16

* fix for nv12

* 5b02cff5 both

* update test

* update cereal

* update cereal

* update cereal

* v2 packets

* revert libyuv

* no /

* update snpemodel

* ;

* memcpy

* fix test

* use toggle in driverview

* update power

* update replay

* Revert "update replay"

This reverts commit 1d0979ca59dbc89bc5890656e9501e83f0556d50.

* update model ref

* halve cpu

* fake 8bit onnx runner

* same thresh as report

* cereal master

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d6c07a6b15
2022-06-08 20:13:46 -07:00
Gijs Koning
735a7770dc LaikaD: Fix offline handling (#24781)
* Test handling no internet correctly.

* Clean

* Comment

* remove del
old-commit-hash: a9bdc792a1
2022-06-08 07:33:05 -07:00
Gijs Koning
8bbdb79626 Laikad: kill process correctly. Fixes CI (#24780)
Kill process correctly
old-commit-hash: 45c43f9c87
2022-06-08 03:32:22 -07:00
Erich Moraga
707c51c957 Add missing MIRAI ESP f/w (#24779)
* Add missing ESP f/w 

`@JaySheikh#7759`  2021 Mirai  DongleID/route b2c2b20082938bed|2022-06-08--05-04-03  [confirmed working]

* formatting

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c8db61a3c7
2022-06-07 22:47:10 -07:00
Shane Smiskol
ff20b5955f Kia Ceed: fix eps ECU type (#24767)
should be eps
old-commit-hash: abef7ca32c
2022-06-07 22:43:09 -07:00
Jason Young
99c8bd117f VW MQB: Add FW for 2020 Volkswagen Tiguan (#24777)
old-commit-hash: ce6b8f6a46
2022-06-07 21:57:15 -07:00
HaraldSchafer
2330e1458c Install readme (#24776)
README: better install on device instructions
old-commit-hash: afe208ecb9
2022-06-07 19:16:36 -07:00
Shane Smiskol
fa9528e119 IsoTpParallelQuery: handle response pending (#24724)
* handle response pending

* match commit

* remove total timeout, just keep track of individual response timeouts

* fix

* add back total timeout

* this isn't reliable enough

* keep track of pending responses to print warning

* tx_addr is (addr, subaddr)

* debug

only query hyundai

import time

reponse pending

no cache

all cars

no timeout to test before

* Revert "debug"

This reverts commit abe9cfc1b668034d7fa5ca5cbe9efe8834db3e7b.

* always print pending

always debug

* Only debug

* Update selfdrive/car/isotp_parallel_query.py

* remove variable only for debugging
old-commit-hash: 30e1f28213
2022-06-07 17:49:07 -07:00
Jason Shuler
f392d45f41 GM: interface cleanup (#24774)
* Move all defaults above models

* Remove reduntant/defaults

* make minEnableSpeed common

* Update selfdrive/car/gm/interface.py

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

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b95c449847
2022-06-07 17:23:08 -07:00
Shane Smiskol
8fd06495b8 Honda: rename Bosch harness to Bosch A
old-commit-hash: bdc05fd13c
2022-06-07 17:18:03 -07:00
Shane Smiskol
e3253d87fa PlotJuggler: add torque control layout (#24726)
* add torque control PJ layout

* less custom transformation

* Use curvature, less noisy

* remove that
old-commit-hash: 6a58dd808f
2022-06-07 15:01:19 -07:00
Adeeb Shihadeh
d25c537b8b UI: remove DM icon (#24771)
old-commit-hash: 4d836c6edd
2022-06-07 13:59:48 -07:00
Gijs Koning
2fabc9d509 Laikad: Use process for parsing orbits (#24769)
* Use Process instead of Thread to fetch orbits

* small refactor

* Cleanup
old-commit-hash: e7234e22b4
2022-06-07 20:55:39 +02:00
ClockeNessMnstr
52a28d8938 update DH names + notes for MPC output curvatures (#24701)
* update names + notes for MPC outputs

"current_curvature" is not the correct description of what the MPC is outputting in it's curvature_ego state.
The MPC is integrating it's free variable, curvature_rate, such that curvature[0] is actually the desired_curvature before any delay.
inversely: the curvature_rate_desired is the desired rate of change to the setpoint and not the actual curvature rate. 

If we were to set the initial curvature = measured curvature in the MPC initiation these names would be correct. 
This was possibly how it was initially set up but the nomenclature here is now confusing.

* more notes

* match

* Clarify #1
old-commit-hash: b215d611b1
2022-06-07 09:41:03 -07:00
Gijs Koning
7bf243b61e Laikad: cleanup fetching orbits (#24759)
* Seperate prediction orbits from regular observation orbits and download them efficient

* Cleanup

* clean and update laika

* Fix test

* Fix test

* Fix checking pos fix

* space
old-commit-hash: 8d8055f00f
2022-06-07 03:25:58 -07:00
Lukas Petersson
4171e45e9c process replay: regen in parallel (#24628)
* regen in parallel

* prefixes

* clean regen

* clean output

* tqdm loc

* del swp file

* add routes back

* cleanup

* disable tqdm

* unique dirs

* unique dirs

* outdir in regen_all

* formatting when played from other dirs

* prefix dongle id

* local disable_tqdm

* formatting

* bug fix

* dont spam fakedata

* 16 char fake dongle ids

* formatting

* formatting

* more descriptive dongle

* fix azure path

* couple more fixes

* handle failures nicely

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 397da56c85
2022-06-06 14:21:12 -07:00
Jason Young
1f5667285b ui: fix prime ad storage duration (#24756)
fix ui prime ad storage duration
old-commit-hash: 7e5eec2e4f
2022-06-06 14:03:34 -07:00
Adeeb Shihadeh
b249f40f0c move clocksd to system/ (#24761)
old-commit-hash: ca682b389d
2022-06-06 13:27:45 -07:00
Gijs Koning
33136c3f89 bump laika
old-commit-hash: 037862a7b7
2022-06-06 12:51:25 +02:00
Gijs Koning
9771eebb62 Laikad: Fetch orbit data in thread (#24654)
* Add fetching orbits thread

* Use ephemeris type enum. Send list of std floats.
Speed up parsing orbit data by skipping redundant old data

* Remove Glonass from supported constellation for now

* Fix latest time msg

* Add small laika update

* Fix
old-commit-hash: 7df54792d8
2022-06-04 09:25:20 +02:00
Jason Young
d22347a9c6 VW MQB: Add FW for 2019 Volkswagen Passat (#24753)
old-commit-hash: 2a2294662c
2022-06-03 23:59:55 -07:00
Shane Smiskol
41f9767370 FPv2: add ECU whitelisting support (#24730)
* reduce fw queries for hyundai

* no whitelisting yet

* formatting

* fix

* clean up test

* clean up variables, comments, error

* update error
old-commit-hash: 29a1bf5a46
2022-06-03 20:16:11 -07:00
Adeeb Shihadeh
f21897ee14 AGNOS 5.1 (#24741)
old-commit-hash: bee5531816
2022-06-03 19:38:34 -07:00
Shane Smiskol
19de8a2f9f bump panda (#24752)
old-commit-hash: 5254451724
2022-06-03 18:37:13 -07:00
Shane Smiskol
1a2bf8412c Car documentation: set steering torque star using car interface (#24709)
* Set good torque using torque controller tuning

* should be equal to

* save lateral accel to car params

* use maxLateralAccel

* always

* same convention

* nan will always evaluate to false

* The great good torque purge

* adjust default friction

* Add data for more cars

* adjust name

* Welcome back, guys. Only adjust good torque if maxLatAccel is set

* Update refs (1.7 is 1.7000001...)
old-commit-hash: c6bc03311c
2022-06-03 17:41:20 -07:00
Adeeb Shihadeh
59a58cd15f UI: don't disable toggles onroad
old-commit-hash: d3af76842c
2022-06-03 14:34:16 -07:00
HaraldSchafer
08ad733229 Remove laneless toggle (#24738)
* Remove laneless toggle

* Update refs
old-commit-hash: 7f16e19f79
2022-06-03 14:04:14 -07:00
Adeeb Shihadeh
081fd73d45 fix camera power draw test (#24739)
* fix camera power draw test

* update modeld

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0ee647df3a
2022-06-03 14:03:49 -07:00
Shane Smiskol
f9772e624b FPv2: log query request and response address (#24733)
* log fw query response offset

* one line still

* log request bytes as well

* bump cereal

* prettier order

* bump cereal

* I wonder if the radar sends a response pending...

debug

dont cache

fix

debug

* Revert "I wonder if the radar sends a response pending..."

This reverts commit 12a9552c27ac427c161c27f916fb4fd1a8e4b44c.

* log addr too

* bump cereal
old-commit-hash: 124f3f02d5
2022-06-03 12:05:13 -07:00
HaraldSchafer
7c4645f227 Fix onnx model replay (#24702)
* No more C2

* Add test

* Various fixups

* Use ONNXCPU

* rm prints

* LFS pull

* Use sim docker

* Try sim docker again

* Print counter

* Make sure it can fail

* Fails correctly

* comments

* Add more install to opencl base docker

* vim not needed in base
old-commit-hash: a2c6b30c98
2022-06-03 10:43:09 -07:00
Willem Melching
7b3faad3ee navd: broadcast sped limit (#24681)
* populate speedLimit field in navInstruction

* show in ui

* ensure coordinate is behind you

* handle unknown

* handle here

* a bit prettier

* US design

* no ui changes in this PR

* parse sign
old-commit-hash: 64ceb64511
2022-06-03 15:07:04 +02:00
Willem Melching
875961bb62 bump cereal
old-commit-hash: 069d708ad2
2022-06-03 14:32:37 +02:00
Shane Smiskol
c0c0250077 Common interface attribute function (#24731)
* replace get_attr_from_cars with get_interface_attr

* and not combining the brands

* explicit check

* minimize diff

* values
old-commit-hash: 3fbbb7f4b0
2022-06-03 04:16:39 -07:00
Shane Smiskol
f1f5924a71 update scons nodes
old-commit-hash: 058bbc356b
2022-06-03 03:17:33 -07:00
Gijs Koning
22e1157a5a Fix test_laikad in master (#24734)
* Use Livelocationkalman measurement struct

* Revert laika repo and fix time gap
old-commit-hash: ad04585c35
2022-06-03 03:12:31 -07:00
Willem Melching
9eb874d641 bump cereal
old-commit-hash: c642ef878b
2022-06-03 11:24:48 +02:00
Shane Smiskol
3ba40da00a Honda: fix enabling before PCM (#24715)
* Don't enable for pcmCruise Honda

* make it a no entry as well

* do in another PR
old-commit-hash: 40deea7d7b
2022-06-02 22:06:01 -07:00
Adeeb Shihadeh
2163c6bf2d handle bad VIN (#24712)
old-commit-hash: 36fdf50f98
2022-06-02 22:01:37 -07:00
Adeeb Shihadeh
3df7552b7b modeld: cleaner exit from onnx runner
old-commit-hash: 921a411da5
2022-06-02 20:16:21 -07:00
HaraldSchafer
cf0564382a CL in docker (#24718)
* Move CL to base docker

* Different docker for cl

* add cl base docker

* add to tool

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dc4d4f875b
2022-06-02 18:26:12 -07:00
Lukas Petersson
35f277516e process replay: upload-only bug (#24722)
dont look for lr with upload only
old-commit-hash: 50a8b30580
2022-06-02 17:25:44 -07:00
Shane Smiskol
5f1990aa05 test_models: support for running on any route (#24002)
* run test_models on route

* clean up a bit

clean up a bit

clean up a bit

* remove

remove

* make route positional

* fixes from merge

* not working as I expected

* finally working, easiest way seems to make a new subclass dynamically

* bring back routes

* remove comments

* revert skiptest

* fix subclass name

* car first

* this should be here...

* this should work

* comment

* pytest doesn't support dynamically loading with load_tests

* minimize test_models.py diff, and make new file for running on a route

* fix static analysis

* remove print

* clean up a tiny bit

* rename and make required

* auto detect car fingerprint if not given

* move to location that makes more sense

* Add ci argument for running route from routes.py
old-commit-hash: e5b189416d
2022-06-02 17:23:05 -07:00
Adeeb Shihadeh
127f5858ae AGNOS 5 (#24692)
* AGNOS 5

* some more stuff
old-commit-hash: 38cd340922
2022-06-02 17:09:09 -07:00