Commit Graph

486 Commits

Author SHA1 Message Date
Rick Lan 2e79a63651 lane change assist controller 2024-06-23 21:48:42 +08:00
Rick Lan 9d3afb44c3 fixed param names 2024-06-21 15:09:35 +08:00
Rick Lan e84bf06f6e Curve Speed Limiter 2024-06-21 14:46:50 +08:00
Rick Lan fa62b6ae1a Alt Driving Personality Controller 2024-06-21 14:07:47 +08:00
Rick Lan 41fc49dcc4 Merge remote-tracking branch 'origin/master' into master3 2024-06-21 13:16:13 +08:00
Rick Lan 5387b2e977 Low Speed Aggressive Mode 2024-06-21 00:16:58 +08:00
Mauricio Alvarez Leon 7013eed50c remove timezone from timed.py (#32665)
* use timezone from tilequery mapbox api

* add timezone into cereal

* better clean

* more

* one line

* poetry lock
2024-06-19 20:34:57 -07:00
Adeeb Shihadeh e491c9d964 remove navigation (#32773)
* remove navigation

* lil more

* fix cabana

* revert for now

* fix docs

* move that over

* lock

* rm assets
2024-06-19 19:14:13 -07:00
Rick Lan 93d4719bb1 HKG Low Speed Turn Enhancer for EV6/CAN-FD vehicles 2024-06-19 21:10:38 +08:00
Rick Lan f463191213 ZSS Controller 2024-06-19 20:21:47 +08:00
Rick Lan 07d5c3ea9f Disable On-Road Upload 2024-06-19 16:57:10 +08:00
Rick Lan ac520a882d toyota door lock controller 2024-06-19 14:03:19 +08:00
Rick Lan e4cbfcb8bc free map w/ traffic 2024-06-16 14:46:32 +08:00
Rick Lan d3a79be8dd renamed to ui prefix 2024-06-14 18:01:53 +08:00
Rick Lan b74144ece3 map panel for free 2024-06-14 16:46:23 +08:00
Rick Lan 2122bf8f78 vehicle selector 2024-06-14 14:30:03 +08:00
Rick Lan 7f1b69c33c redirect to dp sentry 2024-06-14 11:30:01 +08:00
Rick Lan cf36d4b9e6 display IP 2024-06-13 22:02:28 +08:00
Rick Lan 9e5c15d0af added reset button support 2024-06-13 15:55:31 +08:00
Rick Lan ef1b463362 Bug fixes 2024-06-13 15:47:42 +08:00
Rick Lan e3693fe996 Merge branch 'master' of https://github.com/commaai/openpilot into master3 2024-06-12 13:51:15 +08:00
Rick Lan 975c747dfe added missing params 2024-06-12 13:42:49 +08:00
Adeeb Shihadeh 83ac80c6c8 Remove setproctitle (#32716)
* Custom setproctitle (#32667)

* add custom setproctitle

* add test

* Update poetry.lock

* fix lint

* support only Linux

* test only Linux

* final lint

* Update test_setproctitle.py

* Update setproctitle.py

* convert to threadnames

* delete proctitles

* Check str len and use PR_GET_NAME

* fix poetry.lock

* lint fix

* Update common/threadname.py

---------

Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* revert that for now

* use last 15

* fix

* use name

* update those

* and modeld

* rm

---------

Co-authored-by: schlimeszn <138847413+schlimeszn@users.noreply.github.com>
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2024-06-11 21:57:32 -07:00
Mauricio Alvarez Leon 148eaf8fa6 Update to Python 3.12 (#32548)
* 3.12

* pprofile is broken

* use modified metadrivepy3-12

* 0.3.0 metadrive

* add metadrive/commaai git dependency

* metadrive git set

* pin sounddevice 0.4.6

* datetime.utcnow() deprecation

* poetry lock

* make datetime not aware

* poetry lock

* pin pytools

* google_crc32c wheel

* unpin sounddevice

* clean metadrive

* use python crc

* mypy

* 3.12.4

* allow python3.11

* test

* no pip

* poetry

* better

* better

* merge

* remove

* try

* test

* try  this

* snok

* python

* simpler

* setuptools

* lower

* try

* try

* work?

* ubuntu deps

* ubuntu

* try

* remove

* move

* remove this

* names

* Update .github/workflows/tools_tests.yaml

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* python<4

* <3.13

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-06-11 20:45:15 +00:00
Rick Lan f42cf7286d added rainbow path support 2024-06-11 11:02:19 +08:00
Rick Lan 8057937239 added display mode support 2024-06-11 10:58:04 +08:00
Adeeb Shihadeh 5b51f03967 Revert "Custom setproctitle (#32667)"
This reverts commit 3365ed5eff.
2024-06-10 19:55:41 -07:00
schlimeszn 3365ed5eff Custom setproctitle (#32667)
* add custom setproctitle

* add test

* Update poetry.lock

* fix lint

* support only Linux

* test only Linux

* final lint

* Update test_setproctitle.py

* Update setproctitle.py

* convert to threadnames

* delete proctitles

* Check str len and use PR_GET_NAME

* fix poetry.lock

* lint fix

* Update common/threadname.py

---------

Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-06-10 18:59:01 -07:00
Dean Lee a4f0f6ca36 common/ratekeeper: change frame() return type from double to uint64_t (#32679) 2024-06-10 13:37:50 -07:00
Adeeb Shihadeh 2cfb4df82c bump version to 0.9.8 2024-06-09 11:18:47 -07:00
Adeeb Shihadeh 5265d13fe0 Replace markdown-it-py with small function in common/ (#32664)
* Replace markdown-it-py with small function in common/

* simple test

* unused

* lock

* linting fixes
2024-06-08 15:39:26 -07:00
Shane Smiskol 451e171ad9 remove old cache wrapper (#32653)
* remove wrapper that is functools.cache

* format
2024-06-07 21:24:32 -07:00
Adeeb Shihadeh 51fdf23304 thermald is hardwared (#32637)
* thermald is deviced

* hardwared

* rename
2024-06-05 15:58:00 -07:00
Adeeb Shihadeh 34e329649d boardd is pandad (#32628)
* boardd is pandad

* rename tests
2024-06-04 19:16:55 -07:00
Adeeb Shihadeh c59887c810 test_*.py files are no longer executable (#32610)
* test_*.py files are no longer executable

* cleanup empty lines

* update precommit

* fixme

* enable

* build
2024-06-03 15:48:56 -07:00
Dean Lee 5f778c0d3a common/prefix.h: Fix incomplete path cleanup on exit (#32559) 2024-05-29 19:04:03 -07:00
Adeeb Shihadeh b2e4c64cf8 ruff: enable UP 2024-05-20 17:43:54 -07:00
cl0cks4fe dd9d5d4528 Unittest to pytest (#32366)
* add pytest-asyncio

* switch common

* switch selfdrive

* switch system

* switch tools

* small fixes

* fix setUp and valgrind pytest

* switch to setup

* fix random

* switch mock

* switch test_lateral_limits

* revert test_ui

* fix poetry.lock

* add unittest to banned-api

* add inline ignores to remaining unittest imports

* revert test_models

* revert check_can_parser_performance

* one more skip

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-05-17 11:01:44 -07:00
Dean Lee c063395312 util: remove unused functions (#32372)
cleanup
2024-05-08 10:18:43 -07:00
Adeeb Shihadeh 1fc3d9224e remove Offroad_InvalidTime alert 2024-05-07 15:58:29 -07:00
ZwX1616 331c7b103a image processing refactor and test (#32249)
* it's something

* backup

* 16:10

* cleanup

* this is fine

* close

* remove some junk

* no heck

* disos

* real 10

* for some reason this is flipped

* 20hz

* no return

* ae

* tear

* need curve laster

* correct real gains

* fix time

* cleanup

* why the scam

* disable for now

* 0.7

* hdr

* that doesnt work

* what

* hugeoof

* clean up

* cleanup

* fix regs

* welp cant

* is this corrent

* it is sq

* remove

* back

* stg10bit

* back2ten

* Revert "remove"

This reverts commit 18712ab7e103c12621c929cd0f772ecb9b348247.

* 20hz and swb

* correct height

* 10bit

* ui hack for now

* slight

* perfect

* blk64

* ccm

* fix page faults

* template

* set 4x

* is this fine

* try

* this seems to work

* Revert "this seems to work"

This reverts commit d3c9023d3f14bd9394fed2d6276dba777ed0e606.

* needs to be static

* close

* 64 is optimal

* 2

* take

* not 1

* offset

* whats going on

* i have no idea

* less resistence

* box defs

* no

* reduce blur artifacts

* simplify

* fix

* fake short is too much for bright

* can be subzero

* should not use lsvc

* no wasted bit

* cont no slow

* no less than 10bit

* it is based

* wrong

* right

* quart

* shift

* raise noise floor

* 4.5/4.7

* same ballpark

* int is fine

* shane owes me m4a4

* Revert "shane owes me m4a4"

This reverts commit b4283fee18efebedae628a6cfd926ff1416dcfe5.

* back

* Revert "4.5/4.7"

This reverts commit e38f96e90cb5370bd378f6b66def9e7e3ed0ce5d.

* default

* oof

* clean up

* simpilfy

* from sensorinfo

* no div

* better name

* not the wrong one

* not anymore relevant

* too

* not call it debayer

* cl headers

* arg is 2nd

* gone is is_bggr

* define

* no is hdr

* rgb_tmp

* p1

* clean up

* 4

* cant for

* fix somewhre else

* const

* ap

* rects

* just set staruc

* nnew tmp

* pull it for now

* 12

* common rect

* Revert "not anymore relevant"

This reverts commit 1d574673a16cc31b7a255609e07775c3579eef15.

* Revert "too"

This reverts commit c2d4dcc52a859fe799362f9fcc2ffda99b264e50.

* Revert "Revert "too""

This reverts commit 0abbabe1fde51592f1619058638b4ac6a6dee4b3.

* no tol is fine

* rename

* sensor id

* unsgin

* flag

* some linalg

* cast

* should be h ref

* cap

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-04-18 21:45:59 -07:00
ZwX1616 1d05704d27 Toggle to always enable DM (#32205)
* permanent

* param

* correct behavior

* toggle

* need trans

* ref_commit

* translate for chs/t

* disable on P and R

* read
2024-04-17 12:56:37 -07:00
Dean Lee c1edc0901e common/params.cc: unlink tmp_path only if there's an error (#32145) 2024-04-10 19:51:33 -07:00
Justin Newberry c09cf4983b pytest: don't delete logs on-device (#32080)
fix log deletion
2024-04-01 17:43:22 -07:00
Adeeb Shihadeh 43832335b8 timed: set valid flag (#32061)
* timed: set valid flag

* oops
2024-03-30 17:47:21 -07:00
Dean Lee d05c19b9f4 util: safer ends_with (#31943)
* safer ends_with

* improve
2024-03-26 10:56:02 -07:00
Justin Newberry efc32c2930 common/run: add environment variable argument (#31957)
run add environment argument
2024-03-21 12:58:16 -07:00
Justin Newberry 806f743e12 git commands: more parameterization on path (#31942)
* more cwd

* here top

* and here

* basedir
2024-03-21 09:47:26 -07:00
Justin Newberry 38d03b9979 add get_build_metadata function (#31923)
* version

* Get build metadata

* two lines

* channel

* cwd

* default to unknown

* dataclass
2024-03-20 16:43:58 -07:00
Justin Newberry 4fbc8a3896 move git commands to common/git.py (#31921)
move git into common/git.py
2024-03-19 12:39:09 -07:00