Commit Graph

702 Commits

Author SHA1 Message Date
Adeeb Shihadeh 340a080c3b alert for errors in camera stack (#20932)
* camera error alert

* check crcs

* cleanup

* bump cereal

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2defc730db18f7f9c0b08b0c8b0f6806cc513ac4
2021-05-19 21:28:16 -07:00
Adeeb Shihadeh 4d33a71115 add athena last ping time to deviceState (#20961)
old-commit-hash: 4e17c0b01a70acd6df9fbe47689e299877f3cd77
2021-05-19 00:19:49 -07:00
ShaneSmiskol 0d45e6885a Deprecate brakeLights field (#20954)
* remove all references to CS.brakeLights

* unused red

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 551091bcfa46e50ef60dac3f3bdff299dba95f35
2021-05-18 17:48:02 -07:00
Willem Melching caabd56607 Add engineering output to deviceState.networkInfo (#20948)
* Add engineering output to deviceState.networkInfo

* update cereal
old-commit-hash: e8641f643056bc6719559ea264121a52bcf79ed9
2021-05-18 14:08:08 +02:00
Willem Melching 904a643f91 bump cereal
old-commit-hash: c08f043b1c8e1cbc949144e52d81e513513266e4
2021-05-17 13:10:31 +02:00
Willem Melching b3873f00a4 thermald: fetch more detailed network info (#20928)
old-commit-hash: f6cf350d3ad34fccef4e982af07cf95b5f96fe59
2021-05-17 13:10:08 +02:00
iejMac f786b284d5 Replay: seeking functionality (#20763)
old-commit-hash: f0d0b82b8d6f5f450952113e234d0a5a49e80c48
2021-05-15 17:06:30 -07:00
Dean Lee ebe3a39909 UI: remove duplicate capnp readers (#20855)
* refactor submaster

* rebase master

* CAPNP best pratice

* zero initialize

* vwp_w has not been initialized before UIState()

* no static

* rebase master

* Minimize refactoring

* cleanup

* remove gpsOk

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 533bc30c2e4ecac5e022f2ba4f3919842dfa0a1a
2021-05-14 22:47:06 -07:00
Adeeb Shihadeh 3fbeb1299e boardd: set can and pandaState valid flags (#20899)
* boardd: set can and pandaState valid flags

* add event

* bump cereal

* consistency
old-commit-hash: e694f0b4d6f8cfe55e2c8d36a78cf86fe0c86f1a
2021-05-14 21:26:02 -07:00
HaraldSchafer 8559ab5ebd Add ublox interference monitor (#20911)
* add interference monitor

* new thresholds

* correct labels

* always run for test

* new msg

* add flag

* Revert "always run for test"

This reverts commit b04b92ac2d73d996d1526509e26c4e1a4338cbbb.

* add hw status flags
old-commit-hash: e5f93ef142af706eed05f1d015e1436efa29d1de
2021-05-14 15:23:27 -07:00
Willem Melching ca9ed8b289 bump cereal
old-commit-hash: 989230d2aa57a84c17fd32ba7a1d20843b211930
2021-05-12 11:16:36 +02:00
Willem Melching 8b785f4744 store all files in /sys/fs/pstore in bootlog (#20875)
* store all files in /sys/fs/pstore in bootlog

* whitespace

* fix bootlog test
old-commit-hash: 4742f55749e59f565192589b318841f2133260ed
2021-05-12 11:15:54 +02:00
Willem Melching fa3cd32780 C++ Process replay improvements - Part 1 (#20828)
* C++ Process replay improvements

* revert that change

* create publisher before subscribers

* dont block forever, print warning

* add comment

* create sockets after process init

* try once more to receive the message

* SIMULATION env variable

* print message num when no response
old-commit-hash: d96edb68177ccbcf60a21b81ed1c0815f306efbc
2021-05-05 17:14:29 +02:00
Adeeb Shihadeh 532d19427c bump cereal
old-commit-hash: 8a280fbb8eb433fbfe0fc43254c9cbdaceedbab6
2021-05-03 20:47:11 -07:00
Adeeb Shihadeh 31f13e7747 Building on M1 (#20796)
* cereal builds

* UI builds

* libyuv
old-commit-hash: c65c6102a6622f0f55fc7eaeb6e9d317258ce6ed
2021-05-02 14:21:49 -07:00
Adeeb Shihadeh ec7913cbe5 delay controls start (#20761)
* delay controls start

* shouldn't need this stuff anymore

* only delay board

* bail after 2s

* fix loopback test

* fix process replay

* update refs

* bump cereal

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f9a961f6fb69f36f8a113246920b2d71e6af8ae1
2021-04-30 13:55:17 -07:00
Adeeb Shihadeh 7546f7d084 enforce message checks in can parser (#20742)
* enforce message checks in can parser

* nissan

* vw

* hkg

* subaru

* toyota

* honda bosch

* gm

* honda nidec

* bump opendbc

* not all tss2 have bsm

* toyota fixes

* honda fixes

* vw fix

* fix subaru

* fix long tests

* update refs

* crv bsm
old-commit-hash: 6c7ed8f2e4a3769c12e61be57e802920b84dcc29
2021-04-25 12:52:16 -07:00
iejMac 4abd8988e4 cereal: SubMaster refactor, update is now void (#20730)
* cereal: SubMaster refactor, update is now void

* bump cereal

* mistake

* update void

* checks

* semicolon

* Update selfdrive/camerad/cameras/camera_frame_stream.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* check sensorEvent

* update cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4866a39244c59f540895ad64103e13f7c41a3cc8
2021-04-22 22:13:32 -07:00
Adeeb Shihadeh cc29fdfed2 less harsh steering unavailable alert when overriding (#20718)
* less harsh steering unavailable alert when overriding

* just steer

* 1s

* orange

* update refs
old-commit-hash: 836668f1050e1dbc185af7d472e2016627711aeb
2021-04-20 21:01:28 -07:00
Willem Melching ee0e80a6d4 Fuzzy match on ECU FW versions (#20687)
* Fuzzy match on 3+ ECUs

* reuse dict

* exclude some shared ecus to be sure

* show alert for fuzzy match

* use title case

* require community toggle

* refactor

* do both exact and fuzzy in test script

* update test script

* add fuzz test and lower matches to >= 2

* strip alert length

* sort mismatches

* add fw tests to test_startup

* bump cereal
old-commit-hash: e4f73fbda5c2dd07cbb15816ac1bf30b010408fe
2021-04-20 12:00:36 +02:00
Willem Melching 0783061e7e bump cereal
old-commit-hash: eccaccf10c260ef66a10667a1ea1cf3a135ef252
2021-04-19 17:29:01 +02:00
Joost Wooning ff90b71c5c Add flag to process replay config to use real submaster (#20701)
old-commit-hash: ff813b6b45e6fb9fed39c2d76b0da84236f9b3d8
2021-04-19 17:27:36 +02:00
Adeeb Shihadeh 89720ef6ce more apk cleanup (#20646)
* bump cereal

* cleanup

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 58dabdda00eae882b2290f7edd2d21dff81e3528
2021-04-10 14:53:51 -07:00
Willem Melching cd4e847255 bump cereal
old-commit-hash: 73d45eb18a89801796ad774a2d644ec90cf32770
2021-04-08 18:04:36 +02:00
Willem Melching 99a8e9222e Add list for average frequency ignore (#20624)
* add list for averge frequency ignore

* typo
old-commit-hash: c1075037ba3cbef9814e3bc2930e5c6eea6c46ed
2021-04-08 18:04:16 +02:00
Willem Melching 619c8536d3 bump cereal
old-commit-hash: 1e4fd86acedcf32f62bf6af5070026950dd5c84f
2021-04-08 14:37:36 +02:00
Adeeb Shihadeh 99b2c0d024 Alerts update (#20567)
* steer temp unavailable should be a soft disable

* no mute

* these should be no entries

* sound

* better name

* deprecated

* make vehicleModelInvalid a soft disable

* update refs

* bump cereal

* bump cereal

* update refs
old-commit-hash: 2fa1b2572dfb63e367cfe2868da576090b227ca4
2021-04-07 12:18:58 -07:00
Willem Melching b49748bb2a bump cereal
old-commit-hash: 67ca5ca024d24d1a74d9c048191662bf32e951f4
2021-04-06 10:10:06 +02:00
Willem Melching 15c06d1c06 Check average frequency in SubMaster (#20558)
old-commit-hash: 79b5bee9dd4a56b06f02ca22114cc063d606d7c2
2021-04-06 10:09:47 +02:00
Adeeb Shihadeh 092db4eadc show persistent dashcam mode alert (#20483)
* always show dashcam mode alert

* show persistent dashcam mode alert

* lowest

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 367aec54d1c4c5ed8d3f651d0b2f8b80fb0ac0e5
2021-03-25 21:37:38 -07:00
Adeeb Shihadeh 30f036680b Qt touchups (#20465)
* reduce minimum size

* clean that up

* consistent

* feels pretty good

* cleanup

* less laggy toggle

* openpilot

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7f56991b41c40a765125635919a91bca55815bd6
2021-03-24 21:18:12 -07:00
Willem Melching a20698c339 bump cereal
old-commit-hash: dabe59d2bf639b00a29bca20ae47fc65ec78216b
2021-03-17 14:25:44 +01:00
Willem Melching 278b52cc6e bump cereal
old-commit-hash: c2362852ded59f52d9f12ee270e0a635ee027d74
2021-03-17 11:00:07 +01:00
HaraldSchafer c07a1ad57b Sane curvature rate limit in plannerd (#20366)
* safety limit

* should be in RADs

* add raw

* update refs
old-commit-hash: 27035131cc97afdf19f682911f580bd689493794
2021-03-16 15:00:03 -07:00
Willem Melching df9ff5f5cc bump cereal
old-commit-hash: b6aebfe13cf2a81ef77839ebf0407dfa28f22363
2021-03-15 17:27:49 +01:00
Adeeb Shihadeh c4aa4ef5c7 bump pycapnp version (#20326)
* bump pycapnp version

* bump cereal
old-commit-hash: 20e6f6bd79a466e7fc60e3c8249ae96425e3c2a1
2021-03-11 20:18:38 -08:00
Greg Hogan b0228ac4aa bump cereal
old-commit-hash: f5eae55f9b682ac41a11f101e6562c3bae8f3116
2021-03-11 20:04:22 -08:00
Adeeb Shihadeh 5e734f0e4f bump opendbc and cereal
old-commit-hash: 645ae2c92e8b82ac56377f96b4f611bae3175205
2021-03-11 16:16:54 -08:00
Willem Melching e5d066bc14 write params in initData as Data
old-commit-hash: 511cb2680fa0ae80804f8ef824c9a17c9bcbff89
2021-02-26 14:45:41 +01:00
Willem Melching 87aaa2dca5 bump cereal
old-commit-hash: 5add7f2539f49f330333c9e7de3135589b5909a0
2021-02-23 15:38:22 +01:00
Willem Melching aa5575dd06 bump cereal
old-commit-hash: 1bf12eca0f2e3a06d89bd431542ebea528cf63ab
2021-02-22 10:12:13 +01:00
Adeeb Shihadeh 05eb44115e cereal cleanup part 2 (#20092)
* car stuff

* thermal

* Revert "car stuff"

This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.

* panda state

* camera stuff

* start deg

* most is building

* builds

* planner + controls run

* fix up paramsd

* cleanup

* process replay passes

* fix webcam build

* camerad

* no more frame

* thermald

* ui

* paramsd

* camera replay

* fix long tests

* fix camerad tests

* maxSteeringAngle

* bump cereal

* more frame

* cereal master
old-commit-hash: 312b681a46b8153314a8420611b6479dd6f70dfc
2021-02-16 21:39:32 -08:00
Adeeb Shihadeh bba247fec9 update frequencies for tici
old-commit-hash: efd5c863091097838559bc2708fdf65fecdb47c2
2021-02-11 17:46:59 -08:00
Adeeb Shihadeh 41d6e5c021 bump cereal
old-commit-hash: a6b673e6a11f1b9c0f8900367cf48eae9ed4c8db
2021-02-11 17:28:28 -08:00
Adeeb Shihadeh 829ab2dff3 fanSpeedRpmDesired -> fanSpeedPercentDesired
old-commit-hash: 4ace476f14bb73c354234c6bbedbc4ea0bf2d402
2021-02-11 17:00:26 -08:00
ZwX1616 70f859f93a update cereal
old-commit-hash: d4837516aa0f366f2d3535c4831068e7eea6069c
2021-02-09 19:23:20 -08:00
Willem Melching e26656ddab bump cereal
old-commit-hash: 0843fe8ffc423bbc7157268374daefcf15ef4365
2021-02-09 17:39:43 +01:00
Willem Melching 458d56c17b bump cereal
old-commit-hash: 9d9dcf0d2e2d4e5e41971859c570992e60b290b8
2021-02-09 17:15:41 +01:00
Adeeb Shihadeh 966945880b Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
old-commit-hash: 000bd226aa9902da01e6010bf26762fca2c20df0
2021-02-03 19:57:30 -08:00
robbederks 8156542312 implement ublox MON_HW2 message (#19962)
* implement MON_HW2 message

* didn't mean to remove this
old-commit-hash: 99d58193e497385b925a215f42b8bc470e328da4
2021-02-03 13:09:44 +01:00