Commit Graph

384 Commits

Author SHA1 Message Date
Justin Newberry
412f4cbc1a Pytest: fix local params overriden (#30312)
* fix local params being overriden

* just reset prefix after completion
2023-10-23 17:41:19 -07:00
Adeeb Shihadeh
f80db10720 UI: remove drive stats (#30183)
* UI: remove drive stats

* little more

* vanish
2023-10-05 14:53:49 -07:00
Adeeb Shihadeh
377722fd5e Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-10-03 15:31:26 -07:00
Adeeb Shihadeh
67161a7174 remove panda flash logs (#30138)
* bump panda

* unused

* update test
2023-10-02 15:34:33 -07:00
Adeeb Shihadeh
8461cdb77e back to 0.9.5 2023-10-02 14:37:04 -07:00
Dean Lee
81d4595c19 params: log prefix on fail (#29973) 2023-09-19 16:22:33 -07:00
Adeeb Shihadeh
a90a2cd656 bump version to 0.9.6 2023-09-19 16:18:39 -07:00
Justin Newberry
206fab9b4e Params: nogil at the end (#29983)
* nogil at the end

* Wrong pr

* Wrong pr
2023-09-19 15:07:54 -07:00
Justin Newberry
8aad9758cf Params: better error logging on constructor (#29954)
* ensure params path

* static anlysis

* revert that
2023-09-18 16:50:44 -07:00
Kacper Rączy
fb804c9529 scons: delete SHARED flag (#29906)
Delete SHARED
2023-09-13 14:39:06 -07:00
Dean Lee
95ae87659d test_util.cc: do not compare file contents in REQUIRE (#29861) 2023-09-09 08:47:52 -07:00
Justin Newberry
0adc2f20c2 Prefix: cleanup more folders (#29848)
cleanup downloads folders
2023-09-08 14:54:15 -07:00
Dean Lee
7816edda57 common/params: not copyable (#29834) 2023-09-07 21:44:58 -07:00
Adeeb Shihadeh
f197decbc9 fix RateKeeper test 2023-09-07 16:47:33 -07:00
Justin Newberry
bfe990b112 System: cleanup paths to use a common class (#29816)
* use OP prefix for logmessage

* cleanup paths too

* cleanup the paths too

* add hw.py to release

* fix those issues

* fix unittests

* fix unittests

* fix unittests

* do swaglog_ipc properly across all the files

* fix that

* fix swaglog in c++

* review suggestions
2023-09-07 11:32:47 -07:00
Adeeb Shihadeh
ec479322d3 Revert "params: safe and efficient async writing parameters (#25912)"
This reverts commit 0d797f4e8b.
2023-09-06 13:44:20 -07:00
Dean Lee
0d797f4e8b params: safe and efficient async writing parameters (#25912)
* Safe and efficient asynchronous writing parameters

* call putNonBlocking in locationd

* remove space

* ->AsyncWriter

* remove semicolon

* use member function

* asyc write multiple times

* add test case for AsyncWriter

* merge master

* add missing include

* public

* cleanup

* create once

* cleanup

* update that

* explicit waiting

* improve test case

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-09-06 08:50:28 -07:00
Adeeb Shihadeh
7b6afbc162 pytest: use a clean environment for all tests (#29788)
* pytest: use a clean environment for all tests

* rm that

* fix pj

* put build back

* fix params

* fix that

* handle no key

* that was removed

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
2023-09-05 18:52:40 -07:00
Justin Newberry
4e69937d0d Precommit: ensure executable bit is set (#29784)
* precommit ensure executable

* exclude tinygrad

* bump submodules

* exclude tinygrad globally
2023-09-05 16:33:26 -07:00
Mitchell Goff
151ac4bf76 Combine update_calibration/get_warp_matrix (#29719) 2023-08-30 15:16:29 -07:00
Kacper Rączy
d138a358eb scons: fix multithreaded builds (#29716)
* common_python export

* Single scons call

* transformations_python
2023-08-31 00:01:03 +02:00
Adeeb Shihadeh
6333ff94e7 common/i2c: make thread safe (#29706)
Co-authored-by: Comma Device <device@comma.ai>
2023-08-29 18:34:30 -07:00
Greg Hogan
5058f31908 rename GPIO pin with ublox in the name that is not ublox specific (#29702)
* rename UBLOX_PWR_EN to GNSS_PWR_EN

* add schematic label as comment
2023-08-29 22:24:37 +00:00
Dean Lee
12073c07af ui/MapSettings: sort destinations by recent activity (#29079) 2023-08-27 15:13:43 +01:00
Dean Lee
c6c6877263 util.cc: remove duplidate #include (#29632)
remove duplidate #include
2023-08-25 14:34:46 -07:00
Dean Lee
2709cd6538 common/tests: combine multiple test binaries into one (#29623) 2023-08-25 10:35:39 -07:00
Dean Lee
7270c64872 common/gpio: use util::safe_ioctl (#29624)
use util::safe_ioctl
2023-08-25 08:20:43 -07:00
Justin Newberry
1ee6ed4b16 Linter: remove pylint (#29611)
remove pylint
2023-08-24 16:30:54 -07:00
Bruce Wayne
e7418cfa39 KF1D: add steady state kalman code 2023-08-24 15:04:47 -07:00
Adeeb Shihadeh
4917e22615 Minimal build (#29600)
* add build flag for minimum build

* add minimal build

* update

* fix pj

* bump opendbc

* update subaru
2023-08-24 14:58:30 -07:00
Shane Smiskol
54e98fa888 C++ FirstOrderFilter: add initialized flag (#29602)
add initialized flag with default to not change behavior
2023-08-24 14:33:11 -07:00
Dean Lee
20e8170399 common/i2c: remove duplicate #include (#29594) 2023-08-24 16:21:03 +01:00
Dean Lee
9c7bf50703 cpplint: add filter whitespace/tab (#29588) 2023-08-24 08:06:58 -07:00
Dean Lee
21da5a216f cpplint: add filter build/include_subdir (#29585) 2023-08-24 15:42:17 +01:00
Dean Lee
8b7004e68d swaglog: remove unnecessary string copy (#29164) 2023-08-23 20:10:23 -07:00
Dean Lee
5480d32bb5 cpplint: add filter whitespace/parens (#29565) 2023-08-23 14:25:05 -07:00
Adeeb Shihadeh
e726505918 bump cereal (#29561) 2023-08-23 13:42:37 -07:00
Dean Lee
2d99521e75 cpplint: build/include_what_you_use (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-23 13:25:17 -07:00
Dean Lee
363740a497 cpplint: add readability/braces filter (#29554) 2023-08-23 10:13:46 -07:00
Willem Melching
e8094affae ratekeeper.h: add missing <cstdint> include (#29523) 2023-08-22 15:21:16 +01:00
mitchellgoffpc
72950cd9bc Add cl_create_context function 2023-08-21 19:32:48 -07:00
Dean Lee
3eef63af9b common: C++ RateKeeper (#29374)
* c++ RateKeeper

* add to files_common

* use util::random_int

* improve monotor_time

* remove ~ratekeeper
2023-08-20 21:27:02 -07:00
Adeeb Shihadeh
a9626f95b6 add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
2023-08-20 20:49:55 -07:00
Adeeb Shihadeh
d61f86d339 replace custom clock helpers with time module (#29499)
* replace custom clock stuff wtih time module

* fix double

* fix release

* bump cereal

* update type

* fix one more
2023-08-20 18:50:58 -07:00
Adeeb Shihadeh
2fa09a9ad7 common/gpio: fix warning on re-export (#29457) 2023-08-17 16:32:23 -07:00
Kacper Rączy
d8bda6feb4 replay: increase file descriptor limit macOS (#29346)
* Increase file descriptor limit for replay on macos

* Reword comment

* Move set_file_descriptor_limit to common/util.cc

* Include resource.h header
2023-08-15 00:05:27 +02:00
Dean Lee
37c3854623 util: fix typo in comment (#29392)
fix typo in comment
2023-08-14 12:05:38 -07:00
Dean Lee
22bc06fdaa common/util: move function random_int to util (#29388) 2023-08-14 09:37:16 -07:00
Adeeb Shihadeh
db287496d8 Fixes for PYTHONWARNINGS=error (#29381) 2023-08-13 17:22:56 -07:00
YassineYousfi
9858754a02 camera transformations: pass intrinsics to get_calib_from_vp (#29323) 2023-08-11 10:24:30 -07:00