Commit Graph

119 Commits

Author SHA1 Message Date
Adeeb Shihadeh
d92ec9642e grey panda deprecation (#2406) 2020-10-26 23:09:06 -07:00
Adeeb Shihadeh
88b956528e camera malfunction alert (#2391)
* camera malfunction alert

* bump cereal

* fix process replay

* ugh, needs refactor
2020-10-22 16:28:54 -07:00
ZwX1616
53bd3050ee infinite sound (#2372)
* make sound infinite loopable

* Update selfdrive/ui/android/sl_sound.cc

* fix loop

* fix test threshold

* more fix

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-10-20 17:42:19 -07:00
Shane Smiskol
5bcac27d98 matrix subclass not recommended way to represent matrices (#2348) 2020-10-20 12:12:23 +02:00
Adeeb Shihadeh
ae4b4bd125 Alert cleanup (#2274)
* no more focus recover active

* consistency

* more permanent

* dm alerts

* sanity check test

* no please

* clean that up

* update refs

* one more

* bump cereal
2020-10-14 15:56:18 -07:00
Adeeb Shihadeh
1c6905cac1 clear irrelevant alerts on state transition (#2318)
* cleanup

* clear warnings

* more types

* needs refactor

* update refs

* update refs
2020-10-14 14:08:15 -07:00
Willem Melching
ce85e402f4 Fix lane change when blinker is turned off early (#2324) 2020-10-13 17:42:29 +02:00
Shane Smiskol
6133f603f0 Use math instead of numpy for calculating TTC, on average 80% faster (#2293)
* Use math instead of numpy, on average 80% faster

* whoops
2020-10-08 14:23:53 +02:00
Logan Lasiter
1a2efdc139 Present alert if fan isn't spinning (#2258)
* Present alert if fan isn't spinning

* allow entry

* Small updates

Moving to fan malfunction event

Only trigger event for uno or dos

* Changed checking fanSpeed > 50%

* Update text for fan malfunction alert.

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

* Alert if fan isn't spinning for 5 sec

* Alert edit

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-07 12:15:09 +02:00
Adeeb Shihadeh
bd4a1f291d cleanup duplicate function 2020-10-06 23:59:16 -07:00
Adeeb Shihadeh
70bc935210 bump cereal 2020-10-05 18:43:21 -07:00
cydia2020
6d5b2af3f2 add 1 second delay to acc pedal alert (#2221)
So that the screen wouldn't appear to "flicker" when openpilot is engaged while the acc pedal is being released
2020-09-28 16:17:21 -07:00
qadmus
254814cc79 remove unused globals, use self.reset() (#2220)
Co-authored-by: user <email@web.com>
2020-09-24 11:39:47 +02:00
Adeeb Shihadeh
cdcf235025 remove unused alert 2020-09-22 13:47:30 -07:00
qadmus
72e0ac2de1 cleanup long planner, mpc: unused globals and arguments (#2211)
Co-authored-by: user <email@web.com>
2020-09-21 11:43:28 +02:00
Willem Melching
65e5032a97 Revert "tici: take into account frame timestamp (#2199)"
This reverts commit 3a494e144b.
2020-09-21 10:31:01 +02:00
Adeeb Shihadeh
15e4048318 alertmanager type hints (#2201)
* alertmanager types

* clean that up

* more cleanup

* little more

* space
2020-09-19 10:53:14 -07:00
Willem Melching
3a494e144b tici: take into account frame timestamp (#2199)
* compensate for frame processing time

* add rolling shutter time

* Add max frame delay of 250ms

* only delay on tici
2020-09-18 17:42:29 +02:00
Adeeb Shihadeh
a81a18205e type hints for alerts and fix community feature alert (#2196)
* fix startup alert for community features

* type hints for alerts

* more type hints

* fix dashcam only alerts

* more type hints
2020-09-17 22:06:31 -07:00
ZwX1616
a2adfdb155 Cut down unnecessary DM uncertain alerts (#2157)
* cut down high std alerts

* clean comments

* uncertain curve tune

* update test gt

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-09-14 10:43:19 -07:00
Adeeb Shihadeh
a4a4e28c1a prevent reversing alert from showing while changing gears 2020-09-12 17:21:30 -07:00
Adeeb Shihadeh
e0004d0981 Reduce paramsd and calibrationd CPU usage (#2119)
* reduce paramsd cpu

* reduce calibrationd cpu usage

* calibration_helpers was mostly unused

* more calibration cleanup

* update refs

* fix thresholds in CPU test
2020-09-10 12:16:29 -07:00
Adeeb Shihadeh
9cd88526b5 hide camera view when in reverse (#2144)
* partially hide camera view when in reverse

* lowest priority

* update ref commit

* fix type

* update refs
2020-09-09 00:11:12 -07:00
Adeeb Shihadeh
86f4d86cd7 make calibrationInvalid a permanent alert 2020-09-04 13:20:48 -07:00
ZwX1616
9731e7a0d7 not show soft recover alerts 2020-08-27 17:59:26 -07:00
Chris
1b52930a52 Kilometers per hour now displayed as km/h (#2032)
Fixes #2031

Signed-off-by: Christopher Rabotin <christopher.rabotin@gmail.com>
2020-08-17 11:16:52 +02:00
Adeeb Shihadeh
cb5a2996e7 NEOS background updater (#1892) 2020-08-12 11:39:21 -07:00
Adeeb Shihadeh
8e63f06540 Alert when updated consistently fails (#2013)
* alert when update fails more than 10 times

* bring over offroad alert refactor from other branch

* and we have tests

* use it in snapshot

* bump apk

* don't show exceptions on release branches

* only write when changed

* why does delete use so much cpu

* clean that up

* little more
2020-08-11 16:23:57 -07:00
Adeeb Shihadeh
ee99b59bad fix missing negative limit in pid controller (#2001) 2020-08-08 11:49:13 -07:00
HaraldSchafer
490ee52687 add fall filter and less FP on posenet (#1971)
* add fall filter and less FP on posenet

* add alert

* list

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-03 15:51:56 -07:00
HaraldSchafer
8e2d344135 Misc locationd improvements (#1714)
* I like this more

* rewind less

* bump rednose

* falling off windshield detectopr

* adjust thresholds

* this is a soft disable now

* move that

* process replay fixes

* update refs

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-07-30 15:33:22 -07:00
Shane Smiskol
ebadb39e42 Fix hard deceleration after user accelerates above set cruise speed (#1880)
* Fix hard deceleration after user accelerates above set cruise speed

* 2nd required change
2020-07-20 17:04:05 +02:00
Adeeb Shihadeh
5db81f60ca Fix most remaining LGTM alerts (#1893)
* fixups from LGTM

* short globals

* fix spinner and textwindow

* total ordering

* no spinner/text window when import from manager

* not android
2020-07-19 16:12:22 -07:00
Adeeb Shihadeh
03e824a4b5 Alert when modeld is lagging by more than a frame (#1823)
* alert when modeld is lagging by more than 1 frame

* log frameAge in modelData

* set posenet valid

* compute frame_age once
2020-07-09 17:02:21 -07:00
Greg Hogan
c458f5a5d3 k-line 5 init fault type (#1821)
* k-line 5 baud fault type

* update name

* bump cereal

* fix name

* add missing event
2020-07-06 09:33:16 -07:00
Adeeb Shihadeh
64aeb80dcc fix blindspot detection 2020-06-30 13:44:56 -07:00
robbederks
df86c476c7 Dos (#1795) 2020-06-29 12:47:48 +02:00
Adeeb Shihadeh
ce80684f7e Add alert while in preEnabled state (#1791) 2020-06-28 20:29:42 -07:00
Willem Melching
5e254da8b3 fix wrong car mode alert 2020-06-24 18:20:30 -07:00
Adeeb Shihadeh
c4a3d7afb0 Block lane change start on blindspot detection (#1712)
* use BSM to block lane change start

* remove duplicate entry

* add approaching
2020-06-24 17:31:09 -07:00
ZwX1616
3aa99a01d7 recover EON/C2 AF (#1665) 2020-06-23 14:33:32 -07:00
Adeeb Shihadeh
51b7dc0e38 fix engage/disengage sounds 2020-06-23 10:50:24 -07:00
Adeeb Shihadeh
cab96374c5 more generic alert text for wrongCarMode 2020-06-19 20:36:10 -07:00
Adeeb Shihadeh
ccf6b80c7e Cleanup startup event handling (#1748)
* cleanup startup event

* always show permanent

* lowest

* update refs
2020-06-19 16:16:48 -07:00
Adeeb Shihadeh
fd8514eee3 hwType is in health 2020-06-18 15:37:21 -07:00
Adeeb Shihadeh
e892d6a9d9 if sky visible 2020-06-18 14:40:57 -07:00
Adeeb Shihadeh
b3101998ed update no GPS alert for comma two users 2020-06-18 13:01:28 -07:00
Adeeb Shihadeh
6c156d7f45 NEOS update required alert (#1722)
* NEOS update required

* permanent alert

* bump cereal
2020-06-16 12:21:41 -07:00
Adeeb Shihadeh
25688f36cc Block entry on non-adaptive cruise mode (#1708)
* block entry on non-adaptive cruise mode

* user disable

* toyota
2020-06-15 18:11:50 -07:00
Adeeb Shihadeh
9e34ed4e8c bump cereal 2020-06-15 16:01:35 -07:00