Commit Graph

1182 Commits

Author SHA1 Message Date
Adeeb
7f2008aa0b Remove Cadillac CT6 port (#1359)
* remove CT6 port

* dont need this route

* extra char

* fix carcontroller params
old-commit-hash: e22482eb31
2020-04-13 15:53:24 -07:00
Dean Lee
9c9b8b2aa8 add ui_draw_image to reduce code repetition
old-commit-hash: 1ecef2c6be
2020-04-13 15:38:45 -07:00
Willem Melching
8d70f6e06c Can't import from logmessaged if build fails
old-commit-hash: 60f6e12deb
2020-04-13 15:18:10 -07:00
Dean Lee
7c22a08b30 close usb handle after faile (#1352)
old-commit-hash: dd05d1df83
2020-04-13 15:10:47 -07:00
Dean Lee
ea0392cc2a close file descriptor (#1353)
* close file descriptor

* check return value
old-commit-hash: 2fc3247343
2020-04-13 15:09:48 -07:00
Adeeb
f83e617169 Subaru: calculate checksum in can packer (#1356)
* subaru checksum moved to can packer

* unused
old-commit-hash: 789764945c
2020-04-13 15:07:59 -07:00
Willem Melching
169f16824b bump opendbc
old-commit-hash: df5b6a4023
2020-04-13 15:06:50 -07:00
Willem Melching
bd9ca30ee8 log bootstub version in pandad
old-commit-hash: 9d83103b09
2020-04-13 14:41:36 -07:00
Harald Schafer
e34bc5b370 various upadtes
old-commit-hash: c4acf68b96
2020-04-13 14:19:54 -07:00
HaraldSchafer
cd44a6b07f Traffic b2 (#1345)
* add traffic convention

* hope this work

* no comment

* latest and gratest

* big gru model

* 1af55c7d-ee15-414a-9e98-a0cb08c3441f/75

* much later in training

* wrong temporal size

* converged

* fix lane changes
old-commit-hash: d3edc594ce
2020-04-13 13:27:06 -07:00
Willem Melching
2254998160 handle nak error in replay many
old-commit-hash: fc10fe69bf
2020-04-13 13:02:18 -07:00
andyh2
f7e3d8349d offroad/ui: Fix layout bugs (offroad drawing on top, settings open after drive)
old-commit-hash: 76052865cd
2020-04-13 08:53:52 -07:00
Adeeb
15916d03f4 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.
old-commit-hash: 8d791d78dd
2020-04-10 16:12:58 -07:00
Willem Melching
ce4958dc3a 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
old-commit-hash: 54d8f9c27b
2020-04-10 16:12:39 -07:00
Adeeb
5ddf954168 cleanup readme (#1348)
* cleanup readme

* restart numbering

* reorder numbering
old-commit-hash: a92683a973
2020-04-10 15:12:05 -07:00
Drew Hintz
2640a17660 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
old-commit-hash: 756dbd8e3b
2020-04-10 14:15:50 -07:00
Greg Hogan
9cc5c41773 update tests
old-commit-hash: 337fb1a273
2020-04-10 09:46:03 -07:00
Greg Hogan
8be9cddc62 handle ignored uploads more gracefully
old-commit-hash: 85a09b3113
2020-04-09 21:59:26 -07:00
George Hotz
24f5831a94 Remove bg_thread from ui (#1347)
* remove bg_thread

* debug print app

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ef8aaa77b7
2020-04-09 20:55:54 -07:00
Andy
3879963b5a 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>
old-commit-hash: 35b34fb700
2020-04-09 19:28:11 -07:00
Willem Melching
9d166ce8bb Add Lexus RX fw versions
old-commit-hash: 1ac5c48e5d
2020-04-09 18:56:26 -07:00
Willem Melching
8fe9afda2a No hardcoded bitset size
old-commit-hash: 7d54453f04
2020-04-09 13:45:18 -07:00
Willem Melching
bbdce92c16 Populate health.faults from panda health packet
old-commit-hash: f718ceafd5
2020-04-09 13:43:00 -07:00
Willem Melching
a0ffa0761c bump cereal
old-commit-hash: fcb75d7d09
2020-04-09 12:16:13 -07:00
Willem Melching
eea2b74968 bump panda: Toyota gas pressed bit
old-commit-hash: 3ad614596c
2020-04-09 12:10:21 -07:00
Adeeb
7560d6aba6 Toyota: use universal gas pressed bit to match panda safety (#1335)
* Toyota: use universal gas pressed bit to match panda safety

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

* set closed file handles to NULL

* move fclose after BZ2_bzWriteClose
old-commit-hash: 434a2b0658
2020-04-08 14:05:19 -07:00
HaraldSchafer
3e790d8133 Update README.md
old-commit-hash: c22f1267cd
2020-04-08 13:28:58 -07:00
Willem Melching
2c79408e43 update test ref
old-commit-hash: 3eda14f2fe
2020-04-07 21:43:57 -07:00
Adeeb
d4cec82895 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>
old-commit-hash: 0f6c22ce8b
2020-04-07 21:37:17 -07:00
Willem Melching
907a97f1ee Don't use battery temperature to determine fan type (#1331)
* Don't use battery temperature to determine fan type

* Add cloudlog

* Init is_uno
old-commit-hash: 017b1f6770
2020-04-07 19:18:14 -07:00
Willem Melching
0d307b16b8 bump panda
old-commit-hash: 8b1b56a904
2020-04-07 15:00:27 -07:00
ZwX1616
9e07511371 add pc to supported hardware (#1328)
old-commit-hash: 52fcbb1b92
2020-04-07 13:19:23 -07:00
martinl
56fd19b031 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
old-commit-hash: d0b3c69505
2020-04-07 11:55:17 -07:00
Erich Moraga
74f41ccf52 CAR.COROLLAH_TSS2 x018821F3301100\x00\x00\x00\x00 (#1327)
@capthawker#8604 DongleID a362a5e990fe49e9
old-commit-hash: 6013704586
2020-04-07 11:48:55 -07:00
Willem Melching
098b0005ad switch panda back to master
old-commit-hash: d35c946148
2020-04-06 16:50:14 -07:00
Willem Melching
4c8657fc8c openpilot support for panda nak (#1324)
old-commit-hash: 7ea2524b6f
2020-04-06 16:49:37 -07:00
Willem Melching
bea4addcc2 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
old-commit-hash: b16e11cde5
2020-04-06 16:01:42 -07:00
Willem Melching
b016bffcff bump cereal
old-commit-hash: f9257fc75f
2020-04-06 12:18:42 -07:00
Willem Melching
453a053765 bump opendbc
old-commit-hash: 1eb9b05c17
2020-04-06 12:18:42 -07:00
Shane Smiskol
b5b05334f4 few small spinner updates (#1319)
old-commit-hash: 10331b1cf8
2020-04-06 11:52:15 -07:00
Arne Schwarck
39baf83a99 PRIUS Ecu.engine FW (#1315)
dongle_id
0e936661c2ec3047
old-commit-hash: bbf3cc48be
2020-04-06 11:51:38 -07:00
DeanLee
6ff6ce4d79 Fix memory leak in boardd.cc (#1321)
* fix memory leak

* dd
old-commit-hash: 9bcd5faa70
2020-04-06 09:13:34 -07:00
Andy
e43b40540d 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
old-commit-hash: 41bb3ac7ca
2020-04-05 11:06:49 -07:00
Andre Volmensky
613e84efe0 Add angle based steer saturation timer (#1311)
* Add angle based steer saturation timeout

* Fixed saturated check
old-commit-hash: 522dc29b53
2020-04-05 10:59:54 -07:00