Commit Graph

1439 Commits (528b87473a81122f6ab361fb1dab1c032cd38876)

Author SHA1 Message Date
ZwX1616 4954db0381
use different SubMasters for driverState/sensorEvents (#2522)
* use different sms

* rename
2020-11-11 13:53:11 -08:00
grekiki 9529764549
Scons builder for cython extensions (#2485)
* complie boardd without python

* not good, but don't want to lose the file, because it works

* clean a bit

* update dbc

* should build on CI

* not good, but don't want to lose the file, because it works

* clean a bit

* should build on CI

* remove unneeded path

* reorder paths

* reduce diff

* and now it works?!

* ... should work in CI

* add kj, 30% chance to fix macos

* pydebug

* new way to find path

* fix :)

* tested

* sanity check

* repl. MacOS flags

* hope it works

* need more logs

* need more logs2

* test if it works

* should work on CI

* correct python file

* should not work

* cleanup

* real cleanup

* more removals

* 50% of file

* transformations

* fixed a hardcoded variable

* more logs

* simpl.

* kalman

* all donw if it passes tests

* cleanup

* reduce code by 20 lines if this works

* fix bugs

* cleanup

* SharedLibrary

* cleanup

* ...

* remove unused

* CI fix maybe?

* add more valid path

* more logs

* ...:

* fix webcam CI

* remove WError flag

* deprecated is not an error

* more Wno things

* reduce diff, add Wno to env

* don't import nonexistent stuff

* SharedLibrary v2

* less custom env

* renaming, remove SharedLibs

* pack libs in envCython

* experiment

* better docker caching

* whitespace

* more docker caching

* improvement

* improvements

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-11-11 21:14:51 +01:00
Willem Melching 8896b7a791 paint.cc: fix drawing lane lines on sidebar 2020-11-11 02:12:55 -08:00
HaraldSchafer f7d1ace883
Fix lane width (#2520)
* use prob modifiers in lane width calc

* update ref

* update ref
2020-11-10 21:12:36 -08:00
HaraldSchafer 39f27f9d6a
cleanup planner (#2519)
* no reason for external function

* dont need d_poly for this test

* dont copy float

* typo
2020-11-10 14:42:43 -08:00
Chris McCammon 01914a1a91 Corolla 2021 2020-11-09 18:03:44 -08:00
Willem Melching f2c8a6122d Revert "convert mat.h to a c++ header file (#2499)"
This reverts commit 519c043a63.
2020-11-09 01:41:36 -08:00
Dean Lee 1bd1c961ef
fsync_dir: remove goto (#2498) 2020-11-09 01:21:48 -08:00
Dean Lee 519c043a63
convert mat.h to a c++ header file (#2499) 2020-11-09 01:19:09 -08:00
Shane Smiskol dca6f61db9
some laneplanner updates (#2505) 2020-11-09 01:15:29 -08:00
Adeeb Shihadeh e88775a224 remove old loggerd priority 2020-11-08 15:44:04 -08:00
Adeeb Shihadeh 8f44e69583 give loggerd min rt priority 2020-11-08 15:42:08 -08:00
Adeeb Shihadeh 30112f9add don't show unspported alert with no health packet 2020-11-08 15:22:27 -08:00
HaraldSchafer 26583b1b85
No uncertain ll (#2495)
* initial, needs tune

* support metrics

* a little more

* wrong type

* fixup

* update refs
2020-11-06 21:01:16 -08:00
Adeeb Shihadeh 6c86afee16
Qt spinner (#2494)
* move android spinner

* qt spinner

* rotation

* nothing by default

* spin spin

* fix rotate

* style

* spinner for all

* -2

* unused
2020-11-06 18:44:04 -08:00
Adeeb Shihadeh 68ba1649b9
Qt text window (#2489)
* qt text window

* auto size

* real text

* this is cleaner

* fix android build

* exit on pc

* tici fixes
2020-11-06 12:05:24 -08:00
ohber 548d92490d
Genesis G70 fingerprint and tuning (#2491)
* Modify tuning and values.py for G70 support

* revert ignored fingerprint change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-11-06 10:32:32 -08:00
Adeeb Shihadeh 496107321b remove wrong fw version from genesis g70 2020-11-06 09:45:32 -08:00
Adeeb Shihadeh 5f472acf4c
hyundai cleanup (#2486)
* small hkg cleanup

* little more
2020-11-05 14:35:28 -08:00
Adeeb Shihadeh 818bd8a591 trim trailing whitespace 2020-11-05 14:11:41 -08:00
Adeeb Shihadeh e511d62d0f add kia optima fingerprint 2020-11-05 14:00:02 -08:00
ZwX1616 c0946c8bdb
generalize camera assumptions (#2423)
* clean up 1

* complain

* cleanup

* make models api generic

* clean up 2

* cleanup

* remove unused
2020-11-05 13:22:28 -08:00
HaraldSchafer e6668625fa
set y too (#2448)
* set y too

* new ref
2020-11-04 19:52:05 -08:00
Adeeb Shihadeh 1690fd62c2 qt sound cleanup 2020-11-04 11:48:34 -08:00
Adeeb Shihadeh b00cb389ef
qt cleanup (#2476) 2020-11-04 11:16:34 -08:00
Adeeb Shihadeh 89d02dcf97
check for safety mode mismatch (#2443) 2020-11-04 11:12:15 -08:00
Adeeb Shihadeh 47c21f10f5
grey panda is unsupported (#2458) 2020-11-03 19:56:25 -08:00
Christo Mitov 029be49012
switch build flags to use opengl framework rather than gl library for OSX (#2467)
* switch build flags to use opengl framework rather than library for OSX

* little cleaner

* arch

Co-authored-by: thatsaboi <thatsa@boi.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-11-03 19:54:29 -08:00
Adeeb Shihadeh 3795920750
update process replay test routes (#2482)
* update bosch route

* update rfs

* bump refs
2020-11-03 18:44:35 -08:00
Chris McCammon 6c80ceb181 Add HRV fw 2020-11-03 15:54:01 -08:00
Adeeb Shihadeh 4d0745504b
Car Port: Lexus NX300 (#2481)
* Adding 2018 Lexus NX 300

* adding test model

* Update README.md

adding lexus nx 300 to readme

* update route

* add nx dbc to release files

* fix readme

* add to release notes

Co-authored-by: matt12eagles <matt12eagles@gmail.com>
2020-11-03 15:43:52 -08:00
Adeeb Shihadeh 024123991b add lexus ES hybrid fw 2020-11-03 08:55:44 -08:00
George Hotz 4d5efb5789
Focus Actuator Comments (#2478)
* comments from DW9800W datasheet

* more comments
2020-11-03 07:45:16 -08:00
hc356 b45c90b83d
add sonata 2020 Korean version fingerprint (#2449) 2020-11-01 20:49:14 -08:00
lgonex 9b9c3006e7
RAV4 Hybrid 2019 Fingerprint (#2472)
New fingerprint value.
2020-11-01 17:32:18 -08:00
Comma Device ccecd37554 lower volume 2020-11-01 04:21:22 +00:00
Adeeb Shihadeh d8437a58b5 qt settings touchups 2020-10-31 20:24:22 -07:00
Adeeb Shihadeh 9d84a835d8
Qt onboarding (#2465)
* terms

* clean up

* style
2020-10-31 17:07:04 -07:00
Comma Device e8587520ac big button 2020-10-31 03:06:38 +00:00
NiCK.n17 b1abb47fbd
Car bug fix: 2020 Kia Niro EV orange lanes icon and LKAS error on cluster display (#2454) 2020-10-30 17:45:57 -07:00
Adeeb Shihadeh 06400af09f
Qt offroad (#2451) 2020-10-30 17:03:51 -07:00
Cruise Brantley 9fed385b38
Veloster torque increase (#2457) 2020-10-30 11:44:44 -07:00
Comma Device 87d7f51e3e fix manager crash when sending signal to a dead proc 2020-10-30 11:40:22 -07:00
Dean Lee c21ccccd61
webcam cleanup: remove unused variables (#2450) 2020-10-29 20:30:46 -07:00
Adeeb Shihadeh 719c5e3598
ubuntu 16.04 -> 20.04 (#2378) 2020-10-29 16:51:09 -07:00
Adeeb Shihadeh 9a9e4ba45e fix fingerprint script 2020-10-29 13:56:58 -07:00
Adeeb Shihadeh 92a8469284
Kona EV 2020 fingerprint (#2444) 2020-10-29 13:21:51 -07:00
Sean Boult 7346a7d56c
Allow Hyundai Santa Fe to use 384 STEER_MAX (#2411) 2020-10-28 21:19:23 -07:00
ZwX1616 b5617c17c8
just use the same (#2419) 2020-10-28 17:43:16 -07:00
NiCK.n17 a0b40984af
Car Port: 2020 Kia Niro EV (#2416) 2020-10-28 16:13:31 -07:00
DFyffe f4624efe35
Hyundai Genesis tuning (#2405)
2015 Genesis 3.8 L. tuning to stop extreme ping pong on cornering and on straights.
2020-10-28 14:50:25 -07:00
Cruise Brantley f38d0b11ce
Hyundai Veloster fingerprint (#2407)
* Fix for transmission reporting differently

* Veloster does not fault at 384

* Update values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-28 14:17:10 -07:00
eFini 9a2abd52b8
Add 2018 China Honda Inspire Fingerprint (#2437)
* 2018 China INSPIRE

* remove FPv1
2020-10-28 13:28:12 -07:00
Shane Smiskol 5eea86cbf4
Abstract set_unsafe_mode function to Panda (#2431)
* Abstract set_unsafe_mode function to panda.cc

* whoops

* use uint16_t
2020-10-28 13:21:07 -07:00
Adeeb Shihadeh ffbd5e9f2d stop sounds after going offroad 2020-10-27 14:05:13 -07:00
Adeeb Shihadeh d92ec9642e
grey panda deprecation (#2406) 2020-10-26 23:09:06 -07:00
Adeeb Shihadeh 9807361ef2 enable event processing in UI 2020-10-26 20:27:52 -07:00
Adeeb Shihadeh 159e5d40ea fix camera malfunction alert on startup 2020-10-26 19:20:14 -07:00
Erich Moraga 2065c026db
Additional CAR.CAMRY f/w (#2422)
@mzel#3760  DongleID/route  292073461f55e26b|2020-10-26--17-49-55
https://discord.com/channels/469524606043160576/524327905937850394/770463264098222091
2020-10-26 19:18:37 -07:00
Adeeb Shihadeh bdfb0488a8 fix cpu test thresholds after downclock 2020-10-26 15:22:45 -07:00
ZwX1616 d7052094c4
restore behavior (#2418) 2020-10-26 14:49:28 -07:00
Dave Tapley e1eec3b589
Add 2019 Highlander Hybrid (#2412) 2020-10-26 09:51:17 -07:00
Adeeb Shihadeh 0b433581e3 fix camera malfunction alert in sim 2020-10-24 11:46:23 -07:00
Adeeb Shihadeh f46ed718ba bump version to 0.7.11 2020-10-23 20:09:08 -07:00
VirtuallyChris 226ff98a17 Add 2018 Lexus IS 350 fw 2020-10-23 12:12:19 -07:00
Adeeb Shihadeh 94991d9319 remove unused params function 2020-10-22 17:05:52 -07:00
Adeeb Shihadeh 88b956528e
camera malfunction alert (#2391)
* camera malfunction alert

* bump cereal

* fix process replay

* ugh, needs refactor
2020-10-22 16:28:54 -07:00
Kumar 2a6765580c
Car Port: Prius 2021 TSS2 (#2163) 2020-10-22 13:39:44 -07:00
VirtuallyChris 7624a48e02 Rav4 Hybrid 2020 fw 2020-10-22 11:37:39 -07:00
Willem Melching 118faa71e5
simplify settings a bit (#2384) 2020-10-22 17:11:52 +02:00
Willem Melching b73e8ab324
improve Qt ui smoothess (#2380)
* improve ui smoothess

* fix backlight filter

* More default brightness

* write backlight in real background thread

* immediate repaint
2020-10-21 15:15:21 +02:00
Willem Melching 77d9a68f5d
only log startup blocked on conditions changed (#2382) 2020-10-21 15:14:29 +02:00
Willem Melching 014e1521b3 add error handling to pandad get signature 2020-10-21 10:43:39 +02:00
Adeeb Shihadeh d2a9617f9c update total scons nodes 2020-10-20 21:28:24 -07:00
Adeeb Shihadeh 6b4957cba1
Log last 1000 lines of tmux output in bootlog (#2149)
* log last 1000 lines of tmux output in bootlog

* add to bootlog

* fix tmux capture
2020-10-20 21:07:12 -07:00
ZwX1616 53bd3050ee
infinite sound (#2372)
* make sound infinite loopable

* Update selfdrive/ui/android/sl_sound.cc

* fix loop

* fix test threshold

* more fix

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-10-20 17:42:19 -07:00
ZwX1616 efa9180258
camerad AE hotfix (#2371)
* duplicate offset

* use widthx3 instead of stride
2020-10-20 17:26:05 -07:00
George Hotz cb3ade51ef std::async has nodiscard in 20.04, i believe that function won't return until the async completes 2020-10-20 15:38:07 -07:00
Adeeb Shihadeh 4c4b53beda
prevent snapshot while onroad (#2366)
* prevent snapshot while onroad

* fix offroad check
2020-10-20 14:04:18 -07:00
Willem Melching c0d92516cc
store params in ~/.comma on PC (#2369) 2020-10-20 13:18:21 +02:00
Willem Melching 9d0b893944
UI: get video aspect ratio from camera intrinsics (#2351)
* UI: get video aspect ratio from camera intrinsics

* cleanup video rect definition

* const zoom

* Match zoom level

* Fix comment

* Zoom out more
2020-10-20 12:14:19 +02:00
Shane Smiskol 5bcac27d98
matrix subclass not recommended way to represent matrices (#2348) 2020-10-20 12:12:23 +02:00
Adeeb Shihadeh 32496626b2 numpy tolerance for INDI 2020-10-19 23:29:22 -07:00
Dean Lee 0bbd080a04
fix build warning (#2365)
* fix build warning

* Update selfdrive/common/util.c

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-19 22:44:24 -07:00
Adeeb Shihadeh 516da927f9
add cars with LQR and INDI lat control to process replay (#2363)
* add cars that use LQR and INDI lat control to process replay

* bump ref commit
2020-10-19 21:18:50 -07:00
Adeeb Shihadeh 2fd5ab782b
explicitly turn display on in updater (#2362)
* explicitly turn display on

* clean that up

* update binary

Co-authored-by: Comma Device <device@comma.ai>
2020-10-19 20:16:27 -07:00
Willem Melching 63e23e9cd7
Reset liveParameters if starting with invalid values (#2360)
* reset params if starting with invalid values

* newline

* No need to check stiffness
2020-10-19 19:04:33 +02:00
Willem Melching d28f488ea5 fix typo in params path on PC 2020-10-19 14:25:45 +02:00
Willem Melching 47dfa52456
use iterator to loop over first 1000 entries (#2359) 2020-10-19 13:44:36 +02:00
Adeeb Shihadeh 9e03c2e929
tap to wake with accelerometer (#2267) 2020-10-18 19:03:41 -07:00
Chris Souers dc8b5538e8
Add 2020 Acura RDX (#1557)
Update CAN Fingerprint

Update files_common

Update test_car_models.py
2020-10-18 19:03:04 -07:00
Adeeb Shihadeh f9a5f71bf5
NEOS 15 (#2084)
* doze

* need a new apk

* new build

* neos 15 part 1

* new build to re-enable display control for ft8716

* production image
2020-10-18 17:03:28 -07:00
Adeeb Shihadeh 6073610cb0 fix pylint import error 2020-10-18 16:12:39 -07:00
Adeeb Shihadeh 82c112dad0 quick toyota EPS scale factor script 2020-10-18 16:00:42 -07:00
cydia2020 99e92c7ae2
The correct (factory) way of displaying barriers on toyotas (#2281) 2020-10-17 18:26:49 -07:00
Comma Device e4d2174a4e need that one too 2020-10-17 17:44:10 -07:00
Matt Barclay 722f9d6b75
Fingerprint for 2021 RAV4H XLE (#2357)
* Fingerprint for 2021 RAV4H XLE

* Removed v1 fingerprint for 2021 RAV4H_TSS2 XLE
2020-10-17 17:14:35 -07:00
Adeeb Shihadeh 20a6ca83c9
fix params permissions for offroad (#2356)
* fix params permissions

* don't need that one
2020-10-17 17:07:40 -07:00
Willem Melching 339d1967cb
--std=c++17 (#2330)
* switch to c++17

* more 17

* 1z

* use std::clamp

* Fix types in clamp

* bump submodules

* bump laika

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-17 13:33:12 -07:00
Adeeb Shihadeh 96b637737b
fix build warnings (#2355)
* fix build warnings

* cython fixes

* cleanup transformations build

* little more
2020-10-17 12:40:01 -07:00
ZwX1616 6b020241c9
Clean up and test camerad refactor (#2310)
* refactor

add function get_camerabuf_by_type

remove cl_free

use camera_id

move front stuff into frontview_thread

bigger refactor

more

typo

rename camerabuf *c to *b

cleanup header files

remove wideview_thread

camera_qcom.c to c++

fix SConscript

camera_process_buf

space

sendrgb same with before

do autoexposure in processing_thread

correct sendrgb

add camera_common.cc

move yuv_transform to CameraBuf

* use C to keep consitent

* rebase master

* rebase master

* continue refactor

* refactor all camera related data&function out of main

 done

* cleanup

* -use buf.rgb_width&height

* remoe ,

* rebase master

* remove unused std::vector

* add func common_camera_process_front

* fix max

* fix sendrgb

* less crap being logged

* fix indents

* add back thumbnails

* thumbnail fixed on tici

* junk junk junk

* unify api

* fix ptr ref

* lol!

* cleanup

* more simplified

* typos

* remove terminate

* use standard polling

* ops_thread refactor, too much code!

* fix build

* ok

* assert

* listen

* incl more

* wq!

* fix more build

* macos

* fix exp targets

* front is different

* const

* bye

* remath

* remove irrelevant

* do ops in a thread

* fix init

* return null

* QCOM2 ops

* qcom2 build

* missing comma

Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-10-16 21:58:05 -07:00
VirtuallyChris c5ec96680f 2020 Ridgeline fw 2020-10-16 17:50:46 -07:00
Adeeb Shihadeh f4e18e0b74
Build openpilot with webcam support in CI (#2070) 2020-10-16 15:16:17 -07:00
VirtuallyChris 35ad3775ed Add Ridgeline 2020 camera fw 2020-10-16 15:11:35 -07:00
Willem Melching 442f2543e3
tici: set brightness in std::async (#2347)
* set brightness in std::async

* CI
2020-10-15 20:48:05 +02:00
Willem Melching a1fd08c1e1
Add logs for why start was blocked (#2312) (#2346)
* Add logs for why start was blocked

* adding wrapper and prev offroad alert state

* Small updates and fixes

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Moving to dict of startup conditions

* Fixing dict access

* add type for dict

* remove global

* Use cloudlog event

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

* Fix driverview and snapshot start

* not always log

* Cleanup update alerts

* Only ignition needs init

* Fix typing

Co-authored-by: Logan Lasiter <lasiterlogan@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-15 15:47:38 +02:00
Comma Device 4e2f9d915f fix encoder build 2020-10-15 11:23:42 +00:00
Willem Melching 3dd9448981
Params path only in one place (#2344)
* fix params paths

* Qcom & qcom2

* This env variable is not used anywhere

* params path in only one place

* fix other PARAMS_PATH references

* absolute path is probably better
2020-10-15 13:15:22 +02:00
Adeeb Shihadeh 725e3b78ea
HKG fixups (#2342)
* fix hyundai blinker state

* consistency with update_speed

* update refs

* make hyundai resume reliable

* update refs

* 20 works

* don't need that

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
2020-10-14 18:27:27 -07:00
Adeeb Shihadeh ae4b4bd125
Alert cleanup (#2274)
* no more focus recover active

* consistency

* more permanent

* dm alerts

* sanity check test

* no please

* clean that up

* update refs

* one more

* bump cereal
2020-10-14 15:56:18 -07:00
Adeeb Shihadeh 1c6905cac1
clear irrelevant alerts on state transition (#2318)
* cleanup

* clear warnings

* more types

* needs refactor

* update refs

* update refs
2020-10-14 14:08:15 -07:00
Adeeb Shihadeh 707a670f42
fix params on PC and when reading path from env (#2340)
* fix params when reading path from env

* fix pc
2020-10-14 13:45:24 -07:00
Andre Volmensky a1037b5334
Nissan Rogue 2018 (#2336)
* Added Nissan Rogue 2018 fingerprint

* Merged Nissan Rogue fingerprints. Updated README.md
2020-10-14 11:03:40 -07:00
Adeeb Shihadeh 6f307ea4c5 fix params permissions after refactor 2020-10-13 19:14:51 -07:00
VirtuallyChris dc68057263 was supposed to be on branch 2020-10-13 15:30:57 -07:00
VirtuallyChris fd563e17d6 Add more Rav4 fw 2020-10-13 15:28:48 -07:00
Adeeb Shihadeh 6bc6db5f7a
don't show giraffe alert with relay (#2335)
* who has a giraffe still?

* not black
2020-10-13 12:42:04 -07:00
Willem Melching ce85e402f4
Fix lane change when blinker is turned off early (#2324) 2020-10-13 17:42:29 +02:00
Willem Melching 2e182e5c57
Params refactor, simplified (#2300)
* always c++

* Create C++ params class

* get works

* tests hang now

* passes tests

* cleanup string formatting

* handle interrupt in blocking read

* fix memory leak

* remove unused constructor

* Use delete_db_value directly

* Rename put -> write_db_value

* filename cleanup

* no semicolons in cython

* Update common/SConscript

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

* add std::string version of delete_db_value

* This is handled

* cleanup encoding

* Add clear method to clear all

* add persistent params

* fix android build

* Should be called clear_all

* only import params when needed

* set params path on manager import

* recusrively create directories

* Fix function order

* cleanup mkdirp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-10-13 16:23:23 +02:00
Willem Melching a4ccfcffe8
Remove czmq part 1 (#2332)
* remove czmq

* remove streaming mode from loggerd

* Add include for usleep
2020-10-13 16:01:07 +02:00
grekiki fc1d01be81
add caching to CI tests (#2269)
* first caching attempt

* caching attempt

* caching attempt

* caching attempt

* caching attempt

* caching attempt

* dump logs

* does this work?

* Create cache folder

* Print folder contents

* Fix volume mount

* Update test.yaml

* add removed tests

* reduce diff

* reduce diff

* reduce diff

* reduce diff

* reduce diff

* readd coverage upload

* Update test.yaml

* add more caching

* Use hash of test file to compute cache key

* add cache to valgrind tests

* Update .github/workflows/test.yaml

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update .github/workflows/test.yaml

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Also hash workflow yaml

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-10-13 15:38:13 +02:00
VirtuallyChris f10497a75d
Add Nissan Leaf 2020 (#2311)
* Add 2020 Leaf fingerprint

* Split fingerpints

* un-merge fingerprints
2020-10-12 16:30:34 -07:00
Adeeb Shihadeh ee37d03c1f
remove hotspot exceptions in uploader (#2319)
* remove hotspot exceptions

* skip net check while onroad
2020-10-12 13:12:01 -07:00
Willem Melching 0365db20d8
Update 2020 Hyundai Palisade FW versions (#2322)
* add fw versions

* carParams is sometimes not in first segment

* Update can fingerprint
2020-10-12 15:57:06 +02:00
eFini ea81d36c41
white/grey/black pandas still have power ctrl function (#2308) 2020-10-12 13:58:36 +02:00
grekiki 870644b59e
Process replay for C++ daemons (#2288)
* more like a stash

* mem

* comment cpp

* remove some tests

* WORKSpython test_processes.py python test_processes.py

* all tests work, time to clean up

* initialize cleanup

* fix spaces

* refactor

* Update selfdrive/test/process_replay/process_replay.py

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

* revert debug change

* mini refactor

* remove submaster

* update README

* add delay

* check for missaligned start

* Update compare_logs.py

* should finally work now, I hope...

* update comment

* real fix

* real fix now

* fix styling

* fix styling

* Update process_replay.py

* fix code review

* speed up tests

* Update selfdrive/test/process_replay/process_replay.py

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

* Update selfdrive/test/process_replay/process_replay.py

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

* fix reviews

* nicer code

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-12 11:18:53 +02:00
Dean Lee 8fc9cfea38
fix webcam build error (#2320) 2020-10-11 22:45:19 -07:00
vanillagorillaa b47f8be0ec
RAV4TSS2: Additional fw (#2317) 2020-10-11 12:06:34 -07:00
Adeeb Shihadeh d5796e07e2
more accurate profiling (#2287) 2020-10-10 15:17:02 -07:00
VirtuallyChris 4953fb8668 Add Sienna engine fw 2020-10-09 19:20:22 -07:00
Afshin1354 fe40cd4ff1
2018 Lexus RX 350 engine fw (#2306)
* Update values.py

Add FINGERPRINT and carFw for 2018 LEXUS RX 350.

* Removed 2018 RX 350 Fingerprints but left engine in there.
2020-10-09 18:54:32 -07:00
ZwX1616 cb58e79ee8
Test camerad in CI (#2297)
* remove unused junk

* check frame pkts

* from magic

* self

* cleanup

* add todo

* no opencv

* run in J

* fix conv

* make 250x faster

* abs

* should be +1

* depends on starting phase

* block on furniture refactor

* fixed

* restart test

* check ex

* need scaling
2020-10-09 16:31:25 -07:00
ZwX1616 00b642146f
tici camera art II (#2223)
* protect highlights

* fix modeld scale factor

* rewrite logic for accurate and smooth AE

* fix condition

* tune speed

* move to qcom2

* not exactly 2x

* avoid hunting due to ettr policy

* tune to new curve

* gain kickdowns

* log params

* 4x legroom

* no limit needed here

* simple lowpass

* tweak

* pin to a remote core

* speedup AE and lower night exp

* this curve makes more sense

* tuning from fleet data

* fix ui

* only qcom2

Co-authored-by: Comma Device <device@comma.ai>
2020-10-09 16:26:43 -07:00
Adeeb Shihadeh cb85a19350 add timeout to modeld replay 2020-10-09 16:25:21 -07:00
Adeeb Shihadeh de75992c48 remove unused img 2020-10-09 15:48:05 -07:00
Adeeb Shihadeh 024c33e724 add acura rdx test route 2020-10-09 13:57:58 -07:00
ZwX1616 84e83e88a3
Fix dcamera inaccurate fps on OP3T and LP3 (#2305)
* fix op3t pclk

* fix leeco fps
2020-10-09 11:26:32 -07:00
Willem Melching cfd16faad2
boardd always send can packet (#2307)
* boardd always send message

* Only log missed cycles when ignition is on

* Just clip, no completely different code paths
2020-10-09 12:45:43 +02:00
Adeeb Shihadeh 671183184b
UI cleanup + startup time improvement (#2295) 2020-10-08 19:29:56 -07:00
ZwX1616 80515576d5
Upgrade to SNPE 1.41.0 (#2285)
* snpe 1.41.0

* cleanup

* unignored

* where is my symphony

* add snpe/dsp to release files

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-08 17:18:01 -07:00
Willem Melching 018267dfec Add sonata engine FW 2020-10-08 21:17:10 +02:00
Willem Melching f65733f744 update sonata fingerprint 2020-10-08 21:13:39 +02:00
Shane Smiskol 6133f603f0
Use math instead of numpy for calculating TTC, on average 80% faster (#2293)
* Use math instead of numpy, on average 80% faster

* whoops
2020-10-08 14:23:53 +02:00
Willem Melching b682ebc022
fix loggerd rotate (#2291) 2020-10-07 16:59:32 -07:00
Willem Melching 2e739aa77c Fix gyro field name 2020-10-07 13:43:35 +02:00
Logan Lasiter 1a2efdc139
Present alert if fan isn't spinning (#2258)
* Present alert if fan isn't spinning

* allow entry

* Small updates

Moving to fan malfunction event

Only trigger event for uno or dos

* Changed checking fanSpeed > 50%

* Update text for fan malfunction alert.

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

* Alert if fan isn't spinning for 5 sec

* Alert edit

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-07 12:15:09 +02:00
Adeeb Shihadeh 87942eea1c
remove green temp processes (#2286) 2020-10-07 12:11:54 +02:00
Adeeb Shihadeh bd4a1f291d cleanup duplicate function 2020-10-06 23:59:16 -07:00
Adeeb Shihadeh 38a23a55ec add offroad to cpu usage script 2020-10-06 21:12:38 -07:00
Adeeb Shihadeh f1c3662311 report git branch to testing closet 2020-10-06 21:00:19 -07:00