Commit Graph

4201 Commits

Author SHA1 Message Date
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