Commit Graph

5795 Commits (a62e9140908f40f6966d977373e9d458bd9a53d2)

Author SHA1 Message Date
Adeeb Shihadeh ee52a61c7d
add pre-commit hook for large files (#23505) 2022-01-12 22:52:58 -08:00
Adeeb Shihadeh 7d7c0ff35f
tools: add bootlog helpers (#23504)
* tools: add bootlog helpers

* this is nice

* types
2022-01-12 21:37:43 -08:00
Vivek Aithal f808b174af
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>
2022-01-12 21:37:09 -08:00
Dean Lee e5f9af4a6e
calibrationd: Don't repeatedly call get_valid_idxs() (#23473)
* optimize

* rpy_init should be np.array

* rename to rpys
2022-01-12 15:34:17 -08:00
Dean Lee de572c3755
calibrationd: fix indentation (#23502) 2022-01-12 14:40:02 -08:00
Adeeb Shihadeh 9941c99f7c process replay: handle inf and nan in absolute tolerance 2022-01-12 13:34:46 -08:00
Adeeb Shihadeh 3816ecf642 bump opendbc 2022-01-12 10:45:11 -08:00
Adeeb Shihadeh 08a1ce0f3f update release notes 2022-01-12 09:42:44 -08:00
Shane Smiskol eb9f35946d
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
2022-01-12 09:41:07 -08:00
Jason Young b1a226b28b
VW MQB: Add FW for 2022 Volkswagen Atlas (#23501) 2022-01-12 17:23:53 +01:00
Dean Lee dbae5e7601
lateral_planner: use nympy.isnan().any() (#23500) 2022-01-12 15:56:41 +01:00
Willem Melching 79577e4dca
boardd: remove ublox timestamp logging (#23498)
* boardd: remove ublox timestamp logging

* more cleanup

* add cmath
2022-01-12 15:00:46 +01:00
Dean Lee a186bcc9f1
cleanup iterate keys in dictionaries (#23497) 2022-01-12 12:42:50 +01:00
HaraldSchafer 85dcfbbf36
update comment (#23495) 2022-01-11 18:49:53 -08:00
Dean Lee 678732d0ce
AlertManager: cleanup add_many (#23438) 2022-01-11 14:16:52 -08:00
Willem Melching 5fb9c6aa68 thermald has slowly started to use more CPU 2022-01-11 15:40:18 +01:00
Willem Melching 8444f8267d
calibrationd: convert existing calibration to numpy (#23494)
* calibrationd: convert existing calibration to numpy

* use numpy functions
2022-01-11 15:25:01 +01:00
Dean Lee 35ec6ac1cb
use ndarray.tolist to convert numpy array to float (#23485) 2022-01-11 14:34:47 +01:00
Willem Melching 44592f4b0e
statsd: run at 2Hz (#23493) 2022-01-11 14:24:18 +01:00
Shane Smiskol 6e817f9eb5
manager: default driverview to False (#23492) 2022-01-11 14:07:35 +01:00
Greg Hogan 24213ac76b
lfs: easier to use config (#23490) 2022-01-10 23:14:30 -08:00
Shane Smiskol 233a6e4a62
LanePlanner: offsets cleanup (#23459)
* update comments

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

* fix
2022-01-10 13:08:45 -08:00
hoomoose ed5e58c48a
Hyundai: use regular Hyundai safety mode and add radar DBC (#23461) 2022-01-10 13:01:58 -08:00
Adeeb Shihadeh 7eca4d6207 tools: better joystick instructions 2022-01-10 12:03:27 -08:00
Adeeb Shihadeh fa3055f280
smaller docker image (#23469)
* save 2gb

* not used

* more cleanup

* little more

* wget too big

* follow

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

* write in kmsg

* format string

* move to python
2022-01-10 19:54:07 +01:00
AlexandreSato 779e602de2
add missing toyota fw engine (#23272)
541c7e27e413735c|2021-12-17--14-21-53

Adding fingerprint of a corolla gr here from Brazil
2022-01-10 18:47:51 +01:00
Dean Lee 4208fe018e
LongControl: remove redundant check on active (#23481) 2022-01-10 18:46:02 +01:00
Robbe Derks 4ff9ee8902
monkeypatch os.link (#23480) 2022-01-10 16:57:05 +01:00
Dean Lee a653461dec
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>
2022-01-10 16:36:51 +01:00
Robbe Derks 1b49ce6ec4
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>
2022-01-10 15:21:48 +01:00
Dean Lee 8eec818ae6
events: cleanup function any (#23479) 2022-01-10 14:32:07 +01:00
Robbe Derks 842ba8e5e6
C2 detection (#23439)
* two detection

* fix CI

* catch all

* gotta catch em all
2022-01-10 13:13:52 +01:00
Dean Lee 67af095692
controlsd: check all_valid only if not initialized (#23437)
* check all valid in if statement

* apply review
2022-01-10 12:13:58 +01:00
Dean Lee 2d08f8b318
controlsd: save lat_plan.dPathPoints to local variable (#23462) 2022-01-10 11:27:31 +01:00
Dean Lee b2beb5e6ba
controls: check contents in tuple instead of list (#23463) 2022-01-10 11:26:58 +01:00
Dean Lee f6c6e34ea3
calibrationd: remove extra comma (#23472) 2022-01-09 14:32:33 -08:00
Shane Smiskol 0c075a66db
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>
2022-01-08 18:41:05 -08:00
Greg Hogan a0eed0cdd2
hyundai enable radar points script cleanup (#23451) 2022-01-08 07:55:48 -08:00
Greg Hogan 89f2f1c4ec
LFS migration (#23448)
* lfs url in .lfsconfig

* lfs push script
2022-01-07 18:39:09 -08:00
Andrew 6664421710
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>
2022-01-07 15:15:18 -08:00
rzeydelis 207ce410b4
tools: update README.md (#23447) 2022-01-07 14:03:27 -08:00
Willem Melching d77782ea93
CameraView: sync pbo with glFence instead of calling glFinish (#23409)
* CameraView: sync pbo with glFence instead of calling glFinish (#23293)

* Sync pbo with fence

* use std::unique_ptr

* cameraview.cc: call glFlush after creating fence

Co-authored-by: Dean Lee <deanlee3@gmail.com>
2022-01-07 15:24:20 +01:00
Willem Melching c4b36ce11e Revert "ui/update_model: do not recalculate the max_idx If there is no lead (#23356)"
This reverts commit f561d84c62.
2022-01-07 14:31:23 +01:00
Dean Lee 09a835916b
optimize alertmanager (#23433) 2022-01-06 22:15:32 -08:00
Harald Schafer dbef0a1cd4 Camera transforms: denormalize with no bounds at all 2022-01-06 18:23:40 -08:00
Harald Schafer ce998be706 Camera transforms: denormalize with no bounds 2022-01-06 16:37:34 -08:00
Cameron Clough 1de0757c5e
fix typo in athena/registration.py (#23434) 2022-01-06 16:11:32 -08:00
Willem Melching 45280754d6
log ERROR messages in qlogs too (#23425)
* log ERROR messages in qlogs too

* own event

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-06 15:30:04 -08:00