Commit Graph

5529 Commits

Author SHA1 Message Date
Adeeb Shihadeh
308a584def update aarch64 acados libs (#22113)
Co-authored-by: Comma Device <device@comma.ai>
2021-09-02 17:49:20 -07:00
Adeeb Shihadeh
bd79e7f023 remove old can replay script 2021-09-02 16:56:13 -07:00
Adam Boeglin
b5daca3881 Added fingerprint for 2018 Jeep Trackhawk (#21976)
* Added fingerprint for 2018 Jeep Trackhawk

When connecting the Comma3 to my Trackhawk with the latest jvePilot beta, it showed the error "Car Unrecognized: Dashcam Mode".

Obtaining this fingerprint resolved the issue. I don't know if it works with any other model years.

* merge fingerprints

* add missing vals

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 15:12:43 -07:00
martinl
d3113fe01a Subaru: universal signal for ACC speed units (#21995)
* Change ACC Speed Units signals for Global and Pre-Global

* Use Dash_State UNITS signal for Preglobal

* Change Subaru Preglobal to use Dash_State2 UNITS signal

* bump opendbc

* cleanup

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 14:21:35 -07:00
Dean Lee
7db04ab0c5 ONNXModel: use the actual model file name (#22084)
* use the actual file name

* use macro

* fix typo

* continue

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 14:21:15 -07:00
HaraldSchafer
ebf2a2279d Prevent PID windup on Honda NIDEC (#22112)
* add higher set speed

* freeze when close to cruise

* dont bias this

* higher set speed

* start high

* 2mph might be needed

* better condition

* limit accel windup like this

* wrong name
2021-09-02 14:16:44 -07:00
John Belmonte
44c546c92a Honda HR-V: set standstill (#22009)
* fix apparent Honda HR-V bugs

  * CarState.standstill was not set
  * CarState.gas was not derived from GAS_PEDAL/CAR_GAS

* revert gas change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 14:05:00 -07:00
Adeeb Shihadeh
145fd88deb fetch all branches on internal installer 2021-09-02 12:09:42 -07:00
HaraldSchafer
c93f3b10f7 no more old nidec (#22104) 2021-09-02 12:05:03 -07:00
Jason Young
619beb3942 VW MQB: Mechanical sort of UDS FW values (#22111) 2021-09-02 10:26:48 -07:00
Jason Young
d9e2ecb01c VW MQB: Add FW for 2017 Volkswagen Golf (#22110) 2021-09-02 09:10:21 -07:00
Willem Melching
48035e9535 Disable encoder sync logic if only one rotate camera present (#22107)
* disable sync logic if only one rotate camera

* consistent brackets
2021-09-01 23:08:06 -07:00
Harald Schafer
a4ae99a489 unused 2021-09-01 16:46:17 -07:00
Erich Moraga
959202e555 Add missing CAR.HIGHLANDER_TSS2 engine f/w (#22102)
`@gusguz#5296` 2021 Toyota Highlander   DongleID|route 6519c1e9abaf1ddf|2021-09-01--17-18-47
2021-09-01 16:37:55 -07:00
HaraldSchafer
17f066e2fe More acados libs (#22101)
* not everything should be called acados

* add libs
2021-09-01 16:06:08 -07:00
Willem Melching
edae2218d7 Smarter longitudinal lag compensations (#22094)
* smarter lag compensations

* need to use speed from plan

* update ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2021-09-01 15:28:16 -07:00
Dean Lee
83710b14ee fix: util::read_files_in_dir does not always return a correct result (#21883)
* fix bug

* use de->d_type==DT_REG

* Revert "use de->d_type==DT_REG"

This reverts commit ecb38c82305ea23bfec84284aa77be5b5c64957a.
2021-09-01 15:10:59 -07:00
Willem Melching
c15a616ac4 Continuously update offset between TSS2 angle sensors (#21943)
* Continuously update offset between TSS2 angle sensors

* add comment

* less lines

* only when initialized

* init to None

* update ref
2021-09-01 15:00:52 -07:00
Willem Melching
3b13eb8c7d Add script to rerun process on route and generate new logs (#22100)
* add script to rerun process on route and generate new logs

* cleanup

* move to root

* newline
2021-09-01 14:48:41 -07:00
sshane
6fad0055b4 UI: roaming toggle (#21750)
* roaming toggle

* clean up

* only tici

* fix order

* move to wifiManager

* should be working

* clean up

clean up

* use map icon

* move to advanced settings

* clean up

* temporarily change home-only

* keep setting for now

* set both to defaults in case ui doesn't start

* knownConnections stores conn names

* Revert "knownConnections stores conn names"

This reverts commit 4466a029a38f8c89876fad3c221e95e8fc572ded.

* save lteConnectionPath instead

* use the if statement

Co-authored-by: Comma Device <device@comma.ai>
2021-09-01 14:33:06 -07:00
Willem Melching
a93271a518 Ensure that first segment starts with all cameras on the same frameId (#22096)
* test that segment starts with the same frame id

* improve test

* add sync logic

* atomic max

* review comments
2021-09-01 14:28:50 -07:00
Dean Lee
30ec2bc403 driverview.cc: cleanup paintEvent (#21531) 2021-09-01 13:56:07 -07:00
grekiki
21fad4d1ad Add angleError to pid_log (#21611)
* add angleError

* Log all the time

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-01 13:45:22 -07:00
Dean Lee
579fb8072a HomeWindow: cleanup mousePressEvent (#21683)
* cleanup mousePressEvent

* show/hide map in onroad

* merge master
2021-09-01 13:30:33 -07:00
Erich Moraga
f8052cb80a Add missing COROLLA_TSS2 engine f/w (#22097)
`@webnz#4042` 2019 Toyota Corolla ICE DongleID/route 4468e4365edecd70|2021-08-31--22-07-53
2021-08-31 23:10:07 -07:00
Felixowns
676fb6740b 2018 Sonata 2.0T Limited Fingerprint (#21823)
* Update values.py

* cleanup

* add 2nd tranmission FW

* Apply suggestions from code review

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-31 16:28:37 -07:00
Dean Lee
f02c8d0e2c Handle EINTR for all syscalls that can return it (#21948) 2021-08-31 16:22:56 -07:00
robbederks
f539cd45c9 Smarter thermal controls for tici (#21923)
* dumb controller 'tuned' on a desk

* reduce Ki

* fix prev_time bug

* reset integral on going onroad

* cleanup thermal detection logic

* more minor tuning

* use controls' PI controller

* get rid of bat_temp

* change if once more

* cleanup

* cleanup import order

* add back bat temp in this PR

* move to constructor

* consistency

* add bp

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-31 12:29:53 -07:00
Willem Melching
b8e4717f72 Populate angle offset in carState for Toyota accurate angle sensor (#22091)
* populate angle offset in carstate for TSS2

* update ref
2021-08-31 11:34:00 -07:00
Jason Young
acabdf5866 HKG: Add FW for 2018 Hyundai Kona EV (#22051)
* HKG: Add FW for 2018 Hyundai Kona EV

* try to fix FCA error on engage

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-31 11:25:12 -07:00
Adeeb Shihadeh
86f68ff22e add TSS2 replay route (#21953)
* add TSS2 replay route

* skip on sim

* do not set on import time

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-31 10:48:21 -07:00
robbederks
41934c9a9b Tesla radar interface (#21932)
* tesla radar interface

* add  tesla radar dbc to release

* rerun jenkins

* forgot to clear the message set

* trigger message

* raw data points

* cleanup

* rerun jenkins
2021-08-31 07:30:51 -07:00
Dean Lee
8008cf5547 boardd: remove global panda (#21962) 2021-08-31 07:25:53 -07:00
Dean Lee
0d3eec385c camera_qcom2: new functions device_acquire & device_config (#22077)
* new function device_acquire & device_config

* add space

* apply reviews

* use the specified struct for each command

* fix typo

* apply review

* remove static

* revert device_control
2021-08-31 07:21:40 -07:00
Dean Lee
1786416e3c ui: clickable ElidedLabel (#21773)
* ElidedButton

* rename to ClickableLabel

* move to ElidedLabel
2021-08-30 22:16:48 -07:00
Jafar Al-Gharaibeh
cb63a89dd0 Mazda 3/CX-5 FW (#22087)
* Mazda 3 2017 FW

dongle-id: 2f26dfe847d7c138

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

* CX-5 fw

dongle id: 769d87694463b543

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-08-30 22:14:49 -07:00
Adeeb Shihadeh
b4e9ab9343 Update Honda HRV DBC (#22086)
* update honda hrv dbc

* fix release files
2021-08-30 22:14:35 -07:00
Dean Lee
ee5ef4dab2 camera_qcom2: use macros for link control operations (#22088) 2021-08-30 22:10:18 -07:00
Adeeb Shihadeh
0e3462e051 fix boardd reconnect loop (#22081)
* fix boardd reconnect loop

* add that back
2021-08-30 21:25:48 -07:00
Dean Lee
784b3a2ac9 dmonitoring: improve yuvframe2tensor (#21996)
* use Y,U,V

* use a pre-calculated table

* add variable use_snpe_model

* .dlc

* remove if
2021-08-30 21:23:01 -07:00
Dean Lee
383ff35790 Params: faster atomic clearAll (#21973)
* faster clearAll

* use unlink

* fsync_dir if removed > 0

* remove macro ERR_NO_VALUE

* always fsync

* keep call to unlink

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-30 19:47:47 -07:00
Dean Lee
d9baaf7eb9 loggerd: create encoder threads from cameras_logged (#21875) 2021-08-30 19:33:00 -07:00
Igor Biletskyy
603ad435be add function to list connected pandas to panda.cc (#21989)
* add list() to panda.cc

* std:size instead of sizeof

* refactor usb init

* change serial length to 26 to get null terminated

* safer char to string

* forgot variable

* initialize descriptor array

* ...

* move init usb out of class

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-30 19:20:50 -07:00
HaraldSchafer
aa8da039fb Update RELEASES.md 2021-08-30 18:44:33 -07:00
HaraldSchafer
22c8564413 Libraries for acados (#22079)
* libs

* build specific commit
2021-08-30 18:43:33 -07:00
Dean Lee
cf4ad99554 camera_qcom2: refactor open_v4l_by_name_and_index (#22067)
* refactor

* small cleanup

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-30 17:12:22 -07:00
Dean Lee
935cbd3139 LoggerState: test cases (#21855)
* test multiple threads writing to log

* fix typo

* use util::getenv

* check INIT_DATA and SENTINEL

* test END_OF_SEGMENT

* add comment

* test multiple threads logging and rotation

* cleanup

* update

* LoggerHandle:quick fix

* cleanup

* revert test_loggerd.py

* refactor test case

* check lock file

* check refcnt after close

* test_runner.cc

d

* int eixt_signal
2021-08-30 17:12:09 -07:00
Dean Lee
6be8520a84 Params::put: fixed the wrong call to Params::remove instead of global ::remove (#21974)
* fix bug

* use unlink
2021-08-30 16:31:27 -07:00
Willem Melching
813ddb0c18 revert ioctl changes to thneed 2021-08-30 16:30:50 -07:00
Dean Lee
31230e5b60 retry ioctls while errno == EINTR (#22054) 2021-08-30 16:07:34 -07:00