Commit Graph

3610 Commits (spacecruft)

Author SHA1 Message Date
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
Willem Melching a163daf5e0
Improve robustness of ublox init procedure (#20685)
* improve ublox init robustness

* cleanup

* only log if running at 1hz

* not needed
2021-04-15 14:11:53 +02:00
Willem Melching b3d1ef77ee tici bump loggerd cpu usage 2021-04-15 13:11:24 +02:00
Willem Melching 8eaf3d2410 tici test onroad, increase camerad cpu usage 2021-04-15 11:24:17 +02:00
Adeeb Shihadeh aaa8d937f5
GL spinner fix (#20684)
* GL spinner fix

* update larch spinner

Co-authored-by: Comma Device <device@comma.ai>
2021-04-15 00:49:34 -07:00
Willem Melching fc478ff920
disable GC for locationd and paramsd (#20680) 2021-04-14 23:59:29 -07:00
Adeeb Shihadeh 2eac604993
lte toggle (#20683) 2021-04-14 21:19:06 -07:00
Adeeb Shihadeh 9adaff5379 raw upload off by default 2021-04-14 21:06:30 -07:00
Adeeb Shihadeh a60effc112 UI: fix initial toggle state after #20670 2021-04-14 21:02:34 -07:00
Adeeb Shihadeh 1adf34f033
update time from RTC on manager init (#20678)
* set time on manager init

* earlier

* handle exception

* logging

* add to release files

* run in launch script too

Co-authored-by: Comma Device <device@comma.ai>
2021-04-14 12:04:02 -07:00