Commit Graph

6266 Commits

Author SHA1 Message Date
Willem Melching f2b644eeb2 pandad: only reset pandas on first run (#23511)
old-commit-hash: 15380139ef6663325b7ea01102812fadb2607297
2022-01-13 15:52:59 +01:00
Willem Melching 3dc68080d4 can_printer.py: default no ascii
old-commit-hash: 6d16b0c02bff72323df24dae929583478d34f8c1
2022-01-13 15:50:50 +01:00
jonjander e89925694d Kia Niro EV - replace \000 by \x00 (#23509)
Co-authored-by: Jon Jander <jon.jander@ptj.se>
old-commit-hash: fcfea4cadc9ff96703dc24a39de082846e570b8a
2022-01-13 15:14:28 +01:00
Willem Melching 533e32c409 bump cereal: more qlog decimation
old-commit-hash: c84a085e82433bead5b5646c44e92294af6d716b
2022-01-13 12:04:43 +01:00
Dean Lee 7f9069cb34 controlsd: check self.enabled out of the any() (#23507)
old-commit-hash: 48b6dfa15de1bf8157288ea06114ab5418f2650c
2022-01-13 11:53:04 +01:00
Willem Melching 729973f511 Do not disable loggerd when below 5% space (#23440)
old-commit-hash: 9e1428fd846b71394eefb5dcef8e8fc746437739
2022-01-13 10:31:37 +01:00
Greg Hogan 3cffc7c175 cleanup .gitattributes (#23503)
old-commit-hash: c214aee2d6257fc69c31577042f4b30596e704e0
2022-01-12 23:07:06 -08:00
Adeeb Shihadeh 88f0be8372 add pre-commit hook for large files (#23505)
old-commit-hash: ee52a61c7d5289d8dbfbd27558177f5757929325
2022-01-12 22:52:58 -08:00
Adeeb Shihadeh 8f9a6b06df tools: add bootlog helpers (#23504)
* tools: add bootlog helpers

* this is nice

* types
old-commit-hash: 7d7c0ff35fe91c480711f6213e9869000a3fe148
2022-01-12 21:37:43 -08:00
Vivek Aithal e4c2c2cf2e use roll std from locationd (#23449)
* use roll std from locationd

* cleaner

* add todo

* new ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: f808b174afbcc1fc6924d49fb0c32da5c02aad33
2022-01-12 21:37:09 -08:00
Dean Lee f112aef5a7 calibrationd: Don't repeatedly call get_valid_idxs() (#23473)
* optimize

* rpy_init should be np.array

* rename to rpys
old-commit-hash: e5f9af4a6ecc33e7e2d7774d40fe1614293dc319
2022-01-12 15:34:17 -08:00
Dean Lee 2bb2545d57 calibrationd: fix indentation (#23502)
old-commit-hash: de572c3755729ee61d257f794d2854845a796872
2022-01-12 14:40:02 -08:00
Adeeb Shihadeh 14dbd6b1f5 process replay: handle inf and nan in absolute tolerance
old-commit-hash: 9941c99f7c1d807acd440f29b4de3493b6e11e50
2022-01-12 13:34:46 -08:00
Adeeb Shihadeh 03657ceabf bump opendbc
old-commit-hash: 3816ecf64255a8eb0fc821c23df8dd372d678525
2022-01-12 10:45:11 -08:00
Adeeb Shihadeh f5b9451894 update release notes
old-commit-hash: 08a1ce0f3faa078cfc61c394b6bc84430f85aeeb
2022-01-12 09:42:44 -08:00
Shane Smiskol 1749e94ab6 Toyota: Support Avalon 2022 (TSS2.5) (#23381)
* Add AVALON_TSS2

* Is TSS2 now!

* Add Avalon to CARS.md

* add to test_routes

add to test_routes
old-commit-hash: eb9f35946de0cad03eb7de99a8c837f60fb5d52c
2022-01-12 09:41:07 -08:00
Jason Young e55d6d82cc VW MQB: Add FW for 2022 Volkswagen Atlas (#23501)
old-commit-hash: b1a226b28b5b54352e31e29d726f9b038ca29347
2022-01-12 17:23:53 +01:00
Dean Lee 384857f2b4 lateral_planner: use nympy.isnan().any() (#23500)
old-commit-hash: dbae5e760101da63a983162e132f327421b3220a
2022-01-12 15:56:41 +01:00
Willem Melching 2543a0bc62 boardd: remove ublox timestamp logging (#23498)
* boardd: remove ublox timestamp logging

* more cleanup

* add cmath
old-commit-hash: 79577e4dcaed6a4a2d4b55aabb5208ebdb2c191f
2022-01-12 15:00:46 +01:00
Dean Lee 54bdb321bd cleanup iterate keys in dictionaries (#23497)
old-commit-hash: a186bcc9f16c08f405dda92b8ac9e8a80895cdc7
2022-01-12 12:42:50 +01:00
HaraldSchafer 5aa495c85f update comment (#23495)
old-commit-hash: 85dcfbbf360705fc40b048cb256158d89c7dcf98
2022-01-11 18:49:53 -08:00
Dean Lee 58cafc8060 AlertManager: cleanup add_many (#23438)
old-commit-hash: 678732d0ce93446f0468893c6faf6e1d1e20ee6e
2022-01-11 14:16:52 -08:00
Willem Melching 0e6de32847 thermald has slowly started to use more CPU
old-commit-hash: 5fb9c6aa683e8a4ecd7591ecc76c9f29e30b060e
2022-01-11 15:40:18 +01:00
Willem Melching fec321a178 calibrationd: convert existing calibration to numpy (#23494)
* calibrationd: convert existing calibration to numpy

* use numpy functions
old-commit-hash: 8444f8267da10aaf52789d03f6d46d6b90be13ab
2022-01-11 15:25:01 +01:00
Dean Lee 55233b753b use ndarray.tolist to convert numpy array to float (#23485)
old-commit-hash: 35ec6ac1cb98f7d671edcb928a2b97d749a1edde
2022-01-11 14:34:47 +01:00
Willem Melching 755c1f606e statsd: run at 2Hz (#23493)
old-commit-hash: 44592f4b0efabb358e598e428ca3405a72005043
2022-01-11 14:24:18 +01:00
Shane Smiskol 002c79d2d5 manager: default driverview to False (#23492)
old-commit-hash: 6e817f9eb5d85d5f27b72c1abc16a85673ae3d01
2022-01-11 14:07:35 +01:00
Greg Hogan 3b3a61fcdf lfs: easier to use config (#23490)
old-commit-hash: 24213ac76b6f6a2cc328c19d47eb26ed0f0f7b83
2022-01-10 23:14:30 -08:00
Shane Smiskol 56b3c7f790 LanePlanner: offsets cleanup (#23459)
* update comments

* model y axis was flipped so flip the offsets as well

* fix
old-commit-hash: 233a6e4a625a8ef145904522e4663177bcd3d65d
2022-01-10 13:08:45 -08:00
hoomoose 8fd2e9a7c1 Hyundai: use regular Hyundai safety mode and add radar DBC (#23461)
old-commit-hash: ed5e58c48a5fa770526402c773d1c6ebda416726
2022-01-10 13:01:58 -08:00
Adeeb Shihadeh 9908210bd6 tools: better joystick instructions
old-commit-hash: 7eca4d62078b14de62c5f2ce08e382eb31cc7076
2022-01-10 12:03:27 -08:00
Adeeb Shihadeh 1ea1b9072a smaller docker image (#23469)
* save 2gb

* not used

* more cleanup

* little more

* wget too big

* follow

* needed for sim
old-commit-hash: fa3055f280ca56ce4563108a85e6ca6e121310c5
2022-01-10 11:43:18 -08:00
Robbe Derks 54a4dece4d Ignore statsd for running process check (#23483)
old-commit-hash: 1a54d7f6aee817cc3217041bc085f9b83faafce0
2022-01-10 19:54:41 +01:00
Willem Melching efc06c6290 thermald: track engaged state in param and kmsg (#23478)
* thermald: track engaged state in param

* write in kmsg

* format string

* move to python
old-commit-hash: 3ce4976db79fde95264f114b61d6be025aec9a71
2022-01-10 19:54:07 +01:00
AlexandreSato 020d7d8b57 add missing toyota fw engine (#23272)
541c7e27e413735c|2021-12-17--14-21-53

Adding fingerprint of a corolla gr here from Brazil
old-commit-hash: 779e602de20c894669f98b99b3d3f0ed8fc3c2a6
2022-01-10 18:47:51 +01:00
Dean Lee 97c4cdc0cc LongControl: remove redundant check on active (#23481)
old-commit-hash: 4208fe018e898d9f3cde1b2ac8feb29d9bb11ce6
2022-01-10 18:46:02 +01:00
Robbe Derks 233291a14b monkeypatch os.link (#23480)
old-commit-hash: 4ff9ee8902529714487ef3b35b4f6562b4ce1dd6
2022-01-10 16:57:05 +01:00
Dean Lee 98de810849 check in tuple instead of list (#23477)
* check in tuple instead of list

* Update selfdrive/car/toyota/carcontroller.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update selfdrive/car/mazda/interface.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a653461dec18b1313148905172ba54bac9f5fdfd
2022-01-10 16:36:51 +01:00
Robbe Derks 323febbf37 Statsd (#23413)
* device side of statsd

* need to start it

* enable in manager

* add sleep

* cleanup

* remove aggregates for now and standardize on industry terms

* manager needs main

* need to have a try/except

* atomic_write_on_fs_tmp does not work

* cleaner

* use dump

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* one file at a time

* limit amount of files

* move to influx line protocol and cleanup

* needs to be a list

* fix timezone bug

* actually rate limit

* add to release

* normalized origin

* also log deviceType

* more stats

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1b49ce6ec401966b0c56f62ea2b71209e9d4075b
2022-01-10 15:21:48 +01:00
Dean Lee 75d00872e8 events: cleanup function any (#23479)
old-commit-hash: 8eec818ae625fd2311bd3d5f9976d034674cb13e
2022-01-10 14:32:07 +01:00
Robbe Derks 08212107e8 C2 detection (#23439)
* two detection

* fix CI

* catch all

* gotta catch em all
old-commit-hash: 842ba8e5e6253d17d82a02d3d9994efbbbf2133e
2022-01-10 13:13:52 +01:00
Dean Lee 61a28b2fb7 controlsd: check all_valid only if not initialized (#23437)
* check all valid in if statement

* apply review
old-commit-hash: 67af0956923558059d1feea9a9e263d37d09e865
2022-01-10 12:13:58 +01:00
Dean Lee df63cf059a controlsd: save lat_plan.dPathPoints to local variable (#23462)
old-commit-hash: 2d08f8b318641ee4e6d53ca736358c7a2d533b5d
2022-01-10 11:27:31 +01:00
Dean Lee 7276bf8197 controls: check contents in tuple instead of list (#23463)
old-commit-hash: b2beb5e6ba6eda6354e93649a5b5829c9c4537bc
2022-01-10 11:26:58 +01:00
Dean Lee 38144fa83b calibrationd: remove extra comma (#23472)
old-commit-hash: f6c6e34ea34f61b2e8d32523a6414dc58b6419e4
2022-01-09 14:32:33 -08:00
Shane Smiskol c569652638 Toyota: use common DBC for TSSP Camry Hybrid (#23453)
* bump dbc

* use nodsu_hybrid dbc

* remove from files_common

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0c075a66dbcaef13737aa974f7363be4a0cc94df
2022-01-08 18:41:05 -08:00
Greg Hogan 70519b1fd6 hyundai enable radar points script cleanup (#23451)
old-commit-hash: a0eed0cdd23598fd8dcc34805cc83ed0fe515348
2022-01-08 07:55:48 -08:00
Greg Hogan 80c0f67e8a LFS migration (#23448)
* lfs url in .lfsconfig

* lfs push script
old-commit-hash: 89f2f1c4ecff9cd213f66b0c97ffe2f1d2ac9e0c
2022-01-07 18:39:09 -08:00
Andrew 192978753d mac: fix setup and re-enable CI (#23365)
* rework mac_setup.sh
* ignore casadi and onnx runtime in pipfile for Darwin
* remove rust stuff
* build and install casadi

* add wget

* explicit python3. dont do onnx just yet

* resource compiler

* replace acados Darwin lib w universal2 libs

* relock Pipfile using linux machine

* Update update_requirements.sh

brackets

* Update update_requirements.sh

oops

* ci: re-enable mac build

* attempt to fix ci build:
* pip stuff?
* move rcc bin path to env script

* oops

* only mac

* k im lazy. does ci like this??

* huh??

* * use curl
* avoid casadi rebuilds
* add comment to remove protobuf
* host detect typo

* python version

* how did the builds not use swig?
* better reinstall check

* sometimes mac clang complain abt error limit

* ci: build OP in venv

* ci: bump to Big Sur
* retry? idk why it failed @ acados link

* * use macos-latest
* move rcc path to scons
* add extra paths for odd homebrew installs
* acados source change

* update macOS README

* uh, maybe?

* k nvm

* ci: ok this is strange. might be scons bug?

* fix conflicts: bump

* just add cppcheck for pre-commit stuff

* agane

* cleanup

* try that

* fix path

* no pyenv update on mac

* source

* fix rpath prefix?

* no examples

* fix exit

* let's get this cached

* add virtualenvs to cache

* why did we cache that

* let's see what's big

* more

* always ruyn

* cache scons cache

* better cache key

* fix for partial hit

* why so long

Co-authored-by: Andrew Tec <andrest@trabus.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Bruce Wayne <batman@openpilot-mac-mini.local>
old-commit-hash: 66644217100f17e0a0c4f95f86aed2fd8c09c28c
2022-01-07 15:15:18 -08:00
rzeydelis 3c7e41d900 tools: update README.md (#23447)
old-commit-hash: 207ce410b4de8d5a85448e8edc59c5596f84cf53
2022-01-07 14:03:27 -08:00