Commit graph

1439 commits

Author SHA1 Message Date
Erich Moraga 170d19a2e1
Add CAR.RAV4H_TSS2 ESP f/w (#2213)
@kranzler#5198  2020 RAV4 Hybrid  DongleID 9f13dd7cadc3591e
https://discord.com/channels/469524606043160576/524327905937850394/757632175318368316
2020-09-21 10:15:38 -07:00
Dean Lee 0e5a5efffc
read bool param with read_db_bool (#2205)
* read bool param with read_db_bool

* Update selfdrive/loggerd/loggerd.cc

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

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-09-21 18:17:35 +02:00
Willem Melching f55e79e46a
tici: BMX055 magnetometer& temperature sensor (#2212)
* BMX055 Magnetometer support

* add temp sensor
2020-09-21 17:33:36 +02:00
Comma Device 4be0e23ca5 Fix makefiles after read_file() helper 2020-09-21 08:03:36 -07:00
Dean Lee 6476207009
add function write_file() (#2181)
* add function write_file()

* handle EAGIN & EWOULDBLOCK

* don't  handle errno
2020-09-21 16:10:38 +02:00
Dean Lee 58e5223aba
touch.c:deleting useless function (#2208) 2020-09-21 11:43:54 +02:00
qadmus 72e0ac2de1
cleanup long planner, mpc: unused globals and arguments (#2211)
Co-authored-by: user <email@web.com>
2020-09-21 11:43:28 +02:00
Willem Melching 65e5032a97 Revert "tici: take into account frame timestamp (#2199)"
This reverts commit 3a494e144b.
2020-09-21 10:31:01 +02:00
Adeeb Shihadeh 0040ac987a add type hints to selfdrive/version.py 2020-09-19 14:55:27 -07:00
Adeeb Shihadeh 4acc82604d quick lgtm fixes 2020-09-19 12:53:36 -07:00
Adeeb Shihadeh 15e4048318
alertmanager type hints (#2201)
* alertmanager types

* clean that up

* more cleanup

* little more

* space
2020-09-19 10:53:14 -07:00
VirtuallyChris 6da22dd4b6 2019 C-HR fw 2020-09-18 18:43:21 -07:00
Adeeb Shihadeh 002e0065cb tici: set volume at 90% 2020-09-18 14:54:12 -07:00
ZwX1616 b3fad609d9 revert tici ui rotate 2020-09-18 14:12:03 -07:00
ZwX1616 911206fc41
tici camera art (#2188)
* nerf highlights

* prioritize less noise

* no overhead

* make focus easier

* cant finetune under high gain

* add some comments

* inspired by xx mindset

Co-authored-by: Comma Device <device@comma.ai>
2020-09-18 11:43:41 -07:00
Willem Melching 3a494e144b
tici: take into account frame timestamp (#2199)
* compensate for frame processing time

* add rolling shutter time

* Add max frame delay of 250ms

* only delay on tici
2020-09-18 17:42:29 +02:00
Willem Melching 39fc171f91 Only run rtshield when onroad 2020-09-18 13:48:58 +02:00
Willem Melching 73a2067be3
Get power usage from current sensor (#2192) 2020-09-18 12:25:55 +02:00
Adeeb Shihadeh a81a18205e
type hints for alerts and fix community feature alert (#2196)
* fix startup alert for community features

* type hints for alerts

* more type hints

* fix dashcam only alerts

* more type hints
2020-09-17 22:06:31 -07:00
Adeeb Shihadeh b5466002ad
promote hyundai palisade to offically supported (#2195) 2020-09-17 21:35:30 -07:00
Adeeb Shihadeh b341fdc644
Realtime shield (#2194)
* cpu 3 shield

* set priority before affinity

* add to release files

* only run on android
2020-09-17 15:49:14 -07:00
Adeeb Shihadeh 92922ce2ae these should be debug logs 2020-09-17 13:14:18 -07:00
Willem Melching 9330070bb5
tici: offroad ui powersave (#2191)
* ui powersaving

* Lower brightness even more
2020-09-17 15:50:09 +02:00
Adeeb Shihadeh ebab660622
rt debug scripts (#2165)
* rt debug scripts

* bigger buffer

* cleanup

* move to internal

Co-authored-by: Comma Device <device@comma.ai>
2020-09-16 17:42:37 -07:00
Comma Device 45c58f561a fix tici ui lag 2020-09-17 00:13:54 +00:00
VirtuallyChris 2163b1e1df Add 2020 Highlander and Ridgeline fw 2020-09-16 17:01:30 -07:00
Adeeb Shihadeh 33ad9d67ea add android procs to cpu usage sript 2020-09-16 15:47:44 -07:00
Adeeb Shihadeh ef21b83937
Improve realtime performance on NEOS (#2166)
* fix setting core affinity

* dmonitoringd doesn't need rt priority

* android only gets two cores

* model and planner get core 2

* log missed cycle count

* neos update

* prod image

* revert NEOS changes

* still need this
2020-09-16 15:33:12 -07:00
Erich Moraga 60d5cb2be5
Add CAR.LEXUS_RX various missing firmware (#2189)
@fire#7210  2018 RX350L  DongleID/route  45b442be1779b307|2020-09-15--12-04-24
2020-09-16 14:15:23 -07:00
Erich Moraga fd3cc05149
Add firmwares for CAR.COROLLA_TSS2 (#2185)
jun Jin#6444 2019 Malaysian Corolla sedan w/ TSS2
DongleID/route 7bc774bc8e17fd8a|2020-09-16--14-28-46
https://discord.com/channels/469524606043160576/524327905937850394/755781555779010630
2020-09-16 13:35:59 -07:00
Dean Lee 8f45685c91
remove unused submaster (#2187) 2020-09-16 11:11:07 -07:00
Willem Melching 855f52c3e0
hub is handled by systemd gpio service (#2172) 2020-09-16 17:58:46 +02:00
Willem Melching 9bbb166303
tici: fix ui rotation (#2184)
* rotate ui 90 degree

* put rotation behind ifdef

* Also ifdef that

* ui intrinsic_matrix

* that doesnt do anything

* Keep parent on non qcom
2020-09-16 17:46:08 +02:00
Shane Smiskol 23b38a878b
Update 17 Corolla safetyParam (#2175) 2020-09-16 11:40:19 +02:00
HaraldSchafer 0b849d5a4e
only do reset if already calibrated (#2176) 2020-09-15 07:44:13 -07:00
Adeeb Shihadeh 0604f194b3 bump max vision clients for tici 2020-09-14 21:29:46 -07:00
Comma Device c9183c11bd fix tbuffer img tearing 2020-09-15 03:32:29 +00:00
Adeeb Shihadeh 16f40e6ff3 fix stretched UI on pc 2020-09-14 19:07:14 -07:00
ZwX1616 13588e4255
improve tici camerad robustness (#2135)
* equalize performance on three threads

* need to request first

* clean up indexing

* obsolete

* handling skips and drops

* clean up repeated chunks

* use main frame id

* oneshot

* real skip check

* move to test

* should be cropped H here

Co-authored-by: Comma Device <device@comma.ai>
2020-09-14 16:05:57 -07:00
Comma Device 3801374da9 need to free tici DSP asap 2020-09-14 22:03:13 +00:00
ZwX1616 a2adfdb155
Cut down unnecessary DM uncertain alerts (#2157)
* cut down high std alerts

* clean comments

* uncertain curve tune

* update test gt

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-09-14 10:43:19 -07:00
HaraldSchafer df99316621
Auto reset bad calibration (#2151)
* initial commit

* thanks pylint

* smoooooth

* cleanup

* cleaner

* switched

* always decay weight
2020-09-14 04:02:58 -07:00
Dean Lee 272f60221c
use MessageBuilder::toBytes (#2167) 2020-09-14 01:17:00 -07:00
Adeeb Shihadeh 74801bd216 send initial calibration packet immediately 2020-09-13 13:54:14 -07:00
Dean Lee 9fa56b4eab
more messagebuilder (#2162)
* more messagebuilder

* little more

* revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-09-13 13:00:06 -07:00
Adeeb Shihadeh ea06941d4d set canValid for mock car 2020-09-13 11:32:37 -07:00
Adeeb Shihadeh 4d5733924a
message builder (#2161)
* use custom MessageBuilder from cereal

* use MesageBuilder.toBytes

* bump cereal

* unused

* another one

* fix ui msg

Co-authored-by: deanlee <deanlee3@gmail.com>
2020-09-12 21:48:15 -07:00
Dean Lee 8417be6f40
UI: simplify layout calculation (#2131)
* add Rect struct

* simplify layout calculation by using viz_rect

* fix

* add whitespace

* use the correct value for vwp_w

* correct vwp_w again

* rebase

* dd
2020-09-12 18:35:36 -07:00
Adeeb Shihadeh fdbfe52927
tici driver monitoring (#2158)
* use cpu for now on tici

* pin to core 5

* fix driver view

* probably wrong

* correct this time

* RHD too

Co-authored-by: Comma Device <device@comma.ai>
2020-09-12 17:50:22 -07:00
Adeeb Shihadeh a4a4e28c1a prevent reversing alert from showing while changing gears 2020-09-12 17:21:30 -07:00
ZwX1616 e9f49254da
swap ur/dl (#2153) 2020-09-11 11:29:19 -07:00
Adeeb Shihadeh 56c3d8e4d1 run deleter on tici 2020-09-10 17:21:24 -07:00
Adeeb Shihadeh 8e24939613 remove unused import in cycle_alerts 2020-09-10 15:24:09 -07:00
Adeeb Shihadeh e0004d0981
Reduce paramsd and calibrationd CPU usage (#2119)
* reduce paramsd cpu

* reduce calibrationd cpu usage

* calibration_helpers was mostly unused

* more calibration cleanup

* update refs

* fix thresholds in CPU test
2020-09-10 12:16:29 -07:00
Willem Melching 7cc5710974
Tici light sensor (#2150)
* more generic sensor base class

* add file sensor

* light sensor working

* correct sensor type
2020-09-10 15:11:13 +02:00
Willem Melching d4328365e9 cleanup controlsd env variable reading 2020-09-10 12:19:14 +02:00
Vivek Aithal c5dfbe7a72
dockerize carla + openpilot (#2011)
* dockerize carla + openpilot

* separate dockerfile

* bring back CI dockerfile

* cleanup bridge

* add op docker build and start script

* build container in CI

* fix camerad hack

* remove most magic numbers from bridge.py

* openpilot-sim docker build and run scripts

* fix dmonitoring hacks

* revert controlsd hacks

* clean up build scripts

* singular

* fix path

* fix image name

* modify sim readme

* sim readme and start script changes

* dockerfile with working opengl

* working opengl + passing panda build_st in docker

* fix bug in sim docker file

* bugfix sim docker file

* bugfix all op-sim docker issues

* modify readme + run script

* IT DRIVES

* clean this up

* more cleanup

* cleanup docker stuff

* more cleanup

* start with openpilot-base

* install carla python package

* Script is not in lib

* chmod

* everything should be running in docker now, the code may not be nice though

* works locally...

* rhdChecked is deprecated

* Checkout using git lfs when building sim container

* try to pass the tests

* pull latest docker

* gps should not throw an error on openpilot launch in bridge.py

* fixed a coding style error

* Only start ubloxd in car

* fixed more style problems

* revert typo

* Use enviromental variable to prevent errors in a simulator

* Remove unused import

* Attempt to fix missing enviromental variable

* fix typo

* less work for users, auto tmux engagement

* less work for users, auto tmux engagement

* fix check for nvidia

* clean up nvidia check

* remove typo, shorted dockerfile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Bruce Wayne <batman@workstation-eu-gregor.eu.local>
Co-authored-by: Gregor Kikelj <gregor1234567890@gmail.com>
2020-09-10 12:14:49 +02:00
Adeeb Shihadeh 0ebc037be7
turn display on in spinner (#2148)
Co-authored-by: Comma Device <device@comma.ai>
2020-09-09 20:24:13 -07:00
Jafar Al-Gharaibeh 6c292c3f0c
Split car identities to CX5, CX9, and Mazda3 (#2097)
Add test routes for CX9 and Mazda3

CX9: "10b5a4b380434151|2020-08-26--17-11-45"

Mazda3: "74f1038827005090|2020-08-26--20-05-50"

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-09-09 16:02:26 -07:00
Adeeb Shihadeh fde8b18f73 set params for new test 2020-09-09 15:57:06 -07:00
Adeeb Shihadeh fae13bf07e fix timing issues with new test 2020-09-09 15:16:05 -07:00
Adeeb Shihadeh a3c1de1e66 simple unit test for startup alert 2020-09-09 14:40:16 -07:00
VirtuallyChris 7fb0eb4e17 Add 2020 Highlander Hybrid fw 2020-09-09 14:26:51 -07:00
Comma Device d6571aa633 wait 5s before showing waiting for controls 2020-09-09 13:19:20 -07:00
Adeeb Shihadeh acd1bde496
QT UI: sounds (#2078)
* move android into own dir

* fix name

* maybe this works? qt ui doesn't work on mac

* fix that

* pc sound works

* fix pc build

* lowercase

* that needs to be real_arch

* split into classes

* fix typo in lib

* Fix cycle alerts

* Add qt multimedia libs to install scripts

* Add ui/android folder

* Fix android build

* Raise exception if sound init fails

* add missing return

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-09-09 19:04:28 +02:00
Adeeb Shihadeh 9cd88526b5
hide camera view when in reverse (#2144)
* partially hide camera view when in reverse

* lowest priority

* update ref commit

* fix type

* update refs
2020-09-09 00:11:12 -07:00
Willem Melching e8c8e9dab2 ui: glTexImage2D only redundant on QCOM 2020-09-08 14:33:27 +00:00
Willem Melching 7cd4815773 link ui against right opengl(ES) lib 2020-09-07 17:13:47 +02:00
Adeeb Shihadeh e386133c4b
Always keep display on with ignition (#2138)
* keep display on with ignition

* fix typo

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-09-07 13:13:10 +02:00
ZwX1616 6a8cd6e054
Fix loggerd not rotating encoder if dcamera upload disabled (#2133)
* should only count after the check

* include no dcam

* no need to copy

* run with both param

* independent idx

* not break test if no device

* remove unused

* EON D is half

* needs test for qcamera too

Co-authored-by: Comma Device <device@comma.ai>
2020-09-06 01:21:26 -07:00
Erich Moraga bdc668d9be
CAR.CAMRY f/w (#2134)
rap777#5376 DongleID 6c7451b19113581c
https://discord.com/channels/469524606043160576/524327905937850394/751358475237589022

Verified working from my own fork, per...
https://discordapp.com/channels/469524606043160576/538741329799413760/751603387778465873
2020-09-04 18:20:02 -07:00
Adeeb Shihadeh 660e734022
sidebar cleanup (#2130)
* sidebar cleanup

* undo that
2020-09-04 15:05:45 -07:00
Adeeb Shihadeh 5838a88a3f update refs after new alert 2020-09-04 14:09:26 -07:00
Adeeb Shihadeh 86f4d86cd7 make calibrationInvalid a permanent alert 2020-09-04 13:20:48 -07:00
HaraldSchafer 01111b3f28
remove vp everywhere (#2122)
* remove vp everywhere

* wrong dimension

* useful disclaimer

* switcheroo

* imcomplete switcheroo

* did it wrong again

* difference look small enough

* fix comment
2020-09-04 03:05:20 -07:00
Greg Hogan 1e6c7c94e4 fix pylint errors 2020-09-03 18:46:13 -07:00
Shane Smiskol fb6f6268d3
TextWindow Enhancements (#2114)
* cause error

* revert for now

* decrease font by 10 pts

* remove unnecessary () for class ;)

* move exit button closer to right corner

* 70% transparency for black background

* cause error

* well that's not right

* try showing more lines

* actually show last three lines

* forgot to join

* debug what we can leave out

* show last four files

* revert

* show 3 lines and one extra for last erroring line

* increase by 5 points

* move text left a bit

* fix

* fix

* two more lines

* add double indentation for formatting

* remove indentation of file lines

* fix

* fix

* try this

* try this

* make lines shorter

* clean up error code in manager

* try one more

* reduce lines altered in PR

* four is good

* this actually isn't required anymore

* can move more left

* and increase size

* slightly less

* slightly less

* try a different error

* try last three with negative

* revert to 75

* fix

* clean up

* remove path hiding

* revert offsets

* revert
2020-09-03 17:54:49 -07:00
Adeeb Shihadeh 6fad82e710 clean up old params 2020-09-03 16:37:48 -07:00
Adeeb Shihadeh 848301b091
UI vision refactor (#2115)
* refactor vision

* don't show slow frame message when in preview mode

* change draws to uint32_t

* set vision_seen=false after destroy

* remove vision_connect_thread

* refactor ui_update

* seelp 30ms when vision is not connected

* remove should_swap

* call ui_update_sizes before ui_draw

* rebase

* start bigger UI refactor

* don't need the touch fd

* fix qt build

* more cleanup

* more responsive

* more refactor

* fix for pc

* poll for frames

* lower CPU usage

* cleanup

* no more zmq

* undo that

* cleanup speed limit

* fix sidebar severity for athena status

* not aarch64

Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-09-03 16:32:55 -07:00
Willem Melching 8880ec81f2 add more opengl info on startup to pc ui 2020-09-03 14:31:31 +02:00
Dean Lee f71467b450
release copy_q in visionbuf_free (#2121) 2020-09-02 21:11:25 -07:00
VirtuallyChris 48b16b6b1c Add 2020 Highlander engine fw 2020-09-02 16:29:17 -07:00
Adeeb Shihadeh daea946ad2
sensord cleanup (#2111)
* sensors_qcom cleanup

* include vector and map

* abstract sensor init

* use a set

* add to relase files

* fix this up

* no ui changes

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2020-09-02 14:04:55 -07:00
Willem Melching 5c058140ed
tici: fix set_realtime_priority (#2124)
* cleanup and pin modeld to core 5

* Unused import
2020-09-02 17:52:41 +02:00
Willem Melching 92de562ed9 pc ui: print opengl version on startup 2020-09-02 15:46:39 +02:00
Willem Melching 873043b9fb 1024 MB should be enough for anyone 2020-09-02 15:12:30 +02:00
VirtuallyChris 9ad9076486 Add Insight fw 2020-09-01 19:01:19 -07:00
Adeeb Shihadeh 1e5a935ff0
paramsd process replay test (#2118)
* paramsd process replay test

* cleanup
2020-09-01 18:31:26 -07:00
Adeeb Shihadeh 21fbe26980
Reduce plannerd and dmonitoringd CPU usage (#2108)
* fix wasted cycles in locationd and dmonitoringd

* bump cereal

* calibrationd

* Revert "calibrationd"

This reverts commit 580051a33b.

* this is cleaner

* calibrationd

* paramsd is driven by liveLocationKalman

* only log params once a minute

* stricter CPU usage test

* revert locationd for now

* revert calibrationd too

* revert thresholds
2020-09-01 16:41:09 -07:00
Comma Device 18884743a6 remove recurrent LOGD and prints 2020-09-01 20:15:39 +00:00
Comma Device 80838f3693 use buffered meta 2020-09-01 18:55:15 +00:00
Willem Melching 4891d3787a
Wait 5 minutes after offroad before changing thresholds (#2113) 2020-09-01 11:25:04 +02:00
Willem Melching 42b6292fa5
ui: simplify shader versions and fix hardcoded texture size (#2112)
* fix shader version

* fix texture buffer size

* Attribute/Varying is deprecated
2020-08-31 15:02:01 +02:00
Willem Melching 01b3079451 Fix camera view on PC 2020-08-31 13:16:30 +02:00
Adeeb Shihadeh 63436373d2
Remove opencv from phonelibs (#2107)
* remove opencv from phonelibs

* clean that up too
2020-08-30 18:23:23 -07:00
Adeeb Shihadeh 4569e51b3e Revert "Added Toyota Camry 2019 (AUS) SX(2.5L FWD, 6speed) firmware versions (#2096)"
This reverts commit 76a5ad3a5f.
2020-08-30 17:14:45 -07:00
Michael Honan 76a5ad3a5f
Added Toyota Camry 2019 (AUS) SX(2.5L FWD, 6speed) firmware versions (#2096) 2020-08-30 17:01:26 -07:00
Shane Smiskol dfdbf6e416
Show lane lines and path while using uiview.py (#2104)
* add modeld and required calibd procs to uiview to display lane lines when debugging

* send radarState with empty message to show model path

* make uiview.py executable
2020-08-30 11:38:40 -07:00
Adeeb Shihadeh 349040d958
driver monitoring cleanup (#2101)
* read rhd from param

* don't need that anymore

* fix build

* bump cereal

* read param from camerad too

* add read_db_bool helper

* bump model replay ref commit, IsRHD wasn't set
2020-08-29 17:16:00 -07:00
Adeeb Shihadeh 284938cd43 fix hyundai editing can parser values 2020-08-28 21:34:34 -07:00
Adeeb Shihadeh 45b4b6007a
lidar is a scam (#2094) 2020-08-28 16:21:05 -07:00
ZwX1616 b7bc342cc8 need no divided by 2 2020-08-28 12:20:36 -07:00
Adeeb Shihadeh 33fd13cc8c fix CI cache auto-deletion 2020-08-28 11:19:20 -07:00
Adeeb Shihadeh 9cd5180b43
remove read_param_timeout (#2095)
* remove read_param_timeout

* missed that
2020-08-27 19:24:51 -07:00
ZwX1616 9731e7a0d7 not show soft recover alerts 2020-08-27 17:59:26 -07:00
Adeeb Shihadeh 685340d578
Sound stability test (#2089)
* play sound

* clean this up

* no cereal

* fix module issue

Co-authored-by: Comma Device <device@comma.ai>
2020-08-27 15:50:48 -07:00
Adeeb Shihadeh 82f40f6ff5 small uploader cleanup 2020-08-27 14:22:59 -07:00
Adeeb Shihadeh 43e3ec1bc1
UI cleanup (#2091)
* remove unused UI code

* these params aren't used anymore

* this is cleaner

* remove one more timeout

* read that from carParams

* only android needs pm

* fix that

* fix that

Co-authored-by: Comma Device <device@comma.ai>
2020-08-27 11:57:31 -07:00
Willem Melching 3517d45802 make sure snpe can find libopencl 2020-08-27 11:35:52 +00:00
Willem Melching 658e9d8316 open by path instead of number 2020-08-27 09:44:52 +00:00
robbederks 37d6472bfa
Tici camerad (#2048)
* fix camera config

* typos

* oops

* more typo

* lambless

* forget to send

* visualize hist

* more typo

* 0xC000

* simple

* data loss prevention, clean up later

* loggerd

* back up code

* backup

* fixed memory leak

* fix vsync

* upload ecam

* WB

* 3stream

* fix OMX crash on loggerd rotation

* rewritten debayer kernel

* update viewer

* improved AE

* no artifact lines/grids

* standard trigger

* cleanups

* CCM

* cleanups

* slight tweak

* upd push sock

* build all these

* update tele fl

* update cereal

* upd viewer

* DualCameraState -> MultiCameraState

* cameras_open

* disable frame zmq push by default

* more cleanup

* no apks

* fix submodule error

* wat

* clean up trash

* remove junk

* only build on qcom2

* no need to check these

* update cereal

* some more minor cleanup

* bump panda

* add todo

* minor typo

* Revert "minor typo"

This reverts commit 9233a1df7c.

* not care

* use consistent hdr

* some cleanup

* Update selfdrive/camerad/main.cc

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

* more cleanups

* remove irrelevant stuff

* this too

* cleanup

* rerun ci

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-26 19:59:56 -07:00
ZwX1616 3014280d1a
Fix OMX error on loggerd rotation when using multiple cameras (#1953)
* cherry pick from f8745d3002

* update cereal

* missed this line

* add enum

* Update selfdrive/loggerd/loggerd.cc

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

* Update selfdrive/loggerd/loggerd.cc

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

* use same logroot

Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-26 15:02:51 -07:00
Adeeb Shihadeh 7bee1dbdbf missing two f's, loggerd should really work on pc 2020-08-26 13:48:54 -07:00
Adeeb Shihadeh ff5d98f85f add frame count check to loggerd rotation test 2020-08-26 13:06:32 -07:00
Willem Melching a7be2b090d larch64 dmonitoringmodeld fixes 2020-08-26 17:49:20 +00:00
Willem Melching e88edeb051
apport support for tombstoned (#2087)
* apport support for tombstoned

* Update manager

* Update comment
2020-08-26 19:06:56 +02:00
Willem Melching cd6ec8211c
larch64 modeld fixes (#2086) 2020-08-26 17:18:05 +02:00
Willem Melching 5782efe3ae
Systemd logcatd (#2085)
* Systemd logcatd infrastructure

* This should work

* Cleanup

* Split

* More compact and cleanup

* Add to ubuntu setup package list

* Run logcatd on all non pc platforms
2020-08-26 17:09:23 +02:00
Willem Melching c7152d5419
Hardware abstraction class (#2080)
* hardware abstraction class

* De Morgan

* Rename pc hardware class

* Fix sound card in controlsd

* Pc get sim info

* fix hardware in test

* two more

* No more random imei on android

* no randomness on android

* Need to return something that looks like imei for registration to work

* Return proper network strength

* Unused import

* Bug fixes + gpsd is only android
2020-08-26 14:57:17 +02:00
Willem Melching 41b0cba0dd sensord: more precise 100 Hz, compensate for time spend measuring 2020-08-26 12:10:50 +02:00
robbederks 622e42d504
Tici sensord (#2072)
* tici sensord: WIP

* add sensor constants

* rename files

* base class

* init sensors

* publish something

* dont leak memory

* try reading from accel

* Accel works

* add time and sensor source

* Update release files

* If we want low BW we want 125hz

* this should run gyro as well

* add filter on gyro

* also filter accel data

* Add i2c files

* cast makes macos unhappy

* Same outputs as android sensord

Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-08-26 11:30:30 +02:00
ZwX1616 521b6688ea
wait longer for tici camerad startup 2020-08-25 21:07:50 -07:00
ZwX1616 87473fbc41
Loggerd rotation test (#2077)
* loggerd test

* delete afterwards

* add ccc

* fix pylint

* cleanup rotation test

* this works

* bump tolerance

* clear the data after test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-08-25 18:31:49 -07:00
Willem Melching e497b95f54
Universal clocksd (#2075)
* universal clocksd

* start in manager

* remove android include

* Apple hacks

Co-authored-by: Comma Device <device@comma.ai>
2020-08-25 10:53:04 +02:00
Adeeb Shihadeh 7956bb6883
mac ui kind of works (#2079) 2020-08-25 00:56:42 -07:00
VirtuallyChris ac4e244b3b More Insight FW versions 2020-08-24 16:11:24 -07:00
Dean Lee 71eedbce44
Remove unnecessary string copy (#2067) 2020-08-24 09:25:16 -07:00
Willem Melching 6bb2630eba
Pandad: turn on panda power (#2073)
* pandad turn on panda power

* Add gpio.py

* needs bytes

Co-authored-by: Comma Device <device@comma.ai>
2020-08-24 16:56:29 +02:00
Willem Melching 9eb3d89ca2
Thermald cleanup (#2049)
* Thermald cleanup

* no Temps, fix ui formatter

* Fix scaling

* Don't touch that

* typo

* Fix fan control

* Fix if

* change cereal

* Update comment
2020-08-24 14:17:41 +02:00
Dean Lee 08d6fe1880
paint.cc: deleted two meaningless lines (#2043) 2020-08-24 14:15:34 +02:00
eFini c7904cdec3
fingerprint for China 2019 CRV Hybrid (#2056) 2020-08-24 14:09:30 +02:00
Dean Lee 17dd07e751
visionstream: fix doube fd close (#2057)
* s->ipc_fd counld be closed twice

* white space
2020-08-24 14:07:27 +02:00
Dean Lee 727055e0a0
remove device_id&context from ModelFrame (#2064) 2020-08-24 14:04:52 +02:00
Dean Lee de7b901dc1
move matmul3 into live_thread (#2069) 2020-08-24 14:00:00 +02:00
Adeeb Shihadeh 520c2676b6
type hints for messaging (#2061)
* bump cereal

* fix bugs found by mypy

* bump cereal
2020-08-23 00:33:19 -07:00
Erich Moraga 1bfeacdeaf
Add 2020 RAV4 LE Hybrid engine f/w (#2058)
C0mpl3t3N00b#0074 DongleID bdad50b8a1f9fa8e...
https://discord.com/channels/469524606043160576/524592892627517450/746500256178372678
2020-08-21 16:17:34 -07:00
cydia2020 97bb55703e
Prius 2018 Engine FW (#2054) 2020-08-21 16:02:30 -07:00
Adeeb Shihadeh 732df68d84 small dmonitoringd cleanup 2020-08-21 14:55:12 -07:00
BrettLynch 1f4e16be3c
Added fingerprint for my 2020 Corolla Hybrid Sx sedan (#2052)
Co-authored-by: BrettLynch <metalworer@live.com.au>
2020-08-21 11:10:27 -07:00
Willem Melching d7f3690e85 ui: larger font size 2020-08-20 21:37:28 +02:00
Willem Melching 2410c7e26b ui: force GLES context 2020-08-20 21:33:32 +02:00
Robert Hanna 85ba6e0e2f
Add Lexus RX esp FW (#2050)
Add new Ecu.esp FW version to LEXUS_RX_TSS2
2020-08-20 10:55:35 -07:00
Willem Melching e03044530c boardd: return early from usb functions if not connected 2020-08-20 17:36:02 +02:00
Willem Melching b29d9da875 Revert "more init time in cpu test"
This reverts commit 03ec6af300.
2020-08-20 17:18:03 +02:00
Willem Melching e115c51452
Qt ui for PC (#2023)
* qt ui boilerplate

* this kinda works

* cleanup

* render inside other widget

* cleanup

* more cleanup

* Not needed

* Handle click

* Draw at 20Hz

* create paint.hpp

* move stuff around

* update sidebar

* Draw vision

* this works again

* add clickable settings button

* Only collapse sidebar when started

* always use qt on linux

* fix width

* scrollable area

* talk to NetworkManager

* code to add a connection

* params toggles

* small cleanup

* add qt5 to dockerfile

* Qt on mac

* Add qt to release files

* fix macos build

* nore more ifdefs needed

* add icons

* make a bit nicer

* Hide scrollbar

Co-authored-by: Comma Device <device@comma.ai>
2020-08-20 17:16:44 +02:00
Willem Melching 03ec6af300 more init time in cpu test 2020-08-20 15:20:59 +02:00
Adeeb Shihadeh 2476ea213c clip carBatteryCapacity to 0 2020-08-19 12:34:49 -07:00
Adeeb Shihadeh 266ef886dd add a sleep after cloudlog 2020-08-18 11:52:01 -07:00
Adeeb Shihadeh a46d2f5b17 log when thermald shuts down device 2020-08-18 07:45:20 -07:00
Dean Lee f8ab6bd009
ui: refactor model related functions (#2026)
* remove read_model

* remove structs for c-capnp

* remove duplicate #define from modeld

* add function fill_path_points

* fix Indentation

* use MODEL_PATH_DISTANCE instead of 192

* fix type

use validLen

* rename left_path_points&right_path_points to xxx_lane_points
2020-08-18 15:26:43 +02:00
Dean Lee 963c00db09
fd should be initialized as -1 (#2041) 2020-08-18 15:22:26 +02:00
Adeeb Shihadeh 744fe71801
remove old tests (#2040) 2020-08-18 15:21:47 +02:00
Adeeb Shihadeh 21a1792f89 remove dead code in updated 2020-08-17 16:21:55 -07:00
Adeeb Shihadeh 86dc54b836 bump version to 0.7.9 2020-08-17 12:49:08 -07:00
robbederks c624b40842
more panda fault types (#2036) 2020-08-17 13:02:06 +02:00
Dean Lee fe43d51686
paint.cc: remove redundant calls (#2025)
* remove redundant calls

* set MODEL_LANE_PATH_CNT=2
2020-08-17 12:06:09 +02:00
Dean Lee 934506e154
fix two little bugs (#2033) 2020-08-17 11:59:27 +02:00
robbederks 7555379b2b
Car power integrator + power management refactor (#1994)
* wip, ready to test

* tweaks

* fix

* fix

* fix power monitoring

* fix param writing

* no forced charging on high voltage

* reset capacity on reboot

* don't shutdown unless started seen

* fix unused var warning

* fix linting errors

* time is always valid

* QCOM gate

* Local params

* decimate saving

* fix linting

* rename param

* Log car battery capacity

* fix put_nonblocking

* Added some unit tests

* Add test to docker test list

* fix precommit

* cleanup

* run tests in CI

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-17 11:56:27 +02:00
Dean Lee d158837617
add function cl_get_device_id (#1948)
* add func cl_get_device_id

cleanup

* add fix from review
2020-08-17 11:24:39 +02:00
Chris 1b52930a52
Kilometers per hour now displayed as km/h (#2032)
Fixes #2031

Signed-off-by: Christopher Rabotin <christopher.rabotin@gmail.com>
2020-08-17 11:16:52 +02:00
Dean Lee 36801a70eb
init and destroy transform_lock (#2003) 2020-08-16 16:31:53 -07:00
Adeeb Shihadeh 862259a94b
exit camerad cleanly on PC (#2035) 2020-08-16 16:11:09 -07:00
Erich Moraga 70c7a72d4a
Add fwdCamera f/w for CAR.COROLLA_TSS2 (#2028)
Nv#6820 DongleID 4dc9a71c543a576f  2020 Corolla LE ICE
https://discord.com/channels/469524606043160576/524327905937850394/744254107874885652
2020-08-15 11:48:27 -07:00
Erich Moraga d99aa16b7d
EU Corolla Hybrid TSS2 EPS f/w (#2027)
@Lexdaadler#0295 DongleID 940e337f5fcf4d4e
https://discord.com/channels/469524606043160576/524327905937850394/744162927954755615
2020-08-15 10:55:26 -07:00
Adeeb Shihadeh 5641aeee7a increase CPU test timeout to allow for installing new APKs 2020-08-13 15:10:00 -07:00
Willem Melching 502cc665e0
Pigeon abstraction layer (#1977)
* pigeon abstraction layer

* Fix string literals

* more generic pigeon class

* add TTYpigon

* nicer tty error handling

* close tty fd on pigeon delete

* pigeon receive return std::string

* use sizeof

* max receive size to prevent infinite loop

* remove namespace

* add unistd include for usleep

* fix is pigeon

* Handle tty error in opening

* fix printing binary strings with dump.py

* fix pigeon build on macos

* Handle errors seperately

Co-authored-by: Comma Device <device@comma.ai>
2020-08-13 10:10:50 +02:00
Adeeb Shihadeh 0394b8b921 fix get_git_remote not returning a value 2020-08-12 13:50:51 -07:00
Adeeb Shihadeh cb5a2996e7
NEOS background updater (#1892) 2020-08-12 11:39:21 -07:00
Willem Melching e909fddac0 Force battery temperature to 0 on comma two 2020-08-12 16:36:17 +02:00
Willem Melching c3a4558026
Don't check dirty on prebuilt release (#2014)
* dont check dirty on prebuilt release

* cleanup

* Command cleanup

* Only log dirty comma branch

* Less whitespace

* Consistentcy

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-12 11:38:38 +02:00
Comma Device a228c4d0a0 fix boardd build 2020-08-12 09:02:13 +00:00
Adeeb Shihadeh 60e2267f02 fix linter 2020-08-11 20:37:51 -07:00
xps-genesis 5663c116ed
update optima fingerprint and Fw Fp (#2017)
* update optima fingerprint and Fw Fp

* Update values.py

* fix indent

* not ignored

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-11 18:57:16 -07:00
Adeeb Shihadeh 335aa31895 update total scons nodes 2020-08-11 16:24:53 -07:00
Adeeb Shihadeh 8e63f06540
Alert when updated consistently fails (#2013)
* alert when update fails more than 10 times

* bring over offroad alert refactor from other branch

* and we have tests

* use it in snapshot

* bump apk

* don't show exceptions on release branches

* only write when changed

* why does delete use so much cpu

* clean that up

* little more
2020-08-11 16:23:57 -07:00
Adeeb Shihadeh f3adedacb2 increase controlsd CPU test threshold 2020-08-11 13:43:19 -07:00
xps-genesis a3d754a8d8
Car Port: 2020 Hyundai Kona (#2010)
* update KONA car port

* update Kona  Car Port

* ignore kona EV

* add Kona route

* update readme for Hyundia Kona

* remove electric for regular Kona
2020-08-11 13:42:19 -07:00
Dean Lee f3fb406eee
camerad: protect concurrent access to shared variables and avoid race conditions (#1966)
* Protect concurrent access for shared resources

* fix
2020-08-11 11:40:11 -07:00
Erich Moraga 8c9378af79
Added additional IS 300 engine f/w (#2015)
@Asochgelt#1815 DongleID|route 3da61f28d4ece0e8|2020-08-11--09-25-48

Also expanded the firmware layout to make additional f/w entries easier.
2020-08-11 11:29:19 -07:00
martinl c9adc4900b
Add preglobal Subaru Forester and Outback (#1993)
* Add preglobal Forester and Outback

* Tests and values cleanup

* Update units in carstate

* Remove ()

* Add OUTBACK_PREGLOBAL_2018 to non_tested_cars

* Add replay route for OUTBACK_PREGLOBAL_2018
2020-08-10 12:31:40 -07:00
xx979xx 4f0c75291b
fix for PC: detach panda kernel driver if active (#1950) 2020-08-09 01:08:09 -07:00
xps-genesis a16a948f9e
Car Port: Hyundai Genesis G70 2018 (#2000)
* Car port Genesis G70

* Car port G70

* rebase

* update G70 car port

* Update README.md

* no space

* rebase mistake

* Update values.py

* Update values.py

* Update values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-08 22:20:25 -07:00
Adeeb Shihadeh ecf0a8c8d4
Improve CPU usage test reliability (#2002)
* run phone tests in parallel

* better cpu test

* re-enable test

* no root

* terms version

* not one

* yes

* debug

* that's coverd by min cpu percent
2020-08-08 20:59:32 -07:00
Dean Lee 55ece6991e
camerad: close ops_sock in camera_close (#1998) 2020-08-08 15:55:09 -07:00
Dean Lee cccb63229d
fix bug that visionstream_destroy may be called twice (#1999) 2020-08-08 15:50:36 -07:00
Adeeb Shihadeh cea8b9e67a update_ci_routes.py: upload route by arg 2020-08-08 14:30:31 -07:00
Adeeb Shihadeh ee99b59bad
fix missing negative limit in pid controller (#2001) 2020-08-08 11:49:13 -07:00
Adeeb Shihadeh 5e82578a1b
Remove non-SCC Hyundai Kona port (#1997) 2020-08-08 11:48:16 -07:00
Adeeb Shihadeh 31f57cb3a3 only check offroad in dmonitoringd on init 2020-08-07 10:48:03 -07:00
martinl e37b8e5d56
Subaru pre-global: add support for Subaru Legacy 2015-18 (#1805)
* Add support for Subaru Legacy 2015-18

* syntax fix

* Add Legacy 2018 FPv1

* Add Subaru Ascent from upstream

* Use GLOBAL_CAR and LEGACY_CAR lists

* Change LEGACY_2015 to LEGACY_PREGLOBAL

* Add LEGACY_CAR to carstate

* Change LEGACY_2015 to LEGACY_PREGLOBAL in test_car_models

* Add missing SafetyModel to Ascent

* Use GLOBAL_CAR and LEGACY_CAR to set safetyModel

* Change LEGACY_CAR to PREGLOBAL_CARS, remove GLOBAL_CAR

* Fix PREGLOBAL_CARS in carstate and subarucan

* Minor cleanups

* Add accelCruise button event

* Change Preglobal Driver Torque limit to match Global

* Match comments to upstream

* Use Steer_Warning and Steer_Error_1 only for Global

* Change mph units to match upstream values

* Increase Preglobal brakePressed  threshold to 2

* Add DashcamOnly to LEGACY_PREGLOBAL

* Fix typo in variable name

* Update README, add create_preglobal_steering_control

* cleanup carcontroller

* cleanup values

* missed that one

* Update STEER_STEP

* Update STEER_MAX

* Add preglobal signal frequency checks

* remove PREGLOBAL_CARS from subarucan

* Remove whitespace

* Use common frequency checks

* cleanup carstate

* cleanup subarucan

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-06 21:55:13 -07:00
Adeeb Shihadeh fe18a014c7
Updater tests (#1974)
* refactor exit handling

* test update

* more reliable?

* better

* init git in CI

* testy tester

* CI should work

* test overlay reinit

* only one

* still need to fix loop test

* more patience

* more patience in CI

* no ping in CI

* this is cleaner

* need to run these in jenkins

* clean up

* run in jenkins

* fix test file path

* it's a git repo now

* no commit

* reinit

* remove duplicate

* why not git

* la

* git status

* pythonpath

* fix

* no CI fro now

* check overlay consistent

* more tests

* make more changes in the update commit

* sample

* no k
2020-08-06 21:49:05 -07:00
VirtuallyChris 0fd763f902 Add Camry 2020 camera fw 2020-08-06 16:39:06 -07:00
Dean Lee fb41b984b0
release opencl objects (#1978) 2020-08-06 15:44:26 -07:00
HaraldSchafer d097abeb21
Track calib spread (#1988)
* add calib spread metric

* add field

* needs to be array

* update refs

* log valid blocks too

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-06 14:47:17 -07:00
HaraldSchafer 85a7ceaf07
persist falling until message sent (#1982)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-06 14:46:19 -07:00
Adeeb Shihadeh c8f5281c4d second segment is ok for car unit tests 2020-08-06 14:34:42 -07:00
Adeeb Shihadeh df78c9d4df remove dead lines from calibrationd 2020-08-06 13:57:01 -07:00
Adeeb Shihadeh a115366ddd
Improve update reliability and responsiveness (#1986)
* handle orphaned git lock

* trigger update after going offroad

* git ping
2020-08-06 12:49:11 -07:00
Harald Schafer 687afa9687 wrong units 2020-08-05 13:45:58 -07:00
Dean Lee c1e7b761a9
camerad: cache rgb_roi_buf&conv_result (#1979)
lgtm
2020-08-05 13:39:03 -07:00
Adeeb Shihadeh f61dcb6e12
Cleanup updated (#1981)
* remove dead code from updated

* no short

* simpler

* simplify that

* move that into the class

* little more
2020-08-05 13:29:03 -07:00
Harald Schafer 7032a40717 Revert "persist falling test"
This reverts commit 8cad9375d3.
2020-08-05 10:46:26 -07:00
Harald Schafer 8cad9375d3 persist falling test 2020-08-05 10:44:40 -07:00
Dean Lee ef435ef2ac
Make sure memory is released by using unique_ptr (#1958) 2020-08-05 12:27:56 +02:00
Adeeb Shihadeh 88c67e7e9f
improve updated responsiveness (#1973) 2020-08-04 13:48:19 -07:00
Cruise Brantley 85fc85b3c8
Add Kia Stinger transmission FW version (#1975)
* new Stinger transmission fingerprint

* Formatting
2020-08-04 13:05:13 -07:00
Dean Lee 681ff41261
remove selfdrive/common/visionstream.c (#1931) 2020-08-03 17:04:47 -07:00
HaraldSchafer 490ee52687
add fall filter and less FP on posenet (#1971)
* add fall filter and less FP on posenet

* add alert

* list

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-03 15:51:56 -07:00
Adeeb Shihadeh 1208ac424d
Cleanup locationd msg building (#1972)
* cleanup locationd msg building

* remove that
2020-08-03 14:58:15 -07:00
Adeeb Shihadeh 1e44b99478
Add missing chrysler can parser checks (#1967)
* add missing chrysler can parser checks

* toyota

* toyota cam

* toyota freqs

* chrysler freqs

* doors

* just chrysler for now

* update refs

* update again
2020-08-02 18:11:42 -07:00
xps-genesis 6e1bcdcb34
Add Hyundai Veloster 2019 (#1955)
* Add Hyundai Veloster 2019

* Add Hyundai Veloster interface.py

* add route for Hyundia Veloster

* steer ratio fix

* Update interface.py

* new longer route

* space

* ignored fingerprint

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-02 15:45:41 -07:00
Adeeb Shihadeh 433c9241f3 we have routes for these now 2020-08-02 15:25:09 -07:00
Adeeb Shihadeh 059a27d126
Update Hyundai DBC (#1968)
* update for new DBC update

* update to new DBC

* Ioniq uses SCC12. Ioniq EV lim uses FCA11

* update elect gear to EV_PC5 signal

* remove 'alt' from label

* revert

* update name to ev_pc5_gears

* update name to use_ev_pc5_gears

* Update values.py

* Update carstate.py

* bump opendbc

Co-authored-by: xps-genesis <65239463+xps-genesis@users.noreply.github.com>
2020-08-02 15:19:27 -07:00
Adeeb Shihadeh e10376f1ae
Add frequency check to hyundai camera can parser (#1965) 2020-08-02 11:17:18 -07:00
Dean Lee 56e63bafa8
remove duplicate call to getDMonitoringState (#1964) 2020-08-02 10:55:24 -07:00
Adeeb Shihadeh 9ee1cc9b82
Run CI tests in parallel (#1962)
* run car model unit tests in parallel

* remove refs to deleted file

* run with coverage

* that wasn't necessary

* as builder

* need a new route for this one too
2020-08-02 00:30:09 -07:00
Adeeb Shihadeh e89b2b8453
Test can valid in car unit tests (#1961)
* check can invalid

* remove bad lexus is route

* blacklist routes from before cam forwarding

* fix rav4 route with missing first segment
2020-08-01 22:38:19 -07:00
Adeeb Shihadeh a7ee2a53a8
Driver view refactor (#1869)
* quick driver view cleanup

* send at correct freq

* let manager handle that

* don't block starting on driver view

* fix UI hacks

* ui cleanup

* move driver view functionality into dmonitoringd

* dmonitoring thresholds shouldnt be in UI

* remove driver view file from release files

* timeout on frontview

* bump cereal
2020-08-01 17:26:35 -07:00
Dean Lee f80acad519
modeld: read frame_id if sm.update(0)>0 (#1947)
* read frameid if sm.update(0)>0

* move postion

same line
2020-08-01 11:01:43 -07:00
Willem Melching 80acb32825
Panda abstraction layer in boardd (#1919)
* start on panda abstraction layer

* handle bulk transfer in library

* Safety model abstraction

* Abstract hw type into library

* Handle disconnect

* RTC stuff

* Fan control

* Health

* Panda fw version

* Read serial

* Power saving

* Power mode

* Cleanup pigeon thread init

* Rename safety setter variable name

* Remove comment

* Unused global cleanup

* malloc -> new

* whitespace

* Use std::thread

* Use std::thread for safety setter

* Cleanup igntion_last global

* Heartbeat

* logd

* More global cleanup

* Put back sleep

* ir pwr

* Always broadcast health

* init struct with zeroes

* Fix eon build

* fix race condition

* fix Adeebs comments

* abstract can send and receive
2020-07-31 23:14:31 +02:00
Adeeb Shihadeh 1d7f4bc3b1 fix locationd profiling 2020-07-30 18:24:07 -07:00
HaraldSchafer 8e2d344135
Misc locationd improvements (#1714)
* I like this more

* rewind less

* bump rednose

* falling off windshield detectopr

* adjust thresholds

* this is a soft disable now

* move that

* process replay fixes

* update refs

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-07-30 15:33:22 -07:00
Adeeb Shihadeh 4658df7a66 add locationd, paramsd, dmonitoringd to CPU usage script 2020-07-30 15:28:58 -07:00
Adeeb Shihadeh 714f8c3f0b
Remove get_one_can from messaging (#1946)
* move get_one_can into openpilot

* bump cereal
2020-07-28 23:52:18 -07:00
Adeeb Shihadeh 63e4aeac9f fail new car model unit tests if missing a test route 2020-07-28 23:37:53 -07:00
xps-genesis 9853b5b1df
new palisade fingerprint (#1945)
* new palisade fingerprint

* update 1

* FP2 added

* spacing adjust

* missed a syntax
2020-07-28 20:22:43 -07:00
Adeeb Shihadeh acb25751b7 Revert "can't directly access sockets anymore", was supposed to be on branch
This reverts commit 6acda96a16.
2020-07-28 18:41:39 -07:00
Adeeb Shihadeh 6acda96a16 can't directly access sockets anymore 2020-07-28 18:37:16 -07:00
Shane Smiskol 2e59349b2e
Add a minimal debugging tool to show the UI while device not in car (#1937)
* add a minimal uiview file with alias from selfdrive/ui

* make ui_debug executable

* minimize uiview.py; remove os and functions. the processes exit normally when ctrl+c'ing out of the loop

* violating E401 here, save 1 more line

* kill on exit

* forgot signal

* new record! 15 lines

* add comments and declare some common variables. don't need to redefine the messages every loop
2020-07-28 11:15:16 -07:00
Dean Lee 2953ae2810
UI cleanup (#1941)
* remove unused variables

* remove unused variables
2020-07-28 11:13:37 -07:00
ZwX1616 2cfa0edb4c
EfficientNet driver monitoring (#1907)
* e96f9be6

* bump cereal

* filter sunglasses

* fix unittest

* update refs

* udpate refs

* update refs

* add tolerance for dmonitoringd

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-07-27 20:22:06 -07:00
Shane Smiskol 247ec73370
Update TOTAL_SCONS_NODES (#1938) 2020-07-27 18:23:38 -07:00
Adeeb Shihadeh 5453d8dd30
Add Lexus RX300 2019 FW (#1838)
* Add Lexus RX300 2019 fw

* build tmp branch

* Revert "build tmp branch"

This reverts commit e487ca1345.

Co-authored-by: VirtuallyChris <chrismccammon123@gmail.com>
2020-07-27 15:59:59 -07:00
Adeeb Shihadeh 967c1f1565 remove dead lines from boardd cython setup 2020-07-27 13:09:09 -07:00
Erich Moraga b677e89159
Local variable ARCH isn't used anymore (#1930) 2020-07-27 13:06:13 -07:00
Willem Melching 405d94ec6d qcom2 build fixes 2020-07-27 16:13:25 +00:00
Dean Lee 5cbdaa19bb
sidebar: remove unnecessary checks on uilayout_sidebarcollapsed (#1928)
* cleanup

* keep local variables

* done
2020-07-26 21:00:24 -07:00
Dean Lee cf1ae581ed
boardd: use enum instead of magic number (#1927) 2020-07-26 14:30:56 -07:00
Adeeb Shihadeh 360cd7d8a8 kia stinger: use hyundaiLegacy safety mode and add test route 2020-07-26 14:09:49 -07:00
Adeeb Shihadeh 892e1162c0
Car cleanup (#1924)
* cleanup car code

* more pruning

* little more

* less pylint disables

* radar stuff

* fix

* udpate refs

* fix honda bosch

* fix test
2020-07-25 15:07:27 -07:00
Adeeb Shihadeh 99106fd9c4
Test Car Models 2.0 (#1903)
* start with radar interface

* car interface

* panda safety rx check

* check panda safety inits

* check NO_RADAR_SLEEP in all radar interfaces

* sonata 2019 and kia optima should use hyundai legacy safety

* check radar errors

* check radar can errors

* real fingerprint

* run in CI

* it shoud pass now

* ignore old openpilot msgs

* ensure safety mode is set

* sort can msgs

* filter out openpilot msgs
2020-07-25 02:27:56 -07:00
Adeeb Shihadeh 90fc1c6028
Improve on-device CI reliability (#1922) 2020-07-25 02:12:19 -07:00
Willem Melching e0e7c7486d
remove old params learner (#1918) 2020-07-24 18:43:17 +02:00
Comma Device 9a78378b81 add timeout on procLog socket for CPU usage test 2020-07-23 17:51:18 -07:00
Adeeb Shihadeh 02d5b19d4d update refs 2020-07-23 15:55:53 -07:00
xps-genesis 3a1b08eb9d
Use hyundai legacy safety for Kia Sorento (#1912)
confirmed kia sorento to use legacy safety checks
2020-07-23 15:45:19 -07:00
Adeeb Shihadeh 4bc90c578a add test route for HYUNDAI.KIA_SORENTO 2020-07-23 15:44:14 -07:00
Adeeb Shihadeh 61548f5a48
Only draw lead car indicators when controlling longitudinal (#1914) 2020-07-23 13:28:58 -07:00
Adeeb Shihadeh f753ca14ad add HYUNDAI_GENESIS test route 2020-07-23 13:24:06 -07:00
martinl a086f52881
Subaru Global generated dbc and new signals (#1908)
* Change carstate signals to use feature-subaru-long dbc

* Add Conventional_Cruise signal to carstate

* Fix Conventional_Cruise signal source

* Use Cruise_Cancel signal in subarucan

* switch to subaru-global-2020 opendbc branch

* Update release file

* bump opendbc

* switch panda to subaru-global-carstate branch

* bump panda

* bump opendbc

* revert submodules for upstream PR

* switch panda and opendbc to upstream

* bump opendbc
2020-07-23 12:28:23 -07:00
Willem Melching 74f95b8b26 skip 1st segment in debug replay 2020-07-23 17:56:36 +02:00
Willem Melching 7a1e229a9a fix spinner 2020-07-23 17:51:45 +02:00
Erich Moraga 8f6ea69396
Add fwdCamera f/w for 2020 Corolla Hybrid ZR (AUS) (#1911)
@iamty#6048 DongleID c4bfe655c9130ba4
2020-07-23 17:32:16 +02:00
Dean Lee 1da11c26b6
boardd: Add new functions usb_read, usb_write (#1856)
* add func usb_write&usb_read

* rename cnt to err

* pass in device handle

* use defines for flag values

* consistent spaces

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-07-23 17:27:08 +02:00
Dean Lee c788aa99dd
fix buffer overflow (#1871) 2020-07-23 15:52:59 +02:00
Dean Lee 2232efbcd4
boardd: release claimed interface before closing usb (#1855)
* release claimed interface

* pass device handle by reference

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-07-23 15:37:28 +02:00
Willem Melching 0ac2f6c470 make sure boardd loopback test can run standalone 2020-07-23 15:31:32 +02:00
Adeeb Shihadeh 3b428fdebb fix modeld replay test 2020-07-22 20:17:27 -07:00
Willem Melching 5139b827af
add tolerance to process replay compare (#1904) 2020-07-22 11:50:58 +02:00
Greg Hogan 825821f010
Honda CRV BSM alert from B-CAN (#1867) 2020-07-21 17:41:45 +02:00
Chris Souers 85000dd5cc
Add 2020 Insight FW (#1879) 2020-07-21 12:06:21 +02:00
Andre Volmensky da5dc7693e
Nissan: Tweaking steeringPressed/LKAS_MAX_TORQUE (#1865)
* Tweaking steeringPressed/LKAS_MAX_TORQUE

* Update ref commit
2020-07-20 16:30:40 -07:00
Adeeb Shihadeh 2d4f0c49fa Revert "Update values.py (#1824)"
This reverts commit 2052bd69f1.
2020-07-20 15:41:57 -07:00
s70160 2052bd69f1
Update values.py (#1824)
CAR.IONIQ_EV_LTD: [{
68: 8, 127: 8, 304: 8, 320: 8, 339: 8, 352: 8, 356: 4, 544: 8, 576:8, 593: 8, 688: 5, 832: 8, 881: 8, 882: 8, 897: 8, 902: 8, 903: 8, 916: 8, 1040: 8, 1056: 8, 1057: 8, 1078: 4, 1136: 6, 1173: 8, 1225: 8, 1265: 4, 1280: 1, 1287: 4, 1290: 8, 1291: 8, 1292: 8, 1294: 8, 1322: 8, 1342: 6, 1345: 8, 1348: 8, 1355: 8, 1363: 8, 1369: 8, 1407: 8, 1427: 6, 1429: 8, 1430: 8, 1448: 8, 1456: 4, 1470: 8, 1476: 8, 1535: 8
}],
2020-07-20 14:10:21 -07:00
Adeeb Shihadeh ede5b632b5 fix tested branch detection 2020-07-20 13:59:10 -07:00
Adeeb Shihadeh 2189fe8741 bump to 0.7.8 2020-07-20 11:47:26 -07:00
Shane Smiskol ebadb39e42
Fix hard deceleration after user accelerates above set cruise speed (#1880)
* Fix hard deceleration after user accelerates above set cruise speed

* 2nd required change
2020-07-20 17:04:05 +02:00
cfranhonda 1613abb0b1
Update civic bosch longitudinal tuning (#1875)
These are the correct values when i was testing visionradar. Things got messed when Civics were coded together and got split up again.
2020-07-20 17:03:20 +02:00
Adeeb Shihadeh c8f880665a
Disable raw upload while onroad (#1894)
* disable raw upload while onroad

* fix tests
2020-07-20 15:21:39 +02:00
eFini 75565b0635
gas pressed treats as driver engaged (#1895) 2020-07-20 15:20:24 +02:00
Adeeb Shihadeh 5db81f60ca
Fix most remaining LGTM alerts (#1893)
* fixups from LGTM

* short globals

* fix spinner and textwindow

* total ordering

* no spinner/text window when import from manager

* not android
2020-07-19 16:12:22 -07:00
Adeeb Shihadeh 35a5b057c1 minor cleanups from LGTM 2020-07-17 23:34:38 -07:00
ZwX1616 c2be31c10b Revert "EfficientNet driver monitoring (#1866)"
This reverts commit 2d0e994674.

Need to fix test
2020-07-17 18:20:04 -07:00
ZwX1616 2d0e994674
EfficientNet driver monitoring (#1866)
* e96f9be6

* bump cereal

* filter sunglasses

* fix unittest

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-07-17 15:34:02 -07:00
Alfonso Hernandez cdd9eb32a2
Adding fingerprinting values for Toyota Rav4 Hybrid TSS2 Germany (#1885) 2020-07-17 10:33:35 -07:00
Adeeb Shihadeh 165e14d103
Rebuild cython extensions when dependency version changes (#1886)
* rebuild cython extensions when python/cython/distutils version changes

* submodules and boardd

* kalman and transformations
2020-07-16 13:59:32 -07:00
Adeeb Shihadeh 3ff373ed0d add UI for boardd loopback test 2020-07-15 11:53:42 -07:00
Adeeb Shihadeh 58c3b5ba84
Revert modeld vipc conflate behavior and alert on dropped frame percent (#1877)
* Revert "Fix modeld dropping frames if processing takes over 50 ms"

This reverts commit a8e7a187ca.

* track frame drop

* fix unused

* alert on frame drop perc

* reduce thresholds

* posenet is invalid on non-consecutive frames

* Refactor filter time constant

* Use vipc_dropped_frames for posenet valid check

* Actually set frame drop percentage

* Add explicit cast just to be sure

* Prevent frames dropped to go up to quickly on startup

* bump cereal

* reduce soft disable threshold to 1%

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-07-14 14:23:27 -07:00
Adeeb Shihadeh 1ef3b20955 2020 Jeep Grand Cherokee fingerprint
Squashed commit of the following:

commit a1a14048375b4d9c9181b2797621e999738104f8
Author: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Date:   Mon Jul 13 16:30:54 2020 -0700

    cleanup

commit cf7d4bb162c5018a05b81dd83f124b3ef7826714
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Sun Jul 12 21:08:59 2020 -0700

    added missed value

commit b91af6eef1b5d966cf4342475a37129ddb46e8de
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Sun Jul 12 20:52:41 2020 -0700

    Update values.py

commit d3d564fc76db19eae1464d6d938fdc43aa9b6d4e
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Fri Jul 10 00:23:35 2020 -0700

    add support for 2020 Grand Cherokee
2020-07-13 17:00:27 -07:00
Adeeb Shihadeh 62a94eb0cd
fix blocking sleep in updated (#1860) 2020-07-12 01:46:18 -07:00
Adeeb Shihadeh 897ee6bd2b
Use a monotonic clock source for power monitoring (#1861) 2020-07-12 01:46:02 -07:00
martinl 7b2789aa3a
Add APPROACHING signals for Subaru blindspot monitoring (#1864) 2020-07-11 14:36:26 -07:00
s70160 1286b45bfe
Add hyundai ioniq 2018 fingerprint (#1863) 2020-07-11 00:17:32 -07:00
Adeeb Shihadeh b17a6e8f31 default to a reasonable amount of segs in replay_drive_can.py 2020-07-10 17:58:04 -07:00
Adeeb Shihadeh 897548c7ef clear scons cache dirs older than a day in CI 2020-07-10 17:18:52 -07:00
Adeeb Shihadeh 704bc1b883
small scons cleanup (#1858) 2020-07-10 15:26:16 -07:00
Adeeb Shihadeh b81f404457
Simplify hyundai resume logic (#1852)
* simplify hyundai resume logic

* more reliable

* SCC doesn't resume under 3.7m
2020-07-10 12:53:14 -07:00
Adeeb Shihadeh 80aead479e update refs due to carParams.communityFeature change for sonata 2020-07-10 12:01:29 -07:00
Adeeb Shihadeh d0b7760731 promote sonata 2020-07-10 11:48:55 -07:00
Jason Young c43df81214
Make updated more resilient (#1853)
* Add sleep at updated startup

* Mitigate symlink-related FS damage
2020-07-10 07:41:26 -04:00
Adeeb Shihadeh c8f3ff8913 only check frame age for posenet too 2020-07-09 20:55:56 -07:00
Adeeb Shihadeh 587bdf5937 only check frame age for model validity 2020-07-09 20:37:28 -07:00
Adeeb Shihadeh d2784f0ff0 all genesis have BSM standard 2020-07-09 18:42:05 -07:00
Scott Adair c6caf061c7
Add BSM Support for the Palisade (#1851)
Us Palisade drivers love BSM as much as the Sonata drivers, maybe more because our blind spots are bigger...

Anyway, BSM is standard across all trims so it's safe to enable support
2020-07-09 18:38:27 -07:00
Adeeb Shihadeh 8bf198ba7d only check BSM on sonata for now, not equipped on all HKG 2020-07-09 18:26:06 -07:00
Adeeb Shihadeh 7cfdeb1a32
Hyundai: use SCC12 for stock ADAS signals on cars that don't have FCA11 (#1849)
* some hyundai use SCC12 for AEB/FCW

* add other cars from fingerprints

* comment
2020-07-09 17:52:48 -07:00
Adeeb Shihadeh 03e824a4b5
Alert when modeld is lagging by more than a frame (#1823)
* alert when modeld is lagging by more than 1 frame

* log frameAge in modelData

* set posenet valid

* compute frame_age once
2020-07-09 17:02:21 -07:00
Adeeb Shihadeh eb1aa3d831
Wunused (#1841)
* enable Wunused, first pass

* unused stuff in snpe model

* these are used on phone

* handle sigint and sigterm in modeld

* fix phone build

* camera qcom

* QCOM build works

* delete unused camerad vars

Co-authored-by: Comma Device <device@comma.ai>
2020-07-09 09:25:32 -07:00
Andre Volmensky 977a6ba46b
Nissan: Increase steer pressed threshold (#1833)
* Increasing steer threshold

* Update ref commit
2020-07-09 13:50:50 +02:00
Dean Lee 3754ddf9ba
remove duplicate calls to visionstream_destroy (#1843) 2020-07-08 21:47:22 -07:00
Dean Lee 11fbe85c14
remove offroadLayout from sm (#1846) 2020-07-08 21:24:55 -07:00
Adeeb Shihadeh 3ab0b49656
Boardd loopback test (#1840)
* start boardd loopback test

* let's try this in CI

* fix jenkinsfile

* remove old

* rename

* check msgs

* should be reliable now

* send more
2020-07-08 19:42:03 -07:00
Erich Moraga beb130789f
Added COROLLAH_TSS2 engine f/w (#1845)
Requious#7292 DongleID bfe8b7e3fabc420f
https://discord.com/channels/469524606043160576/524327905937850394/730546409396240416
2020-07-08 15:38:51 -07:00
Adeeb Shihadeh 3983186700 openpilot isn't capitalized 2020-07-07 14:59:30 -07:00
Adeeb Shihadeh c715661656
Build release2 and dashcam in CI (#1834)
* start building release2 in CI

* build script

* bring over changes from test branch

* fix build release test

* remove references to test branches

* ucnomment push

* fix duplicate remove

* two commits for dashcam

* need the key
2020-07-07 14:17:09 -07:00
Adeeb Shihadeh d8ff186545
Separate scons cache by branch (#1836)
* separate scons cache by branch

* debug

* guess you can only call CacheDir once

* remove another call

* pass git branch and commit through

* copytree

* set CI
2020-07-07 12:36:02 -07:00
Adeeb Shihadeh 6b942c94de Revert "build script", should've been on branch
This reverts commit 975ab40786.
2020-07-06 20:16:16 -07:00
Adeeb Shihadeh 975ab40786 build script 2020-07-06 20:15:38 -07:00
Adeeb Shihadeh fd504aa3f2 show current sound name during sound test 2020-07-06 19:43:42 -07:00
Erich Moraga 9adfc83b23
Added engine f/w for CAR.COROLLAH_TSS2 (#1832)
Jordi#2212's 2020 Toyota Corolla Touring Sports 2.0 Hybrid (EU) DongleID 221a06e11b28330b
https://discord.com/channels/469524606043160576/524327905937850394/729778471869612173
2020-07-06 12:31:12 -07:00
Jafar Al-Gharaibeh d5d0e75070
Mazda BSM (#1830)
* Mazda BSM support

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Add Mazda3 2017 and CX-9 2016 Fingerprints

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-07-06 10:25:17 -07:00
Greg Hogan c458f5a5d3
k-line 5 init fault type (#1821)
* k-line 5 baud fault type

* update name

* bump cereal

* fix name

* add missing event
2020-07-06 09:33:16 -07:00
Willem Melching 10bfbaff8e Lower max CPU temp to go onroad to 70 C 2020-07-06 13:37:09 +02:00
Adeeb Shihadeh f1afb3e3ae
Sound test (#1820)
* WIP sound test

* it does something

* refactor

* phone only

* update release files

* test sound card init

* add to CI

* check writes

* increase time

* unused

* only build cereal

* small tolerance

Co-authored-by: Comma Device <device@comma.ai>
2020-07-05 17:56:24 -07:00
Adeeb Shihadeh 3f57b7ee76 increase jenkins timeout 2020-07-03 20:34:31 -07:00
Dean Lee ff4f432f0f
paint.cc: Simplify drawing line (#1643)
* simplify drawing line

* remove space
2020-07-03 19:42:26 -07:00
Adeeb Shihadeh 32f03ec8a5
On-device CI framework (#1784)
* let's see if this works

* fix build_release actions job

* does jenkins like this config

* separate jenkinsfile for release build

* fix devel build

* devel build should work

* always pass that for now

* run modeld replay

* release2 build will be a separate PR

* pass env to phone shell

* force checkout

* run on real jenkins eons

* add timeout

* rsync

* more timeout

* trailing slash

* fix branch detection

* debug

* not sure why paramiko doesn't pass it through

* newline

* CI_PUSH

* still not passing it

* test branch

* should be good now
2020-07-03 19:12:05 -07:00
TK211X d417481e2b
Update 2020 Sonata Print (#1806)
The Korean version has extra features.
2020-07-03 16:29:31 -07:00
Adeeb Shihadeh 6db7fa8c03
Refactor CPU usage test (#1802)
* pull CPU usage test out of manager

* remove that

* add to release files

* cleanup

* executable

* this should work

* check if car started procs are running

* debug

* add min cpu usage

* remove debug prints

* adjust min cpu threshold

Co-authored-by: Comma Device <device@comma.ai>
2020-07-03 15:40:13 -07:00
Dean Lee 9de015f588
better update_offroad_layout_state (#1808)
apply review suggestion
2020-07-03 12:52:43 -07:00
Adeeb Shihadeh 2f16349c4c fix hardcoded frequencies in UI 2020-07-03 12:30:47 -07:00
Adeeb Shihadeh 30d6d77e26
Subaru cleanup (#1809) 2020-07-02 13:37:53 -07:00
martinl b1abf17752
Support for 2019 Subaru Ascent (#1801)
* Add support for Subaru Ascent 2019

* remove duplicate safetyModel

* Add Ascent 2019 to README.md
2020-07-01 16:54:40 -07:00
George Hotz cb495bb8c9
Add an SSH param to disable updates (#1807)
* disable updates with optional param

* dont create the alert

* Revert "dont create the alert"

This reverts commit 7179a6c8b4.

* keep alert, but allow engagement

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-07-01 14:26:35 -07:00
ZwX1616 1036c68251
Reduce C2 dcamera noise at night (#1798) 2020-06-30 19:58:40 -07:00
Adeeb Shihadeh ec8b69cb14 flippening is only for android 2020-06-30 14:01:40 -07:00
Adeeb Shihadeh 64aeb80dcc fix blindspot detection 2020-06-30 13:44:56 -07:00
Adeeb Shihadeh 83af35bf95
Fix CAN Error on Kona EV (#1800) 2020-06-29 18:39:50 -07:00
Adeeb Shihadeh 3c48b5a3ed remove duplicate key 2020-06-29 15:05:47 -07:00
Adeeb Shihadeh e8259895f7 remove unused UI variables 2020-06-29 14:12:28 -07:00
George Hotz b62da571b4
UI 10x speedup with hardware antialias (#1787)
* enable MSAA, disable nvg antialias

* less opaque and clean up

Co-authored-by: Comma Device <device@comma.ai>
2020-06-29 13:54:23 -07:00
robbederks df86c476c7
Dos (#1795) 2020-06-29 12:47:48 +02:00
Adeeb Shihadeh ce80684f7e
Add alert while in preEnabled state (#1791) 2020-06-28 20:29:42 -07:00
Erich Moraga c6bf0f0b57
CAR.COROLLA_TSS2 engine and ESP f/w (#1794)
@stevheng#6662's 2019 Australian Corolla HB  DongleID/route 0a9995ae54acb892|2020-06-28--07-24-06
2020-06-28 17:16:32 -07:00
Adeeb Shihadeh 491a02d5d6 bump submodules 2020-06-27 17:46:59 -07:00
Adeeb Shihadeh 9fb4eeea96 update replay segment 2020-06-26 20:28:59 -07:00
ZwX1616 55aee68ca0
camerad: don't crash zmq if get interrupt from msgq (#1790)
* not crash zmq if get interrupt from msgq

* also filter eagain
2020-06-26 18:11:36 -07:00
Adeeb Shihadeh 57deb3a893
Hyundai Ioniq SE 2020 (#1786)
* Update values.py

* Update carcontroller.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* add test route

* readme

Co-authored-by: baldwalker <insigniadesign@yahoo.co.uk>
2020-06-26 12:25:09 -07:00
xps-genesis 57f29968a2
Add Hyundai BSM signals (#1782)
* Add Hyundai BSM signals

to take advantage of BSM to block lane change when BSM active.

* bug, added LCA11 to canparser

previous check failed, fixed by adding LCA11 to canparser

* update refs

Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
2020-06-26 12:16:06 -07:00
Willem Melching 611dc4c37f Honda Bosch, use proper non adaptive cruise mode alert 2020-06-24 18:48:57 -07:00
Willem Melching 5e254da8b3 fix wrong car mode alert 2020-06-24 18:20:30 -07:00
Adeeb Shihadeh c4a3d7afb0
Block lane change start on blindspot detection (#1712)
* use BSM to block lane change start

* remove duplicate entry

* add approaching
2020-06-24 17:31:09 -07:00
VirtuallyChris 59cbaf88ef Add missing fp value for Jeep Grand Cherokee 2019 2020-06-24 16:11:59 -07:00
George Hotz f1caed7299 0.8 is a lie 2020-06-24 16:02:03 -07:00
VirtuallyChris a5cd52a1c6 Add 2020 Prius fw 2020-06-24 15:54:43 -07:00
Adeeb Shihadeh 28b2495597
Hyundai stock adas signals (#1775)
* add stockAeb and stockFcw to carstate

* bump opendbc

* freq check

* bump opendbc
2020-06-24 14:55:58 -07:00
VirtuallyChris fd29c69822 Add Lexus NXH fw 2020-06-24 14:01:42 -07:00
Chris Souers 20e2185eda
Add FW for CRV_EU (#1772) 2020-06-24 11:57:45 -07:00
Willem Melching 3c5c8c2508 lower temperatures slightly until UI/modeld GPU interaction is improved 2020-06-23 19:02:42 -07:00
martinl 09e7d4ab3a
Subaru Forester 2019 (#1768)
* Add initial Forester 2019 support

* Add dgranger15 Forester 2019 FPv1

* fingerprint syntax fix

* FPv1 syntax fix 2

* Add Forester 2019 to CAR

* fix indent

* Add Forester 2019 to test_car_models ignore list

* Update Forester 2019 steering tuning (dgranger15)

* Add Forester 2019 to README.md

* Change lists to single value

* Add test route for Forester 2019

* Remove model year

* Remove Forester model year in test_car_models

* Remove usernames, add Forester ACC speed mph unit value
2020-06-23 16:07:46 -07:00