Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update with Master #68

Merged
merged 183 commits into from
Jul 14, 2020
Merged
Changes from 1 commit
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
981a166
remove duplite #include (#1697)
deanlee Jun 14, 2020
1d9920a
Impreza 2018-20 should be 2017-20 (#1701)
michaelhonan Jun 15, 2020
2246727
Hyundai Ioniq EV LTD (#1694)
adeebshihadeh Jun 15, 2020
10cb6ab
dont conflate in ubloxd
pd0wm Jun 15, 2020
8cacc14
Sound refactor (#1589)
deanlee Jun 15, 2020
4ca8283
Modeld: loop over platforms to find CPU/GPU (#1710)
pd0wm Jun 15, 2020
9e34ed4
bump cereal
adeebshihadeh Jun 15, 2020
a34e8a6
Many readme updates
VirtuallyChris Jun 15, 2020
be9034b
Remove apks submodule (#1711)
adeebshihadeh Jun 15, 2020
2afe224
need to do something about the valid (#1713)
haraschax Jun 16, 2020
637eecc
save bad calib too for display (#1678)
haraschax Jun 16, 2020
d217589
add stuff to liveloc
haraschax Jun 16, 2020
ed7e568
update ref
pd0wm Jun 16, 2020
25688f3
Block entry on non-adaptive cruise mode (#1708)
adeebshihadeh Jun 16, 2020
f418794
Add Accord FW version
pd0wm Jun 16, 2020
3335f6b
bump panda
adeebshihadeh Jun 16, 2020
80101b3
modeld process time logging to DEBUG (#1720)
jyoung8607 Jun 16, 2020
fed9325
neos update for only kernel
geohot Jun 16, 2020
6c156d7
NEOS update required alert (#1722)
adeebshihadeh Jun 16, 2020
58c1504
Revert broken NEOS kernel (#1723)
geohot Jun 16, 2020
dbc609b
ESP Firmware for Hyundai Palisade (#1728)
scottadair Jun 17, 2020
2a9b5b3
Clarify shortcut usage in Carla simulation mode (#1724)
johschmitz Jun 18, 2020
08f715f
bump panda
adeebshihadeh Jun 18, 2020
ee2f60f
remove dpulicated firmware id, already existed 3 lines above (#1736)
eFiniLan Jun 18, 2020
bbb6fa1
Remove logentries from pyextra (#1721)
adeebshihadeh Jun 18, 2020
6385fae
bump panda
adeebshihadeh Jun 18, 2020
472fe66
GM cleanup + ignition fix (#1729)
adeebshihadeh Jun 18, 2020
b310199
update no GPS alert for comma two users
adeebshihadeh Jun 18, 2020
9b6864b
fix 'openpilot' symlink being created in release branches
adeebshihadeh Jun 18, 2020
e892d6a
if sky visible
adeebshihadeh Jun 18, 2020
fd8514e
hwType is in health
adeebshihadeh Jun 18, 2020
853dfcd
Added 2020 RX350 fwdRadar f/w x018821F3301100 (#1739)
ErichMoraga Jun 18, 2020
5198457
make sure everything runs before ending test (#1741)
pd0wm Jun 19, 2020
d0254e6
Added 2019 C-HR FPv2 firmware (#1743)
michaelhonan Jun 19, 2020
fa0b47e
save Reader to local variable to avoid repeating validate the pointer…
deanlee Jun 19, 2020
c808219
release resources in modeld (#1700)
deanlee Jun 19, 2020
0cda65b
catch CalledProcessError when detecting kernel version
adeebshihadeh Jun 19, 2020
2b20479
Move kernel check to before creating the submaster, prevent SIGUSR2
pd0wm Jun 19, 2020
a1d4dd3
release2 cleanup (#1703)
adeebshihadeh Jun 19, 2020
9e273eb
ubloxd free->delete, fixes #1742
pd0wm Jun 19, 2020
24de817
Only show gps event after 1 km (#1747)
pd0wm Jun 19, 2020
78b428e
fix alert sounds looping
adeebshihadeh Jun 19, 2020
01a4863
c++ify thneed to remove memory leaks (#1737)
geohot Jun 19, 2020
ccf6b80
Cleanup startup event handling (#1748)
adeebshihadeh Jun 19, 2020
77b7d30
Remove kernel check from controlsd
pd0wm Jun 19, 2020
0681fc0
debug script to track droppped frames (#1749)
pd0wm Jun 19, 2020
a8e7a18
Fix modeld dropping frames if processing takes over 50 ms
pd0wm Jun 19, 2020
968443c
Alert when controls fails to start (#1750)
adeebshihadeh Jun 20, 2020
8f9c01f
New issue templates (#1751)
adeebshihadeh Jun 20, 2020
4bd4812
issue templates need descriptions apparently
adeebshihadeh Jun 20, 2020
2ce2260
Pull request templates (#1752)
adeebshihadeh Jun 20, 2020
cab9637
more generic alert text for wrongCarMode
adeebshihadeh Jun 20, 2020
3c461ca
Add cppcheck as a pre-commit hook (#1646)
adeebshihadeh Jun 20, 2020
be08124
Added firmware versions for RAV4 TSS2 Non-Hybrid (#1756)
michaelhonan Jun 22, 2020
a64f011
Fix resource leak in visionbuf_free (#1699)
deanlee Jun 22, 2020
6cb2d83
add upate_kernel.json to release files
adeebshihadeh Jun 22, 2020
ddd6029
Add Civic hatch fw version (#1758)
VirtuallyChris Jun 22, 2020
d204d87
enable flake8 F error codes
adeebshihadeh Jun 22, 2020
fa7b5d3
bump submodules
adeebshihadeh Jun 22, 2020
264015c
cleanup no sensor data alert (#1760)
pd0wm Jun 22, 2020
88f9266
Make model packets invalid when frames are too old (#1759)
pd0wm Jun 22, 2020
bfeefb6
Locationd: only process valid log messages (#1761)
pd0wm Jun 22, 2020
c3171e6
bring back cycle_alerts.py
Jun 22, 2020
d4e8785
fix linter
Jun 22, 2020
a3dd335
add link to the wiki on the new issue page
adeebshihadeh Jun 23, 2020
af22b28
Fix some alert sounds not repeating (#1763)
adeebshihadeh Jun 23, 2020
5e10efe
Fix unsigned overflow in modeld frame age computation
pd0wm Jun 23, 2020
b5efaef
test for duplicate ECU firmware versions
adeebshihadeh Jun 23, 2020
5747247
Add firmware for 2020 RAV4 Hybrid TSS2 (#1764)
Taik Jun 23, 2020
51b7dc0
fix engage/disengage sounds
adeebshihadeh Jun 23, 2020
a5ce724
2017 Lexus RX350 F Sport fw versions
VirtuallyChris Jun 23, 2020
59e7742
remove unsused file
adeebshihadeh Jun 23, 2020
3aa99a0
recover EON/C2 AF (#1665)
ZwX1616 Jun 23, 2020
99949cc
ui, fix vision_seen when starting with camerad already running
pd0wm Jun 23, 2020
0842e98
fix #1762, add timeout on ubloxRaw receive
pd0wm Jun 23, 2020
b445692
test each model fingerprints with FW fingerprinting (#1769)
adeebshihadeh Jun 23, 2020
31ea066
Revert "fix #1762, add timeout on ubloxRaw receive"
pd0wm Jun 23, 2020
33f905b
fix CPU usage test for thermald and dmonitoringd
adeebshihadeh Jun 23, 2020
28110ea
Set timeouts on boardd and ubloxd receive sockets
pd0wm Jun 23, 2020
16a23c9
eon needs include for errno
pd0wm Jun 23, 2020
f8ce650
better alert when controls takes too long to start
adeebshihadeh Jun 23, 2020
09e7d4a
Subaru Forester 2019 (#1768)
martinl Jun 23, 2020
b89d10c
fail CPU usage test if can't get usage for a process
adeebshihadeh Jun 23, 2020
3c5c8c2
lower temperatures slightly until UI/modeld GPU interaction is improved
pd0wm Jun 24, 2020
20e2185
Add FW for CRV_EU (#1772)
csouers Jun 24, 2020
fd29c69
Add Lexus NXH fw
VirtuallyChris Jun 24, 2020
28b2495
Hyundai stock adas signals (#1775)
adeebshihadeh Jun 24, 2020
a5cd52a
Add 2020 Prius fw
VirtuallyChris Jun 24, 2020
f1caed7
0.8 is a lie
geohot Jun 24, 2020
59cbaf8
Add missing fp value for Jeep Grand Cherokee 2019
VirtuallyChris Jun 24, 2020
c4a3d7a
Block lane change start on blindspot detection (#1712)
adeebshihadeh Jun 25, 2020
5e254da
fix wrong car mode alert
pd0wm Jun 25, 2020
611dc4c
Honda Bosch, use proper non adaptive cruise mode alert
pd0wm Jun 25, 2020
60fc1d2
Fix Impreza supported model years (#1778)
martinl Jun 25, 2020
52fdd8c
add discord link to new issue page
adeebshihadeh Jun 25, 2020
d933bd3
add 0.7.6.1 to release notes
adeebshihadeh Jun 25, 2020
d088645
support code for NEOS update alert
adeebshihadeh Jun 25, 2020
c47daa1
update 0.7.7 release notes
adeebshihadeh Jun 25, 2020
38b5f25
actually remove all old files
adeebshihadeh Jun 25, 2020
57f2996
Add Hyundai BSM signals (#1782)
xps-genesis Jun 26, 2020
57deb3a
Hyundai Ioniq SE 2020 (#1786)
adeebshihadeh Jun 26, 2020
97b494e
add Ioniq SE to release notes
adeebshihadeh Jun 26, 2020
55aee68
camerad: don't crash zmq if get interrupt from msgq (#1790)
ZwX1616 Jun 27, 2020
9fb4eee
update replay segment
adeebshihadeh Jun 27, 2020
491a02d
bump submodules
adeebshihadeh Jun 28, 2020
c6bf0f0
CAR.COROLLA_TSS2 engine and ESP f/w (#1794)
ErichMoraga Jun 29, 2020
ce80684
Add alert while in preEnabled state (#1791)
adeebshihadeh Jun 29, 2020
df86c47
Dos (#1795)
robbederks Jun 29, 2020
b62da57
UI 10x speedup with hardware antialias (#1787)
geohot Jun 29, 2020
e825989
remove unused UI variables
adeebshihadeh Jun 29, 2020
3c48b5a
remove duplicate key
adeebshihadeh Jun 29, 2020
24fd38e
bump opendbc
adeebshihadeh Jun 29, 2020
83af35b
Fix CAN Error on Kona EV (#1800)
adeebshihadeh Jun 30, 2020
64aeb80
fix blindspot detection
adeebshihadeh Jun 30, 2020
ec8b69c
flippening is only for android
adeebshihadeh Jun 30, 2020
1036c68
Reduce C2 dcamera noise at night (#1798)
ZwX1616 Jul 1, 2020
cb495bb
Add an SSH param to disable updates (#1807)
geohot Jul 1, 2020
b1abf17
Support for 2019 Subaru Ascent (#1801)
martinl Jul 1, 2020
889bcc7
add subaru ascent to release notes
adeebshihadeh Jul 1, 2020
30d6d77
Subaru cleanup (#1809)
adeebshihadeh Jul 2, 2020
2f16349
fix hardcoded frequencies in UI
adeebshihadeh Jul 3, 2020
9de015f
better update_offroad_layout_state (#1808)
deanlee Jul 3, 2020
6db7fa8
Refactor CPU usage test (#1802)
adeebshihadeh Jul 3, 2020
1206409
remove duplicate logging context
gregjhogan Jul 3, 2020
d417481
Update 2020 Sonata Print (#1806)
TK211X Jul 3, 2020
32f03ec
On-device CI framework (#1784)
adeebshihadeh Jul 4, 2020
ba20e91
phone CI: pull over https, push over ssh
adeebshihadeh Jul 4, 2020
ff4f432
paint.cc: Simplify drawing line (#1643)
deanlee Jul 4, 2020
3f57b7e
increase jenkins timeout
adeebshihadeh Jul 4, 2020
b23d795
remove manager_helpers.py after CPU usage test refactor
adeebshihadeh Jul 4, 2020
8cadeca
bump panda
adeebshihadeh Jul 4, 2020
f1afb3e
Sound test (#1820)
adeebshihadeh Jul 6, 2020
88f6fad
remove Jenkinsfile from release files
adeebshihadeh Jul 6, 2020
c4674a3
only update README badge from tests triggered by push events
adeebshihadeh Jul 6, 2020
c4b5322
include subaru and hyundai BSM integration in release notes
adeebshihadeh Jul 6, 2020
c2c00f6
Fix gyro orientation offset for EONs with OP3T mainboards (#1738)
jyoung8607 Jul 6, 2020
10bfbaf
Lower max CPU temp to go onroad to 70 C
pd0wm Jul 6, 2020
c458f5a
k-line 5 init fault type (#1821)
gregjhogan Jul 6, 2020
d5d0e75
Mazda BSM (#1830)
Jafaral Jul 6, 2020
a633191
add dcam to release note
ZwX1616 Jul 6, 2020
4619401
add calmodel
geohot Jul 6, 2020
9adfc83
Added engine f/w for CAR.COROLLAH_TSS2 (#1832)
ErichMoraga Jul 6, 2020
fd504aa
show current sound name during sound test
adeebshihadeh Jul 7, 2020
975ab40
build script
adeebshihadeh Jul 7, 2020
6b942c9
Revert "build script", should've been on branch
adeebshihadeh Jul 7, 2020
bb1e3fc
Update README.md (#1837)
allenrobberson Jul 7, 2020
d8ff186
Separate scons cache by branch (#1836)
adeebshihadeh Jul 7, 2020
de16043
Remove chffrplus mention from tools readme
VirtuallyChris Jul 7, 2020
37d6edf
Temporarily disable allowing codecov to fail CI (#1839)
adeebshihadeh Jul 7, 2020
c715661
Build release2 and dashcam in CI (#1834)
adeebshihadeh Jul 7, 2020
3983186
openpilot isn't capitalized
adeebshihadeh Jul 7, 2020
65d800c
use special 'eon-build' device for release build
adeebshihadeh Jul 7, 2020
9170ffc
bump opendbc
adeebshihadeh Jul 8, 2020
beb1307
Added COROLLAH_TSS2 engine f/w (#1845)
ErichMoraga Jul 8, 2020
7c4fbb9
bump cereal
adeebshihadeh Jul 8, 2020
3ab0b49
Boardd loopback test (#1840)
adeebshihadeh Jul 9, 2020
11fbe85
remove offroadLayout from sm (#1846)
deanlee Jul 9, 2020
3754ddf
remove duplicate calls to visionstream_destroy (#1843)
deanlee Jul 9, 2020
977a6ba
Nissan: Increase steer pressed threshold (#1833)
avolmensky Jul 9, 2020
eb1aa3d
Wunused (#1841)
adeebshihadeh Jul 9, 2020
63ab793
increase Jenkins timeout, clean builds take a long time
adeebshihadeh Jul 9, 2020
03e824a
Alert when modeld is lagging by more than a frame (#1823)
adeebshihadeh Jul 10, 2020
7cfdeb1
Hyundai: use SCC12 for stock ADAS signals on cars that don't have FCA…
adeebshihadeh Jul 10, 2020
8bf198b
only check BSM on sonata for now, not equipped on all HKG
adeebshihadeh Jul 10, 2020
c6caf06
Add BSM Support for the Palisade (#1851)
scottadair Jul 10, 2020
d2784f0
all genesis have BSM standard
adeebshihadeh Jul 10, 2020
587bdf5
only check frame age for model validity
adeebshihadeh Jul 10, 2020
c8f3ff8
only check frame age for posenet too
adeebshihadeh Jul 10, 2020
c43df81
Make updated more resilient (#1853)
jyoung8607 Jul 10, 2020
d0b7760
promote sonata
adeebshihadeh Jul 10, 2020
80aead4
update refs due to carParams.communityFeature change for sonata
adeebshihadeh Jul 10, 2020
36abf4a
bump submodules and add date to release notes
adeebshihadeh Jul 10, 2020
b81f404
Simplify hyundai resume logic (#1852)
adeebshihadeh Jul 10, 2020
704bc1b
small scons cleanup (#1858)
adeebshihadeh Jul 10, 2020
897548c
clear scons cache dirs older than a day in CI
adeebshihadeh Jul 11, 2020
b17a6e8
default to a reasonable amount of segs in replay_drive_can.py
adeebshihadeh Jul 11, 2020
1286b45
Add hyundai ioniq 2018 fingerprint (#1863)
s70160 Jul 11, 2020
7b2789a
Add APPROACHING signals for Subaru blindspot monitoring (#1864)
martinl Jul 11, 2020
897ee6b
Use a monotonic clock source for power monitoring (#1861)
adeebshihadeh Jul 12, 2020
62a94eb
fix blocking sleep in updated (#1860)
adeebshihadeh Jul 12, 2020
2840427
bump panda
adeebshihadeh Jul 13, 2020
1ef3b20
2020 Jeep Grand Cherokee fingerprint
adeebshihadeh Jul 14, 2020
d9adbae
Add 2020 Jeep Grand Cherokee to readme
VirtuallyChris Jul 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more generic alert text for wrongCarMode
adeebshihadeh committed Jun 20, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit cab96374c5c511adcb83882c52502924a2d08089
9 changes: 7 additions & 2 deletions selfdrive/controls/lib/events.py
Original file line number Diff line number Diff line change
@@ -195,6 +195,12 @@ def no_gps_alert(CP, sm, metric):
AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2, creation_delay=300.)

def wrong_car_mode_alert(CP, sm, metric):
text = "Cruise Mode Disabled"
if CP.carName == "honda":
text = "Main Switch Off"
return NoEntryAlert(text, duration_hud_alert=0.),

EVENTS = {
# ********** events with no alerts **********

@@ -491,8 +497,7 @@ def no_gps_alert(CP, sm, metric):

EventName.wrongCarMode: {
ET.USER_DISABLE: EngagementAlert(AudibleAlert.chimeDisengage),
ET.NO_ENTRY: NoEntryAlert("Main Switch Off",
duration_hud_alert=0.),
ET.NO_ENTRY: wrong_car_mode_alert,
},

EventName.wrongCruiseMode: {