Commit Graph

7306 Commits

Author SHA1 Message Date
Gijs Koning 61dcb8729c Laikad: Cache orbit and nav data (#24831)
* Cache orbit and nav data

* Cleanup

* Cleanup

* Use ProcessPoolExecutor to fetch orbits

* update laika repo

* Minor

* Create json de/serializers
Save cache only 1 minute at max

* Update laika repo

* Speed up json by caching json in ephemeris class

* Update laika

* Fix test

* Use constant
old-commit-hash: c3fa9151f39994984b60a19cdd7425dba73ec2fc
2022-06-15 02:32:07 -07:00
Shane Smiskol 87b6182aac regen & process replay: support no disengage on accelerator (#24850)
* ACC on if enabled != 0

* small regen clean up and add HONDA3

* fixes

* revert unneeded changes

* not used

* just alt exp

Co-authored-by: redacid95 <jonathanc.olivier@gmail.com>
old-commit-hash: b86ef0b70e81ef4e895d5102feb231dc3d43265f
2022-06-14 23:30:35 -07:00
HaraldSchafer 5e002bff96 Torque control: low speed boost (#24859)
* Make very low speed more aggressive

* Less extreme low speed boost

* Update ref
old-commit-hash: a6652a539d8d4ba614b216900c472cc9e2e58a05
2022-06-14 22:29:08 -07:00
Adeeb Shihadeh 6ce60227f4 bump up modeld power draw threshold
old-commit-hash: 0d0f5926a006ead1709b78fe69c1186b5a607c66
2022-06-14 21:12:49 -07:00
Adeeb Shihadeh b2808768f6 little zookeeper fixes (#24861)
* little zookeeper fixes

* bump that up
old-commit-hash: 6757e235f92b72741f2f4375548fde883ede324d
2022-06-14 20:38:25 -07:00
Jason Shuler f342073c94 GM: add support for vehicles with manual parking brakes (#24766)
Switch to general park brake signal
old-commit-hash: f8f4337fb3c50d6c125f59a8f59c93818fe71994
2022-06-14 17:28:15 -07:00
George Hotz 33bed6d13b remove weights fixup with new SNPE (#24254)
* remove weights fixup with new SNPE

* Update ref

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: 7a6f57a28e6efda72319fc0b2a4873bcf7e06829
2022-06-14 15:46:03 -07:00
Shane Smiskol fda3609f6a process replay: clean up common code (#24855)
* regen and process replay clean up

* test_fuzzy actually uses fingerprint hardcoding

fix

* revert

* revert

* this can be a url or path so just print full variable
old-commit-hash: 170ed3d761a58222a626c86b9706f9be4900d058
2022-06-14 12:03:30 -07:00
Shane Smiskol 83ce3db9af bump opendbc (#24853)
old-commit-hash: a9038bc3fd0ed12b441804923c46927b5f6bbbfe
2022-06-13 22:27:44 -07:00
YassineYousfi e5e9a9bf09 pin protobuf and hypothesis versions (#24852)
pin hypothesis and protobuf
old-commit-hash: 1ba8022c184a7e643c2714aaad1aa45e5e68501c
2022-06-13 22:26:31 -07:00
Shane Smiskol 2be8856e28 Move RAV4 2022 out of bronze
old-commit-hash: a78197ab1af40dcdc0fe5a8f764b476da3837e87
2022-06-13 21:49:50 -07:00
HaraldSchafer 539221df6c Move couple toyotas to torque table values (#24849)
* Move couple toyotas to torque table values

* Dont set for all cars yet

* Dont regress docs

* update ref
old-commit-hash: dbfe923ecc0e14a781a7f03646ccf885ab2fa47a
2022-06-13 19:08:09 -07:00
Shane Smiskol 82f208bcd6 Honda Bosch long: fix ACC fault (#24851)
Fix Honda bosch long

Co-authored-by: redacid95 <jonathanc.olivier@gmail.com>

Co-authored-by: redacid95 <jonathanc.olivier@gmail.com>
old-commit-hash: 25eafa96264aa2f8851b2f0d633de0c7cce3e743
2022-06-13 18:42:47 -07:00
HaraldSchafer 1c59adb433 Couple more cars to torque tune (#24848)
* try sonata on torque tune

* Couple known cars to torque control

* fix

* more fix
old-commit-hash: be13fc71f1237eb56a9d1cf2d7a0feb11b55d0b7
2022-06-13 16:54:32 -07:00
Adeeb Shihadeh 71d489a41e Revert "thermald: consider pmic in component temp management (#24708)"
This reverts commit 5ab1b471582c259a3041b00f7fcd217e7814b609.

old-commit-hash: cbd404b954b5b80b65f1ad8363b0245c3c7c7911
2022-06-13 16:38:32 -07:00
Adeeb Shihadeh 7061996882 ui.py: update for nv12
old-commit-hash: f05166ae26eb8165f35e8205b59c36e618d179b8
2022-06-13 13:58:22 -07:00
Shane Smiskol 02cffeb858 Toyota Camry TSS2: update torque control params (#24819)
Use updated accel and friction values for TSS2 Camry
old-commit-hash: 566de12671f7fbf299306339c0ca901754f7f3ca
2022-06-13 09:29:28 -07:00
Willem Melching e0551be0c1 navd: speed limits only when localizer is valid (#24845)
old-commit-hash: 7bca95dbb89dc6b969871cc7f6bf4306d91f60cc
2022-06-13 16:44:38 +02:00
Willem Melching e71cdfeb9e camerad: remove unused SubMaster (#24844)
old-commit-hash: fb068f04f50fcde6906072b4963114146852c51d
2022-06-13 16:43:50 +02:00
Gijs Koning e03eddea87 Laikad: process executor to fetch orbits (#24843)
* Use ProcessPoolExecutor to fetch orbits

* update laika repo

* Minor
old-commit-hash: a2d2378ee147f2db59aecd3401677cb2427d1ced
2022-06-13 05:02:31 -07:00
Joost Wooning 38f6e2726b ui: skip texture frame copy (#24700)
* ui_blit working

* simpler and working

* more believable that it's real

* working on device

* build on pc

* use hardware pc

* reduce cpu usage

* yuv conversion to EGL

* move everything to cameraview

* some cleanup

* more cleanup

* init array

* init images with std::map

* dont destroy images

* do destroy images

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1221aef233180a7d290ff813d2e2e53dbf87d586
2022-06-13 12:27:47 +02:00
Gijs Koning 11033eba53 Laikad: Use filter for correcting measurements (#24824)
* Update laikad.

* Update log error
old-commit-hash: 724b322909152d58f626b6e76fd34d7d03d67250
2022-06-13 02:45:35 -07:00
Willem Melching 2eca17d464 Revert "SConstruct: set AGNOS from /AGNOS" until Jenkins devices are updated
This reverts commit 07006323701842e9324ab0467795b661de6b0491.

old-commit-hash: d71295e0451260acdcfdfb14477c0e21bc4ed311
2022-06-13 09:50:40 +02:00
Willem Melching 12256c0165 SConstruct: set AGNOS from /AGNOS
old-commit-hash: 84c741ecf6ac0727a29aeebb5f2a6539c2d76dd2
2022-06-13 09:37:12 +02:00
Adeeb Shihadeh a16a4a4e06 jenkins: lock simulator
old-commit-hash: 3db36a1958b24023a8af2a10419c0c7e4112bef7
2022-06-12 21:59:58 -07:00
Cameron Clough f339318012 Ford: remove Fusion DBC from release (#24841)
old-commit-hash: e7cad559a659d47466645290e00ee6205bb938c6
2022-06-12 21:39:36 -07:00
Adeeb Shihadeh 5425336963 misc jenkins fixups (#24840)
* bump cereal

* remove that

* pull cl image

* lil docker cleanup
old-commit-hash: 39da6912ea0b8db16d3f96f289f723452e540ab7
2022-06-12 18:00:00 -07:00
Jeroen 75a30612b0 Updated CARLA to v0.9.13 (#24575)
* Updated CARLA to v0.9.13

* pipenv lock

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1c29b20e72141c2beae6e32cf87dabded3095fda
2022-06-12 09:32:18 -07:00
Cameron Clough 3c5d9689fc Ford: disable radar for now (#24832)
The newer Ford vehicles require a different radar parser.
old-commit-hash: 3f60088f432f0bf8e7805cdb2223817c249ec7fa
2022-06-12 09:27:46 -07:00
Andrew 279c267be5 acados build script improvements for mac (#24634)
* add Darwin build w/ universal2 libs

* add rust for acados rebuilds

* just build script fixes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1dd52ba27b6ec2121c5054c80f1820aeade40cb2
2022-06-11 23:38:32 -07:00
Adeeb Shihadeh 3c48bc47b7 Move a bunch of stuff to system/ part 3 (#24829)
* move swaglog.py

* timezoned

* logmessaged

* version.py

* fix linter
old-commit-hash: 0fce5d90459b77bf2cfa70f55f322f0e1fb8d01c
2022-06-11 23:19:27 -07:00
Adeeb Shihadeh 396a20d9b3 CI: add build job for latest Ubuntu (#24637)
* CI: add build job for latest Ubuntu

* source

* source env

* scons cache

* cache pyenv

* fix key

* source
old-commit-hash: fbd98b0e541b89f477061bab34dfc41495ac9399
2022-06-11 22:51:09 -07:00
Adeeb Shihadeh 9e945d4d93 set AGNOS from /AGNOS file
old-commit-hash: 9cda2d63380dc9b554212ba15e82ca0621ab1945
2022-06-11 18:43:24 -07:00
Adeeb Shihadeh 3ba846ebac bump cereal
old-commit-hash: 83c5d2ede6c058a8eb723933a45bd3abc810bf51
2022-06-11 17:56:59 -07:00
Adeeb Shihadeh c8b6d29a8a jenkins: remove unnecessary workstation clean
old-commit-hash: 6856c2d4efda54708be3790bb094b5c377dee575
2022-06-11 17:43:40 -07:00
Adeeb Shihadeh 9a45a3b99b Move selfdrive/hardware/ to system/ (#24725)
* move hardware to system/

* fix mypy
old-commit-hash: 1139fe507b01f34de9714c99228f411558b44231
2022-06-11 16:38:24 -07:00
Maxime Desroches 9a003e9b29 simulator: run simulator test in ci (#24691)
* run simulator test in ci

* block navd process

* block ui

* fix jenkins

* build docker

* remove tty

* remove tty for carla

* detach carla_sim

* more retries

* only build once

* add more time for bridge

* cleanup

* use qt offscreen

* expose to docker

* block ui

* use new dockerimage

* fix

* from ubuntu20.04

* install curl

* add ssh

* add locales

* noninteractive

* syntax

* use base

* smaller image

* add git + git lfs

* kill carla

* run in parallel

* fix missing agents

* default agent?

* little cleanup

* default doesn't work

* not in ci

* fix path

* fix path

* new msg

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5add0c6159db3810c17f0b27afd3dda882f95586
2022-06-11 15:32:12 -07:00
Adeeb Shihadeh 90ab9da2d9 pylint: add PyQt5 support
old-commit-hash: 1c238e8c773eb58f88fc69cdcb77dba71430b735
2022-06-11 13:06:07 -07:00
Adeeb Shihadeh c4f9844637 CI: fix docker push for base image
old-commit-hash: a029245a784acb9fe3d8db7f1023aab222ec0dba
2022-06-11 12:21:12 -07:00
Maykon Pacheco fe24326066 test for the strip_bz2_extension method (#24826)
old-commit-hash: 1847a70a47b12ff5c7e7db9361f69d6d1e79a919
2022-06-11 11:08:24 -07:00
Shane Smiskol 1c748eb9ac Honda carcontroller and signal cleanup (#24806)
* common signals

* move stopping

* space

* clean up

* bump opendbc
old-commit-hash: e3750877202a072e884ad0fb88709b23226c3a59
2022-06-11 00:14:58 -07:00
HaraldSchafer bc679f735d Misc torque control fixes (#24801)
* Fiction compensation should be based on error

* Update refs

* Add deadzone

* update ref
old-commit-hash: 843e59f6f0be33e6c51a35ef8912f5b7c4b58ca5
2022-06-10 22:52:48 -07:00
Shane Smiskol 158d3224b4 compatibility docs: auto-generate star descriptions (#24809)
* Auto-generate star descriptions

* Need this for the website

* And this

* required changes to make the website generation work

* better names

* Revert "better names"

This reverts commit be7dbbb5d846d7d55a1ad69533945e6a6c8a0b7c.

* simpler
old-commit-hash: 88a100435f1da9bf061b360e8a5cd02e414d6e8b
2022-06-10 22:52:34 -07:00
AlexandreSato 42327f3431 Fix Lexus NX Hybrid 2020 engine ecu (#24817)
Wrong address in engine ecu.
old-commit-hash: f398b3efc92f59f407379d38ead0f99bf814b95c
2022-06-10 18:45:32 -07:00
HaraldSchafer f7edd5f3d3 Car interface: set max lateral torque from table (#24789)
* json

* better naem

* Read from table

* formatting and default to nan

* Generate docs

* Read from table

* this should be the same

* Prius v is full

* test we always set the tunes correctly

add to release files

* Set for all cars

Set for all cars

* Revert tuning changes

Revert tuning changes

* remove that

* fixes

* update ref commit for new maxLateralAccels

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3066ad81a8b2f89a22ddfc86a879395c573ce0f5
2022-06-10 17:57:23 -07:00
ZwX1616 ee7d406139 put cereal on master
old-commit-hash: a8ccd8f838aff958a60546de04bf42220567b288
2022-06-10 16:26:06 -07:00
Shane Smiskol 6cb8cacea6 Add missing fw versions for 2019 Sonata (#24814)
old-commit-hash: 6618d2bebee9a1fc5a0ee5d5a9b2764403865281
2022-06-10 16:18:31 -07:00
ZwX1616 c73d4e5fc6 Revert fullframe DM model (#24812)
* Revert "fullframe DM: flip RHD yaw to use matching thresholds"

This reverts commit ce7daabc8847d18ba46e5d1879f5a6958d04ccc7.

* Revert "fullframe DM model (#24762)"

This reverts commit 817be81fb19004f4873881f6b29dcdfffbe7e3a8.

* revert cereal
old-commit-hash: c646eeee0ac54925db5afc51b95c5d869d6dba68
2022-06-10 16:16:46 -07:00
Adeeb Shihadeh 77224f3332 count events: add simple camera debugging
old-commit-hash: 66bc246210b4471e0a5fa3ab792c4d9fe0316406
2022-06-10 16:10:06 -07:00
Adeeb Shihadeh 6f249733e1 add PyQt (#24811)
old-commit-hash: aeb2c67c904d9ed3a579e6ee40b05606b92713af
2022-06-10 15:39:18 -07:00