Commit Graph

3619 Commits (albatross_demo)

Author SHA1 Message Date
Adeeb Shihadeh b0503e534a
Hyundai: add BSM detection (#20747)
* Hyundai: add BSM detection

* update refs
2021-04-25 13:12:03 -07:00
Adeeb Shihadeh 6c7ed8f2e4
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
2021-04-25 12:52:16 -07:00
Greg Hogan c9a29d6deb
generate jwt every registration call (#20740)
* generate jwt every registration call

* min not max
2021-04-24 11:01:58 -07:00
Adeeb Shihadeh 01cb8d401a only build replay if tools/ exists 2021-04-24 09:59:10 -07:00
iejMac 19d962cdf3
qt replay (#20602)
* initial commit, works

* remove nui

* working again

* visionipc

* cleanup

* cleanup

* moving VisionIpcServer to Unlogger class

* works

* tab cleanup

* headless mode

* headless mode works

* working headless mode

* gitignore update

* small unlogger refactor

* refactor param in UIState

* works, very slow, hacks

* cleanup

* works

* cleanup

* cleanup

* unused

* works for whole route

* nicer

* a little nicer

* different threshold

* maintains 1 segment window

* works with public api

* comments

* networkTimer works

* cleanup

* unified HttpRequest

* tabs

* tabs

* comments'

* gitignore

* gitignore

* only on PC

* same line else

* no changes in home.cc

* scons

* update scons

* works

* revert mainc.c

* revert home

* else

* just api + problem with api send

* works

* include cleanup

* general json fail

* whitespace

* remove active

* adding request repeater

* removing comments

* tabs

* update comment

* cereal

* fix

* trailing new lines

* grammar

* if whitespace

* indentation

* Update selfdrive/ui/SConscript

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

* Update selfdrive/ui/qt/request_repeater.cc

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

* works

* sort by dir

* no blockSignal

* replay is now QOBject

* cant take const char

* rename inner it

* get width and height from frame readeR

* resolve TODO

* seek in next pr

* spaces

* ui stuff

* fix CI

* remove comments

* no repalce

* trim segment fix

* remove seek from stream

* no cache key

* final changes'

* fix

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-24 00:59:09 -07:00
iejMac 0fe155b7c3
UI: close dialogs on settings close (#20541)
* this works

* fix

* fix

* fix

* blacklist

* style

* tabs

* tabs

* temporary

* hideEvent

* fix

* changes

* dont need this

* works

* no signal

* Merge branch 'master' of github.com:commaai/openpilot into ui_close_after_timeout

* works

* cleanup

* little more cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-23 21:24:53 -07:00
Jafar Al-Gharaibeh 426faa02f0
Mazda 3 2014 Fingerprint (#20735)
* mazda: don't passthrough unused signals

Some older models do have these, newer models don't.
Either way, they all work just fine if set to zero.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* mazda: improve auto resume after full stop. Thanks number1pete

Auto resume doesn't always work after a full stop.
sending RES presses at a higher rate fixes the issue.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Add Mazda 3 2014 fingerprint

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Merge mazda 3 fingerprints

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-04-23 17:25:58 -07:00
Adeeb Shihadeh 9813c0ddbd
log encodeIdx packets in qlog (#20738) 2021-04-23 16:14:45 -07:00
Adeeb Shihadeh 47ad2a485f
disable sentry for devices without a dongle ID (#20729)
* disable sentry for devices without a dongle ID

* import pc

* unused
2021-04-23 11:29:38 -07:00
Willem Melching 01c5d7f7ed manager.py: fix git commit param write outside of git repo 2021-04-23 13:28:49 +02:00
Ryan Gorman 578bf62dc9
2021 Camry Hybrid engine fw (#20733) 2021-04-22 23:29:33 -07:00
iejMac 4866a39244
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>
2021-04-22 22:13:32 -07:00
Adeeb Shihadeh 1786d04239
handle unregistered devices (#20728)
* handle unregistered devices

* cleanup

* no uploader or athena

* clean up
2021-04-22 21:03:57 -07:00
George Hotz 36d7a86579 allow core voltage setting 2021-04-22 19:42:32 -07:00
Joost Wooning d2a2ccfee4
compare carspeed float to epsilon instead of zero (#20714)
* compare carspeed float to epsilon instead of zero

* update ref

* add ref commit again

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2021-04-22 17:55:41 -07:00
George Hotz 4a710bfc16 core voltage sweep 2021-04-22 17:22:31 -07:00
George Hotz a1fb21e066 script to do voltage sweep 2021-04-22 17:07:31 -07:00
George Hotz b88aa6b57f
log /sys/kernel/debug/regulator/pm8994_s11/voltage (#20727) 2021-04-22 12:02:12 -07:00
Joost Wooning 5fdcce2551
unittests for locationd uncommon events (#20715)
* unittests for locationd uncommon events

* params test using process

* test for posenet spike

* fix library path

* move random seed to setup
2021-04-22 15:31:18 +02:00
Willem Melching 7dcda0e461 remove raven from pip packages 2021-04-22 15:29:43 +02:00
Willem Melching ea0e611872
Switch to new sentry_sdk (#20690)
* remove unused crash.install

* use sentry_sdk in crash.py

* athena crashes dont rely on excepthook

* make default crash handler work

* make it work in athena

* fixup tombstoned
2021-04-22 15:24:35 +02:00
Willem Melching c4189e158e bump panda 2021-04-22 12:00:27 +02:00
ZwX1616 3692bb83b3 fix sound test after alert change 2021-04-21 15:12:04 -07:00
Shane Smiskol 858f7c0715
infinite orange alert sound (#20723) 2021-04-21 14:37:27 -07:00
robbederks 13a6e3c68f
add lower limit to prevent triggering on power loss (#20720)
Co-authored-by: Comma Device <device@comma.ai>
2021-04-21 13:15:44 +02:00
Willem Melching 64d2ec38f2 Ignore radarState average frequency 2021-04-21 10:59:26 +02:00
Adeeb Shihadeh 836668f105
less harsh steering unavailable alert when overriding (#20718)
* less harsh steering unavailable alert when overriding

* just steer

* 1s

* orange

* update refs
2021-04-20 21:01:28 -07:00
Adeeb Shihadeh 31dd0cbd42
set display power + brightness in spinner and text window (#20719)
* set display power + brightness in spinner and text window

* update aarch64

* update larch

Co-authored-by: Comma Device <device@comma.ai>
2021-04-20 20:45:46 -07:00
Ankush Girotra 18a59c0d4b
fix mac setup script for zsh (#20708)
Co-authored-by: Ankush Girotra <ankush.girotra@dlzpgroup.com>
2021-04-20 17:28:10 -07:00
Adeeb Shihadeh a7d4cf6e39
Fix VW trans type detection (#20716) 2021-04-20 14:49:58 -07:00
Adeeb Shihadeh 437e054d11 add golf to ignored fingerprints 2021-04-20 11:36:09 -07:00
Joost Wooning e08a570a13
create library for using locationd in python using ffi (#20711)
* create library for using locationd in python using ffi

* lib is not required in release

* cleanup

* dont build liblocationd on release

* add check on buffer size
2021-04-20 17:50:40 +02:00
Joost Wooning ed8acfa284
params put in locationd async (#20713)
* params put in locationd async

* remove reference in thread call
2021-04-20 16:02:57 +02:00
Willem Melching 34328ba305
Remove panda set power functions (#20712)
* remove panda set power functions

* removed
2021-04-20 15:31:19 +02:00
Adeeb Shihadeh a19d94ae2d
Toyota: use FW query for DSU detection (#20615)
* Toyota: use FW query for DSU detection

* make sure we have at least some fw responses

* bool

* add test to test_startup

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-04-20 14:32:34 +02:00
Willem Melching b27bad8776
Remove sympy import from paramsd at runtime (#20710) 2021-04-20 14:29:37 +02:00
Willem Melching aae849ea45
Use cached fw query in process replay (#20709)
* use fw query in process replay

* update ref

* only for supported cars
2021-04-20 14:01:59 +02:00
Willem Melching e4f73fbda5
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
2021-04-20 12:00:36 +02:00
Joost Wooning 3420707ad5
convert locationd to c++ (#20622)
* live_kf to c++

* first locationd code

* Running in process_replay

* locationd handle cam_odo and live_calib

* log event handlers

* working message receiving

* compiling message sending

* correctly sending some messages

* correct receiving and sending

* update ref_commit with some all_alive_and_valid being false, minor fixes

* fix std abs

* linking on device fix

* fix cpu usage test

* generate kf constants and defines

* fix replay test

* replay without acks, cleanup

* operate on bytearray messages

* cleanup

* send msg fix

* small sleep, less flaky test

* remove python locationd

* review feedback

* bump rednose
2021-04-20 11:56:43 +02:00
Willem Melching 96836eb1e5
Add batch of FW versions from 0.8.3 (#20702)
* honda

* hkg

* toyota
2021-04-20 11:12:14 +02:00
Chris McCammon fead4b694b
remove Ioniq EV 2020 from BSM list (#20706) 2021-04-19 16:56:58 -07:00
Willem Melching e2e2587e00 50% is more realistic for controlsd 2021-04-19 17:53:28 +02:00
Willem Melching eccaccf10c bump cereal 2021-04-19 17:29:01 +02:00
Joost Wooning ff813b6b45
Add flag to process replay config to use real submaster (#20701) 2021-04-19 17:27:36 +02:00
Dean Lee 737d002d80
params.cc clarify conditional compilation(#20699) 2021-04-19 12:16:30 +02:00
Willem Melching 64bb9b53ea bump panda 2021-04-16 15:32:40 +02:00
Adeeb Shihadeh 3fa86657cb show gps alert when lte's enabled 2021-04-15 22:12:16 -07:00
Adeeb Shihadeh a3df0e9827 upload raw on tici 2021-04-15 21:36:09 -07:00
Willem Melching f7e276fcce pigeon init add max retry count 2021-04-15 16:49:09 +02:00
Willem Melching a6b3a44459
remove suspicious toyota fw versions (#20686) 2021-04-15 14:55:20 +02:00