Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync branch #1

Closed
wants to merge 73 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
998763b
Subaru: 2021 impreza fingerprint (#30249)
jnewb1 Oct 15, 2023
f616dd7
loggerd: add wall time to initData (#30251)
adeebshihadeh Oct 15, 2023
db46076
add fingerprinting template (#30257)
jnewb1 Oct 16, 2023
d23f5d2
test_processes: assert that mazda is tested (#30258)
jnewb1 Oct 16, 2023
def2b93
compare_logs: better names for short/long diffs (#30263)
jnewb1 Oct 17, 2023
1866e53
ui.py: support strided buffer (#30236)
deanlee Oct 17, 2023
6b303ce
Added firmware values for 2020 VW Passat NMS (#30233)
ajanecek Oct 17, 2023
ec30897
Add missing COROLLA_TSS2 engine (#30267)
seanmars Oct 17, 2023
ffeb99d
events: fixup printing script (#30268)
sshane Oct 17, 2023
50d720f
Bump tinygrad to master (0.7) (#30254)
geohot Oct 17, 2023
1820b5f
Proc Replay: cleanup iterable log typing (#30261)
jnewb1 Oct 17, 2023
2f1ece0
bump panda (#30276)
sshane Oct 18, 2023
40817b6
update model replay ref commit
YassineYousfi Oct 18, 2023
52b5a33
Revert "update model replay ref commit"
YassineYousfi Oct 18, 2023
c32927d
Toyota: don't calculate angle offset when angle rate is high (#30277)
sshane Oct 18, 2023
3707bba
Ram 1500: fix temp steering fault from incorrect steer speed (#30280)
sshane Oct 18, 2023
b86567d
compare_logs: separate format_process_diff into a new function (#30284)
jnewb1 Oct 18, 2023
59e947d
fix ffprobe on device (#30286)
gregjhogan Oct 19, 2023
71a9b2c
jenkins: clear commacache dir (#30290)
adeebshihadeh Oct 19, 2023
13d780a
test_onroad: log sizes check (#30265)
adeebshihadeh Oct 19, 2023
68acb26
framereader: eliminate tempfile usage (#30289)
gregjhogan Oct 19, 2023
13bf8c2
Update Python packages and pre-commit hooks (#30269)
adeebshihadeh Oct 19, 2023
0c0682d
HKG: add missing FW for Kia Sorento Hybrid 2021 (#30247)
colin-cho Oct 19, 2023
b35658e
docs: fix model year formatting
sshane Oct 19, 2023
28a778b
Lexus: enable fuzzy fingerprinting for ES & RX TSS2 (#30281)
sshane Oct 19, 2023
09c8866
Update test_onroad.py
adeebshihadeh Oct 19, 2023
cad17b1
modeld: parsing and publishing in python (#30273)
YassineYousfi Oct 19, 2023
2338f76
eSIM profile management (#30262)
adeebshihadeh Oct 19, 2023
9e01f4a
replay: make `installDownloadProgressHandler` thread safe (#30296)
deanlee Oct 20, 2023
b7cc698
modeld: send_raw_pred under a flag (#30298)
YassineYousfi Oct 20, 2023
54db997
add CNAME for docs.comma.ai
adeebshihadeh Oct 21, 2023
ac19ece
cabana: remove the installed handlers on exit (#30297)
deanlee Oct 21, 2023
48209b4
Added FW for 2022 Audi Q3 (#30275)
stevenaa123isme Oct 21, 2023
0b7e512
VW MQB: Add FW for 2023 Volkswagen Tiguan (#30271)
jyoung8607 Oct 21, 2023
880afed
Toyota: Added missing Highlander Hybrid FW versions (#30255)
systwo Oct 21, 2023
6e83014
Toyota: add ABS ECU version for HIGHLANDERH_TSS2 (#30230)
ErichMoraga Oct 21, 2023
b95d69a
Car port: CADILLAC ESCALADE ESV 2019 (#29913)
twilsonco Oct 21, 2023
820cccf
Hyundai: split Elantra and Elantra GT (i30) platforms (#29969)
sunnyhaibin Oct 21, 2023
964460c
Hyundai: remove Kona EV and Ioniq 6 from radar-ACC set (#30214)
sshane Oct 21, 2023
67f2321
delete clocksd (#30252)
adeebshihadeh Oct 22, 2023
56dea7b
Rm laikad (#30299)
haraschax Oct 23, 2023
c626078
Toyota: combine rest of hybrid platforms (#30259)
sshane Oct 23, 2023
1802de3
modeld: fix prev brake probs shapes (#30309)
YassineYousfi Oct 23, 2023
412f4cb
Pytest: fix local params overriden (#30312)
jnewb1 Oct 24, 2023
0431bba
cabana: set the COMMA_CACHE environment variable (#29849)
deanlee Oct 24, 2023
e287a5f
cabana: remove the qlog parsing thread (#30319)
deanlee Oct 24, 2023
d3d5198
Update Python packages and pre-commit hooks (#30321)
adeebshihadeh Oct 24, 2023
f47723d
cabana: fix sparkline glitch (#30320)
deanlee Oct 24, 2023
691c7c2
cabana: add `Node` column to message table (#30317)
deanlee Oct 25, 2023
57621af
cabana/chart: populate the points incrementally (#30326)
deanlee Oct 25, 2023
9528383
cabana: improve playback controller (#30325)
deanlee Oct 25, 2023
b733290
cabana: save settings to user-specific directory (#30328)
deanlee Oct 25, 2023
ae26280
cabana: fix two ui bugs (#30327)
deanlee Oct 25, 2023
82291a2
Honda: add FW for Civic Sport 2023 (#30316)
Madnevil Oct 25, 2023
f62ee97
cabana: rename signal node
sshane Oct 25, 2023
9c7e5ca
rawgpsd: add flag for cold start (#30224)
adeebshihadeh Oct 25, 2023
2acb22f
selfdrive_tests: allow manual run (#30307)
sshane Oct 25, 2023
21715d7
process_replay: migrate cameraStates of segments without driverEncode…
fredyshox Oct 25, 2023
4094d58
process_replay: use frame dimensions from FrameReader (#30332)
fredyshox Oct 25, 2023
c27e977
URLFile: exception type for failed requests (#30330)
fredyshox Oct 25, 2023
eecdaf9
Added sentry hooks for modeld
mitchellgoffpc Oct 26, 2023
91380f0
fix up docker script
adeebshihadeh Oct 29, 2023
fe4ad96
cabana: support multiple cameras (#30339)
deanlee Oct 29, 2023
0eea00e
ui: Always display Wi-Fi list when navigating to Network panel (#30333)
sunnyhaibin Oct 29, 2023
61288df
athenad: fix memory leak in `_do_upload()` (#30237)
deanlee Oct 29, 2023
0161012
cabana: support suppress highlighted bits (#30336)
deanlee Oct 30, 2023
57c8304
jenkins: retry on failed git checkouts (#30345)
adeebshihadeh Oct 30, 2023
d67276a
bump panda (#30346)
sshane Oct 30, 2023
7a5d852
regen: dummy dcamera support (#30323)
fredyshox Oct 30, 2023
e5eea72
regen: update refs with dummy dcamera (#30347)
fredyshox Oct 30, 2023
c04e019
Update Python packages and pre-commit hooks (#30352)
adeebshihadeh Oct 31, 2023
bf5a45e
cabana: fix messages not updated correctly after `seekto()` (#30351)
deanlee Oct 31, 2023
0eb15e8
Merge branch 'xt4'
garrettpall Oct 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<!-- Please copy and paste the relevant template -->

<!--- ***** Template: Fingerprint *****

**Car**
Which car (make, model, year) this fingerprint is for

**Route**
A route with the fingerprint

-->

<!--- ***** Template: Car bug fix *****

**Description** [](A description of the bug and the fix. Also link any relevant issues.)
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:

cp -r ../build/docs/html/ docs/
touch docs/.nojekyll
echo -n docs.comma.ai > docs/CNAME
git add -f .

git commit -m "build docs"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/selfdrive_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ comma*.sh

selfdrive/modeld/thneed/compile
selfdrive/modeld/models/*.thneed
selfdrive/modeld/models/*.pkl

*.bz2

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repos:
args: ['--explicit-package-bases']
exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(laika/)|(laika_repo/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(xx/)'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.292
rev: v0.1.3
hooks:
- id: ruff
exclude: '^(third_party/)|(cereal/)|(rednose/)|(panda/)|(laika/)|(laika_repo/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)'
Expand Down
8 changes: 6 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ source ~/.bash_profile
if [ -f /TICI ]; then
source /etc/profile

rm -rf ~/.commacache

if ! systemctl is-active --quiet systemd-resolved; then
echo "restarting resolved"
sudo systemctl start systemd-resolved
Expand Down Expand Up @@ -62,7 +64,9 @@ def deviceStage(String stageName, String deviceType, List env, def steps) {
docker.image('ghcr.io/commaai/alpine-ssh').inside('--user=root') {
lock(resource: "", label: deviceType, inversePrecedence: true, variable: 'device_ip', quantity: 1) {
timeout(time: 20, unit: 'MINUTES') {
device(device_ip, "git checkout", extra + "\n" + readFile("selfdrive/test/setup_device_ci.sh"))
retry (3) {
device(device_ip, "git checkout", extra + "\n" + readFile("selfdrive/test/setup_device_ci.sh"))
}
steps.each { item ->
device(device_ip, item[0], item[1])
}
Expand Down Expand Up @@ -154,7 +158,7 @@ node {
["build master-ci", "cd $SOURCE_DIR/release && TARGET_DIR=$TEST_DIR ./build_devel.sh"],
["build openpilot", "cd selfdrive/manager && ./build.py"],
["check dirty", "release/check-dirty.sh"],
["onroad tests", "cd selfdrive/test/ && ./test_onroad.py"],
["onroad tests", "pytest selfdrive/test/test_onroad.py -s"],
["time to onroad", "cd selfdrive/test/ && pytest test_time_to_onroad.py"],
])
},
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ Directory Structure
├── third_party # External libraries
└── system # Generic services
├── camerad # Driver to capture images from the camera sensors
├── clocksd # Broadcasts current time
├── hardware # Hardware abstraction classes
├── logcatd # systemd journal as a service
├── loggerd # Logger and uploader of car data
Expand Down
1 change: 1 addition & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Version 0.9.5 (2023-XX-XX)
========================
* New driving model
* Improved navigate on openpilot performance using navigation instructions as an additional model input
* Cadillac Escalade ESV 2019 support thanks to twilsonco!
* Hyundai Azera 2022 support thanks to sunnyhaibin!
* Hyundai Azera Hybrid 2020 support thanks to chanhojung and haram-KONA!
* Hyundai Custin 2023 support thanks to sunnyhaibin and Saber422!
Expand Down
5 changes: 4 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ AddOption('--ubsan',
action='store_true',
help='turn on UBSan')

AddOption('--coverage',
action='store_true',
help='build with test coverage options')

AddOption('--clazy',
action='store_true',
help='build with clazy')
Expand Down Expand Up @@ -382,7 +386,6 @@ SConscript(['rednose/SConscript'])

# Build system services
SConscript([
'system/clocksd/SConscript',
'system/proclogd/SConscript',
'system/ubloxd/SConscript',
'system/loggerd/SConscript',
Expand Down
2 changes: 1 addition & 1 deletion cereal
3 changes: 3 additions & 0 deletions common/prefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def __init__(self, prefix: Optional[str] = None, clean_dirs_on_exit: bool = True
self.clean_dirs_on_exit = clean_dirs_on_exit

def __enter__(self):
self.original_prefix = os.environ.get('OPENPILOT_PREFIX', None)
os.environ['OPENPILOT_PREFIX'] = self.prefix
try:
os.mkdir(self.msgq_path)
Expand All @@ -28,6 +29,8 @@ def __exit__(self, exc_type, exc_obj, exc_tb):
self.clean_dirs()
try:
del os.environ['OPENPILOT_PREFIX']
if self.original_prefix is not None:
os.environ['OPENPILOT_PREFIX'] = self.original_prefix
except KeyError:
pass
return False
Expand Down
5 changes: 5 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ def openpilot_function_fixture():

# setup a clean environment for each test
with OpenpilotPrefix():
prefix = os.environ["OPENPILOT_PREFIX"]

yield

# ensure the test doesn't change the prefix
assert "OPENPILOT_PREFIX" in os.environ and prefix == os.environ["OPENPILOT_PREFIX"]

os.environ.clear()
os.environ.update(starting_env)

Expand Down
Loading
Loading