Commit Graph

697 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: e22482eb31f0dd7851fec6ecf448cf99a14b7f5c
2020-04-13 15:53:24 -07:00
Dean Lee 9c9b8b2aa8 add ui_draw_image to reduce code repetition
old-commit-hash: 1ecef2c6be9e47ab5942ef3c4bf48e9baf6af921
2020-04-13 15:38:45 -07:00
Willem Melching 8d70f6e06c Can't import from logmessaged if build fails
old-commit-hash: 60f6e12debe7ed5f53076f3f1ab43fbd150d7087
2020-04-13 15:18:10 -07:00
Dean Lee 7c22a08b30 close usb handle after faile (#1352)
old-commit-hash: dd05d1df835a0e7766f15fe7b9bf437988def8cb
2020-04-13 15:10:47 -07:00
Dean Lee ea0392cc2a close file descriptor (#1353)
* close file descriptor

* check return value
old-commit-hash: 2fc324734371b2eac7f7f34aedf4715febd65eb6
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: 789764945c173540e7a3d971c8ec9f365da1bf05
2020-04-13 15:07:59 -07:00
Willem Melching bd9ca30ee8 log bootstub version in pandad
old-commit-hash: 9d83103b0980cd7f5f7156cf3e730a5c57263bb6
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: d3edc594cef776847645a6cd14e9e3ce6893bd29
2020-04-13 13:27:06 -07:00
Willem Melching 2254998160 handle nak error in replay many
old-commit-hash: fc10fe69bf093037261853fff6a06b1889cb46c5
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: 76052865cd0b8fdc7ba323390bd4e686fb794258
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: 8d791d78dd4fbc973eb61ccd9df2ed4cf9bbbcd5
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: 54d8f9c27b49efe56b813eb2538b3aa9dc1c2897
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: 756dbd8e3b56cb378c90c59a13fd056408280292
2020-04-10 14:15:50 -07:00
Greg Hogan 9cc5c41773 update tests
old-commit-hash: 337fb1a273c4ac57c2a2a17ae68499eb8b49f37b
2020-04-10 09:46:03 -07:00
Greg Hogan 8be9cddc62 handle ignored uploads more gracefully
old-commit-hash: 85a09b3113fe45b5feee7c1c421e2c43cb2ac03a
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: ef8aaa77b79194cd0bc25b1e2a42ca857c34a401
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: 35b34fb7002e1e80ddeb6082d3f19b9d41f01daf
2020-04-09 19:28:11 -07:00
Willem Melching 9d166ce8bb Add Lexus RX fw versions
old-commit-hash: 1ac5c48e5d2e52f6fd9d84743576077e7799c344
2020-04-09 18:56:26 -07:00
Willem Melching 8fe9afda2a No hardcoded bitset size
old-commit-hash: 7d54453f0409f06ba583388dc61cb8cfaf430629
2020-04-09 13:45:18 -07:00
Willem Melching bbdce92c16 Populate health.faults from panda health packet
old-commit-hash: f718ceafd51b71a8f16e2fee2ada141965a2e492
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: 928b1561aabb3683875d5c083377d5c5d894d543
2020-04-09 12:09:20 -07:00
Willem Melching ed69033e66 Remove unmaintained mapd code
old-commit-hash: d38a9521025f872a2710f311573249cc9f0f8733
2020-04-09 11:43:14 -07:00
Willem Melching cb2fe8277d fix import spinner start position
old-commit-hash: 9e5bac70614f44d709f22cea6e4516469a5b2697
2020-04-08 16:21:51 -07:00
Dean Lee 5449ad52a5 remove unnecessary nvgLineTo (#1333)
old-commit-hash: ee52046957955d423a1ac4db09079613ca1bdcc5
2020-04-08 15:10:42 -07:00
Willem Melching adaede6b37 Force decel on soft disable (#1334)
old-commit-hash: 7643b0a51100ab4318dc687545fbc120677ba9b8
2020-04-08 14:59:17 -07:00
Willem Melching dc073f0e46 Init mutex just to be safe
old-commit-hash: 64f6e0c1d163b94ea301b74a2bdfe77dbbbb2e5c
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: 434a2b06584652ef82b393fcbc2986b598736030
2020-04-08 14:05:19 -07:00
Willem Melching 2c79408e43 update test ref
old-commit-hash: 3eda14f2fea253c6a694670bde1c1d7be57d2ddd
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: 0f6c22ce8b3fbbbbb8fff59e44f49b8ec1578e90
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: 017b1f677050b1b9c29ce8173b80cd9a89901e40
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: d0b3c695058ce0798d1fd025495903f40851b533
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: 6013704586b07256e3b3057b71304ee67db4585c
2020-04-07 11:48:55 -07:00
Willem Melching 4c8657fc8c openpilot support for panda nak (#1324)
old-commit-hash: 7ea2524b6fbb89f23d3591ee2c115181af480d5a
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: b16e11cde5eccf3f3d028cf8ea2190726944a895
2020-04-06 16:01:42 -07:00
Shane Smiskol b5b05334f4 few small spinner updates (#1319)
old-commit-hash: 10331b1cf86659a6ad32137debc43374e4feece8
2020-04-06 11:52:15 -07:00
Arne Schwarck 39baf83a99 PRIUS Ecu.engine FW (#1315)
dongle_id
0e936661c2ec3047
old-commit-hash: bbf3cc48be06118767722136a9f75f5f97199174
2020-04-06 11:51:38 -07:00
DeanLee 6ff6ce4d79 Fix memory leak in boardd.cc (#1321)
* fix memory leak

* dd
old-commit-hash: 9bcd5faa70a868de5272b17c9bc3693bf89044d0
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: 41bb3ac7ca586b41fa91ad5a6392c88a2c4d5cb3
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: 522dc29b53c29bc800af84ab5a196d226bf924a6
2020-04-05 10:59:54 -07:00
Willem Melching a4edbacde2 Add 2020 Camry FW versions
old-commit-hash: c985e997e991113f6fb22398da9f533312f8c6b9
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: 972682580c35693fdd238380e4df6d9b4106d0a6
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: 43b62d8bb6627c6e33b082848a978ab65d7ec7d0
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: dae19a284d20a81432c57f99be8ac69bb3c2454a
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: c95134defe6734dcffeff6f9a1563f9ca8475722
2020-04-02 11:28:20 -07:00
Willem Melching 57f94db935 Fix dashcam missing CarState
old-commit-hash: 0112a8d3fda01d2e12b00b340014e974851773d6
2020-04-01 16:36:46 -07:00
Comma Device 7c4f8f5098 fix background on computer ui
old-commit-hash: 6abbda14671bf3fdc1d52cfc0a1337f8ca43331f
2020-04-01 23:01:17 +00:00
Willem Melching 3e9de54726 add low pass filter on cpu temp (#1305)
old-commit-hash: b497a014176def38cc2ccafa55bea9cdefa5983b
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: 0970dd74b705307a0200932cd47a2f85ef90cd8b
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: 202a4c2011d0c4638c454a39718084548b8ba95d
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: cfcf3f9368eacacc7844b53b37842bd7419d42f9
2020-03-31 18:25:05 -07:00