Commit Graph

691 Commits

Author SHA1 Message Date
Willem Melching
bd9ca30ee8 log bootstub version in pandad
old-commit-hash: 9d83103b09
2020-04-13 14:41:36 -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
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
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
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
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
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
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
Willem Melching
a4edbacde2 Add 2020 Camry FW versions
old-commit-hash: c985e997e9
2020-04-03 12:26:18 -07:00
Arne Schwarck
9b6909c50c More RAV4_TSS2 FW (#1312)
* More RAV4_TSS2 FW

dongle_id: 00dc05336f1756d9

* Then only the one FW to update
old-commit-hash: 972682580c
2020-04-03 11:39:38 -07:00
Arne Schwarck
cc1eafea97 Toyota Tss2 Blindspot signals (#1309)
* Toyota Tss2 Blindspot signals

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

* Update ref_commit
old-commit-hash: 43b62d8bb6
2020-04-03 08:31:12 -07:00
Willem Melching
8c1e437b6e 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>
old-commit-hash: dae19a284d
2020-04-02 15:04:01 -07:00
Willem Melching
e8a8eef872 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
old-commit-hash: c95134defe
2020-04-02 11:28:20 -07:00
Willem Melching
57f94db935 Fix dashcam missing CarState
old-commit-hash: 0112a8d3fd
2020-04-01 16:36:46 -07:00
Comma Device
7c4f8f5098 fix background on computer ui
old-commit-hash: 6abbda1467
2020-04-01 23:01:17 +00:00
Willem Melching
3e9de54726 add low pass filter on cpu temp (#1305)
old-commit-hash: b497a01417
2020-04-01 15:58:40 -07:00
Jason Young
40f9c6faa1 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
old-commit-hash: 0970dd74b7
2020-04-01 10:51:47 -07:00
Willem Melching
935753357a Add binary to display text (#1301)
* add binary to display text

* fake text needs status too

* Rename to TextWindow

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 202a4c2011
2020-03-31 20:14:26 -07:00
George Hotz
860930b198 tici: fix loggerd (#1302)
* loggerd builds

* codec

* add frame_id cams

* working

* no qcam on tici

* pthread always

Co-authored-by: Tici <robbe@comma.ai>
old-commit-hash: cfcf3f9368
2020-03-31 18:25:05 -07:00
George Hotz
f5078e87bc tici: add (somewhat) broken camerad support (#1300)
* capnparm

* building in progress

* scons build works

* that script fixes opencl

* start new camera code

* includes and more camera scripts

* control c works now

* no device control yet

* phy too

* just one camera for now

* fix capnparm

* hmm, the inits are needed

* more cameras

* link stop start

* doesn't work yet

* fix ion on qcom2

* start poll ish

* 4 pictures and done

* no jpeg

* it works to picture

* destroy sync obj

* both work for now

* defined QCOM2

* fix fd leak

* run modeld

* 10 bit mode

* real frame stride

* needs digital gain

* dnew

* no color correcting on new

* that snpe doesn't work

* qcom2 gate

* cleanups

* oops, fix aarch64 detector

* update cereal

* modeld works with SNPE

* fix driver monitoring model

Co-authored-by: Tici <robbe@comma.ai>
old-commit-hash: 8db0993663
2020-03-31 16:34:55 -07:00
Willem Melching
bb5e87efda 2020 Chrysler Pacifica (#1297)
* 2020 pacifica support

* Update readme
old-commit-hash: 746f7ed9b1
2020-03-31 15:47:49 -07:00
Willem Melching
efeec6230b Tombstone add exception handler
old-commit-hash: c495b2d9be
2020-03-31 14:47:46 -07:00
Willem Melching
ea17840233 Fix comment
old-commit-hash: ca2d9af954
2020-03-31 14:43:53 -07:00
Willem Melching
ee9a131e53 Simplify tombstoned, should fix #1258
old-commit-hash: d8d2d568dc
2020-03-31 14:41:55 -07:00
eFini
7d25d238a3 use put_nonblocking when possible (#1288)
* use put_nonblocking when possible

* revert uneeded changes
old-commit-hash: 106be23c4e
2020-03-31 12:09:38 -07:00