Commit Graph

606 Commits

Author SHA1 Message Date
Adeeb
8d791d78dd Abstract pcmEnable and pcmDisable events (#1350)
* don't need individual prev state vars since whole CS is copied

* don't need a whole function since toyota alerts were simplified

* better here

* abstract pcmEnable/pcmDisable events

* the flippening came to NEOS

* delete

* unused

* Revert "the flippening came to NEOS"

This reverts commit 91cfb73b2914f637863335f4e5f5952620b3e977.
2020-04-10 16:12:58 -07:00
Willem Melching
54d8f9c27b ui.cc: use thermald to decide when to go onroad (#1351)
* use thermald to decide when to go onroad

* Check for stopped

* set alert timeout to 0 when going offroad

* set controls seen to false

* Don't mark as seen when already stopped

* Don't process controlsState when stopped

* Needs free

* Small cleanup

* Remove that again

* Process controlsState when started

* Need that back
2020-04-10 16:12:39 -07:00
Adeeb
a92683a973 cleanup readme (#1348)
* cleanup readme

* restart numbering

* reorder numbering
2020-04-10 15:12:05 -07:00
Drew Hintz
756dbd8e3b add Jeep GC 2019 USA fingerprint from al_nyc (#1339)
* add Jeep GC 2019 USA fingerprint from al_nyc

* merge Jeep GC 2019 USA fingerprint with existing fingerprint
2020-04-10 14:15:50 -07:00
Greg Hogan
337fb1a273 update tests 2020-04-10 09:46:03 -07:00
Greg Hogan
85a09b3113 handle ignored uploads more gracefully 2020-04-09 21:59:26 -07:00
George Hotz
ef8aaa77b7 Remove bg_thread from ui (#1347)
* remove bg_thread

* debug print app

Co-authored-by: Comma Device <device@comma.ai>
2020-04-09 20:55:54 -07:00
Andy
35b34fb700 offroad/ui: Transparent layout mode and msgq-based layout control (#1337)
* offroadLayout

* replace broadcasts with offroadLayout socket

* apk

* set 'none' layoutstate for transparent offroad

* refactor, hide offroad when vision connected

* apk supporting transparency

* reset layout state when stopping

* apk

* cleanup includes

* permit offroad to mangae sidebar state only when vision disconnected

* apk

* use c-capnp

* always upd

* send that too

* sync layout state with offroad

* apk

* fix regression in onboarding (mock engage green border)

* apk

* bump apks

* simplify event processing

* bump cereal to master

* in case ui exited in a bad state

Co-authored-by: Comma Device <device@comma.ai>
2020-04-09 19:28:11 -07:00
Willem Melching
1ac5c48e5d Add Lexus RX fw versions 2020-04-09 18:56:26 -07:00
Willem Melching
7d54453f04 No hardcoded bitset size 2020-04-09 13:45:18 -07:00
Willem Melching
f718ceafd5 Populate health.faults from panda health packet 2020-04-09 13:43:00 -07:00
Willem Melching
fcb75d7d09 bump cereal 2020-04-09 12:16:13 -07:00
Willem Melching
3ad614596c bump panda: Toyota gas pressed bit 2020-04-09 12:10:21 -07:00
Adeeb
928b1561aa Toyota: use universal gas pressed bit to match panda safety (#1335)
* Toyota: use universal gas pressed bit to match panda safety

* update ref
2020-04-09 12:09:20 -07:00
Willem Melching
d38a952102 Remove unmaintained mapd code 2020-04-09 11:43:14 -07:00
Willem Melching
9e5bac7061 fix import spinner start position 2020-04-08 16:21:51 -07:00
Dean Lee
ee52046957 remove unnecessary nvgLineTo (#1333) 2020-04-08 15:10:42 -07:00
Willem Melching
7643b0a511 Force decel on soft disable (#1334) 2020-04-08 14:59:17 -07:00
Willem Melching
64f6e0c1d1 Init mutex just to be safe 2020-04-08 14:09:24 -07:00
Dean Lee
434a2b0658 improve loggerd error handling (#1332)
* call BZ2_bzWriteClose after fail

* set closed file handles to NULL

* move fclose after BZ2_bzWriteClose
2020-04-08 14:05:19 -07:00
HaraldSchafer
c22f1267cd Update README.md 2020-04-08 13:28:58 -07:00
Willem Melching
3eda14f2fe update test ref 2020-04-07 21:43:57 -07:00
Adeeb
0f6c22ce8b Unit test for alert width (#1307)
* unit test for alert width

* fix scale

* comment

* fix offending alert text

* rename

* update process replay refs

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-04-07 21:37:17 -07:00
Willem Melching
017b1f6770 Don't use battery temperature to determine fan type (#1331)
* Don't use battery temperature to determine fan type

* Add cloudlog

* Init is_uno
2020-04-07 19:18:14 -07:00
Willem Melching
8b1b56a904 bump panda 2020-04-07 15:00:27 -07:00
ZwX1616
52fcbb1b92 add pc to supported hardware (#1328) 2020-04-07 13:19:23 -07:00
martinl
d0b3c69505 Add Subaru gearShifter to carstate (#1318)
* Add Subaru gearShifter to carstate

* reset submodules, remove ignore gearshifter from subaru interface

* update apks to master

* update ref_commit
2020-04-07 11:55:17 -07:00
Erich Moraga
6013704586 CAR.COROLLAH_TSS2 x018821F3301100\x00\x00\x00\x00 (#1327)
@capthawker#8604 DongleID a362a5e990fe49e9
2020-04-07 11:48:55 -07:00
Willem Melching
d35c946148 switch panda back to master 2020-04-06 16:50:14 -07:00
Willem Melching
7ea2524b6f openpilot support for panda nak (#1324) 2020-04-06 16:49:37 -07:00
Willem Melching
b16e11cde5 Boardd should always send health, even with no panda (#1322)
* dont go offroad when health times out

* always send health packet

* Handle disconnect in thermal

* Handle unplug in power monitoring

* Small cleanup

* Remove copied code

* Add mutex

* Can just use infinite timeout. It will still return if not connected
2020-04-06 16:01:42 -07:00
Willem Melching
f9257fc75f bump cereal 2020-04-06 12:18:42 -07:00
Willem Melching
1eb9b05c17 bump opendbc 2020-04-06 12:18:42 -07:00
Shane Smiskol
10331b1cf8 few small spinner updates (#1319) 2020-04-06 11:52:15 -07:00
Arne Schwarck
bbf3cc48be PRIUS Ecu.engine FW (#1315)
dongle_id
0e936661c2ec3047
2020-04-06 11:51:38 -07:00
DeanLee
9bcd5faa70 Fix memory leak in boardd.cc (#1321)
* fix memory leak

* dd
2020-04-06 09:13:34 -07:00
Andy
41bb3ac7ca Sidebar Connectivity Status (#1268)
* store athena connected-at time

* refactor

* deref

* dt import

* Athena status based on last ping time param

* upd test for pingtime

* lower error timeout
2020-04-05 11:06:49 -07:00
Andre Volmensky
522dc29b53 Add angle based steer saturation timer (#1311)
* Add angle based steer saturation timeout

* Fixed saturated check
2020-04-05 10:59:54 -07:00
DeanLee
b4641b7392 fix AttributeError: 'FakeSpinner' object has no attribute 'close' (#1317) 2020-04-05 10:54:01 -07:00
Willem Melching
c985e997e9 Add 2020 Camry FW versions 2020-04-03 12:26:18 -07:00
Arne Schwarck
972682580c More RAV4_TSS2 FW (#1312)
* More RAV4_TSS2 FW

dongle_id: 00dc05336f1756d9

* Then only the one FW to update
2020-04-03 11:39:38 -07:00
Arne Schwarck
43b62d8bb6 Toyota Tss2 Blindspot signals (#1309)
* Toyota Tss2 Blindspot signals

Adding these signals are easy, they are on the can bus.

* Update ref_commit
2020-04-03 08:31:12 -07:00
Willem Melching
dae19a284d Show manager startup failures using TextWindow (#1310)
* show text window on build failure

* Only show last 10 line

* Fix that

* better layout

* Fix fake text window

* Only show spinner and textwindow on android

Co-authored-by: Comma Device <device@comma.ai>
2020-04-02 15:04:01 -07:00
Willem Melching
c95134defe Direct logentries logging from manager (#1306)
* add function to add direct logentries handler

* Whitespace

* Add manager crash handler

* Log scons build errors

* Add line to format exception

* Small cleanup

* That is now a list

* Read all data from stderr
2020-04-02 11:28:20 -07:00
Adeeb
83d8dd4717 tools is no longer a separate repo (#1308) 2020-04-01 22:34:41 -07:00
Willem Melching
0112a8d3fd Fix dashcam missing CarState 2020-04-01 16:36:46 -07:00
Comma Device
6abbda1467 fix background on computer ui 2020-04-01 23:01:17 +00:00
Willem Melching
b497a01417 add low pass filter on cpu temp (#1305) 2020-04-01 15:58:40 -07:00
Willem Melching
30d4d64b4c bump panda back to master 2020-04-01 10:52:20 -07:00
Jason Young
0970dd74b7 Boot-loop testing script for EON/C2 device sensors (#1303)
* Sensor test boot-loop script

* Changing file permissions

* Set executable

* Changing file permissions

* Sensor test boot-loop script

* Changing file permissions

* Set executable

* Changing file permissions

* Bugfix to text_window

* Capture logs during a failure event

* Capture logs during a failure event
2020-04-01 10:51:47 -07:00