Commit Graph

61 Commits

Author SHA1 Message Date
Adeeb Shihadeh
7feae28705 run onroad tests on release build (#22700)
* check startup aelrt

* release decorator

* run in jenkins

* run onroad tests

* no push

* fix release2 build

* fix path

* no overwrite

* single release build script

* make files_eon non empty

* files

* run in source

* add that for now

* print

* ignore initialzing

* print

* fetch

* run tests last

* check alert text

* revert some stuff

* fixup jenkinsfile

Co-authored-by: Comma Device <device@comma.ai>
2021-10-26 23:50:05 -07:00
Willem Melching
8c01ae5716 Add DisableRadar_Allow param and settings toggle (#22329) 2021-09-23 17:19:47 -07:00
Adeeb Shihadeh
2f57f1729d add shouldBeRunning field to managerState (#22246) 2021-09-15 19:51:55 -07:00
Willem Melching
dddab597bc Less open file permissions (#21922)
* Less open file permissions

* add test back

* remove params test for permissions

* remove umask

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-28 18:25:05 -07:00
Adeeb Shihadeh
c8ca56dddd android health daemon (#21965)
* androidd

* three strikes

* better logging

* persistent

* add to release files

* cleanup

* no cpu usage

* colon

Co-authored-by: Comma Device <device@comma.ai>
2021-08-19 16:00:05 -07:00
Adeeb Shihadeh
8aafbc78f6 add that back 2021-08-06 15:48:16 -07:00
Harald Schafer
fd53169ade Revert "add boardd as a managed process for tests"
This reverts commit fcae199723.
2021-08-06 15:20:32 -07:00
Adeeb Shihadeh
fcae199723 add boardd as a managed process for tests 2021-08-06 11:47:30 -07:00
arfy slowy
d74def61f8 fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-05 12:05:49 -07:00
Adeeb Shihadeh
09291b99bc watchdog: restart while onroad (#21636) 2021-07-17 14:52:05 -07:00
Adeeb Shihadeh
12948e661a soundd (#21619)
* refactor alerts

* doesn't go here anymore

* soudd

* handle controls unresponsive

* same check

* fix path

* update sound test

* nice

* fix c2

* add script

* update tests

Co-authored-by: Comma Device <device@comma.ai>
2021-07-16 17:30:00 -07:00
Adeeb Shihadeh
0bfd994f73 fast jenkins (#21472)
* speed up setup

* speedup onroad test

* .git doesn't like inplace

* tici2

* no inplace

* revert

* fix

* that one too
2021-07-02 16:29:57 -07:00
Adeeb Shihadeh
a420c7ad50 remove lte toggle (#21392)
* remove lte toggle

* little more
2021-06-23 17:01:17 -07:00
Adeeb Shihadeh
cefbd6734e build.py: don't hang on text window in CI (#21335) 2021-06-18 15:37:53 -07:00
Adeeb Shihadeh
6e4c2aa4d2 acados support (#21319)
* acados support

* add pyextra to python path

* x86 libs
2021-06-17 16:40:00 -07:00
Adeeb Shihadeh
29ac94b719 don't write last update time param on pc 2021-06-07 14:07:08 -07:00
eFini
5c450026ef two minor bug fixes (#21134) 2021-06-04 21:20:02 -07:00
Adeeb Shihadeh
a0dabd94e9 use scons cache by default (#21102)
* always use scons cache

* cleanup
2021-06-01 17:12:32 -07:00
Adeeb Shihadeh
189ee62d00 tici, it's just like cici 2021-05-25 20:36:50 -07:00
Willem Melching
ba5d6bbd70 manager.py: fix UNREGISTERED_DONGLE_ID check (#21027) 2021-05-25 17:26:25 +02:00
Adeeb Shihadeh
4f4cb56de9 better scons cache handling (#20980)
* better scons cache handling

* nicer

* max size

* fast
2021-05-22 20:13:39 -07:00
Adeeb Shihadeh
7a4d319035 default lte param to on 2021-05-18 15:29:02 -07:00
Adeeb Shihadeh
b93ccc465d offroad alert for unregistered devices (#20870)
* offroad alert for unregistered devices

* update tests

* add param

* fix stretch
2021-05-11 03:18:45 -07:00
Adeeb Shihadeh
b4447993c1 add CLEAR_ON_IGNITION param type (#20810) 2021-05-04 11:32:40 -07:00
Adeeb Shihadeh
5f3fe01002 don't init sentry on non-comma remote 2021-05-03 20:14:31 -07:00
Adeeb Shihadeh
5b764ab477 registration unit tests (#20792)
* start tests

* more test

* done
2021-05-01 17:16:58 -07:00
Adeeb Shihadeh
4d8a35d639 update registration policy (#20770)
* update registration policy

* move that

* handle 403

* fix that
2021-04-28 14:09:13 -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
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
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
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
Adeeb Shihadeh
a3df0e9827 upload raw on tici 2021-04-15 21:36:09 -07:00
Adeeb Shihadeh
9adaff5379 raw upload off by default 2021-04-14 21:06:30 -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
Adeeb Shihadeh
58dabdda00 more apk cleanup (#20646)
* bump cereal

* cleanup

* little more

Co-authored-by: Comma Device <device@comma.ai>
2021-04-10 14:53:51 -07:00
Willem Melching
2967e79296 use put_bool to set Passive 2021-04-09 17:56:50 +02:00
Adeeb Shihadeh
90271c245d manager test: check procs are alive (#20632)
Co-authored-by: Comma Device <device@comma.ai>
2021-04-08 23:46:20 -07:00
Willem Melching
ae094042ad add putBool/getBool wrappers to cython params class (#20611)
* add putBool/getBool wrappers to cython class

* use new API

* some more puts

* fix mockparams arguments

* add get_bool to MockParams

* typo
2021-04-07 15:36:37 +02:00
Comma Device
7f428eadc1 update scons nodes 2021-03-25 23:14:44 -07:00
Greg Hogan
3d48bd934d log to file and send through athena (#20250)
* log to file and send through athena

* rename logging level

* pass thru log formatter

* logMessage is TEXT

* send queue always strings

* switch to xattr and lower priority queue

* enable cloud logging for devices

* time or size based log rotation

* basename -> dirname

* remove HARDWARE.get_cloudlog_enabled

* fix errors

* fix another exception

* xattrs need to be bytes

* sending works

* cleanup files at start

* add id and adjust formatting

* do not send active log file

* better names

* separate log formatters

* fix formatter super init

* fix log file order

* ensure file always has file formatter

* i see why there was no formatter

* apply same formatting to cpp log msgs

* apply same formatting to cpp log msgs

* update queue names in tests

* strip deprecated keys in STATUS_PACKET

* strip DEPRECATED from dict recursively

* athena log queue test

* instanceof instead of type

* isinstance instead of type

* use super

* remove logentries

* last_scan param unused

* comment about special log msg attr names

* add dict_helpers.py to release files

* use monotonic time and counter for log rotation

* update for adjusted log file naming

* use monotonic clock for tracking last log file scan
2021-03-25 13:30:09 -07:00
Willem Melching
9291ca773c Kill processes in parallel when going offroad (#20469)
* Kill processes in parallel when going offroad

* smaller diff

* handle edge case

* more readable

* set variable after actually sending signal

* newline
2021-03-25 17:27:49 +01:00
Willem Melching
261045668b Start ui before manager preimport (#20468)
* start ui early

* test sets this afer import
2021-03-25 17:27:15 +01:00
Adeeb Shihadeh
e76c80ffa1 APK purge (#20446)
* purge begins

* release files

* remove those

* no more android

* only qt

* text and spinner

* neos update script

* update sounds

* update cpu usage

* all done

Co-authored-by: Comma Device <device@comma.ai>
2021-03-24 14:30:41 -07:00
Willem Melching
0e338d2b91 use scons to build panda fw (#20457)
* use scons to build panda fw

* add arm gcc to dockerfile

* install gcc on macOS

* pandad shutdown test is flaky and broken due to faster startup

* bump panda
2021-03-24 14:44:39 +01:00
HaraldSchafer
7ee79c9923 New KL model + laneless toggle (#20454)
* New model: 0bf38240-6b55-42b0-bcfb-da08ff5cd0b9/650

* laneless baby

* hardcode model difference for now

* kale toggle

* kale emoji

* sensible description

* make clear it is not just for ui

* emojis dont work yet

* 9671a8fe-539f-4a04-a163-54571df21139/650

* new model

* only read param on rising edge of ignition

* update toggle text

* fix that

* update refs

Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-24 01:10:31 -07:00
Adeeb Shihadeh
43ce7165c4 Remove lane change toggle and default LDW to off (#20442)
* remove lane change toggle and default LDW to off

* update refs
2021-03-22 20:55:57 -07:00
Adeeb Shihadeh
b60cd8d0a0 record front lock (#20400)
* record front lock

* only if set

* add to internal installer

* move that

* change that bck

Co-authored-by: Comma Device <device@comma.ai>
2021-03-18 20:15:51 -07:00
Adeeb Shihadeh
3ecfc169e4 only restart crashed UI on tici 2021-03-14 20:39:48 -07:00
Comma Device
8111d78cf3 uncomment 2021-03-09 23:00:25 -08:00