Skip to content

Commit a5cee30

Browse files
dragonpilotComma Device
authored and
Comma Device
committed
dragonpilot beta3
date: 2024-06-25T13:13:17 commit: 69a0992
1 parent 0cc5813 commit a5cee30

File tree

1,615 files changed

+100097
-316093
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,615 files changed

+100097
-316093
lines changed

.clang-tidy

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
Checks: '
3+
bugprone-*,
4+
-bugprone-integer-division,
5+
-bugprone-narrowing-conversions,
6+
performance-*,
7+
clang-analyzer-*,
8+
misc-*,
9+
-misc-unused-parameters,
10+
modernize-*,
11+
-modernize-avoid-c-arrays,
12+
-modernize-deprecated-headers,
13+
-modernize-use-auto,
14+
-modernize-use-using,
15+
-modernize-use-nullptr,
16+
-modernize-use-trailing-return-type,
17+
'
18+
CheckOptions:
19+
...

.dockerignore

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
**/.git
2+
.DS_Store
3+
*.dylib
4+
*.DSYM
5+
*.d
6+
*.pyc
7+
*.pyo
8+
.*.swp
9+
.*.swo
10+
.*.un~
11+
*.tmp
12+
*.o
13+
*.o-*
14+
*.os
15+
*.os-*
16+
*.so
17+
*.a
18+
19+
venv/
20+
.venv/
21+
22+
notebooks
23+
phone
24+
massivemap
25+
neos
26+
installer
27+
chffr/app2
28+
chffr/backend/env
29+
selfdrive/nav
30+
selfdrive/baseui
31+
selfdrive/test/simulator2
32+
**/cache_data
33+
xx/plus
34+
xx/community
35+
xx/projects
36+
!xx/projects/eon_testing_master
37+
!xx/projects/map3d
38+
xx/ops
39+
xx/junk

.editorconfig

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
8+
[{*.py, *.pyx, *.pxd}]
9+
charset = utf-8
10+
indent_style = space
11+
indent_size = 2

.gitignore

+22-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ venv/
1010
.overlay_init
1111
.overlay_consistent
1212
.sconsign.dblite
13-
.vscode*
1413
model2.png
1514
a.out
1615
.hypothesis
@@ -41,8 +40,9 @@ compile_commands.json
4140
compare_runtime*.html
4241

4342
persist
44-
board/obj/
45-
selfdrive/boardd/boardd
43+
selfdrive/pandad/pandad
44+
cereal/services.h
45+
cereal/gen
4646
selfdrive/logcatd/logcatd
4747
selfdrive/mapd/default_speeds_by_region.json
4848
system/proclogd/proclogd
@@ -53,16 +53,11 @@ selfdrive/car/tests/cars_dump
5353
system/camerad/camerad
5454
system/camerad/test/ae_gray_test
5555
selfdrive/modeld/_modeld
56-
selfdrive/modeld/_navmodeld
5756
selfdrive/modeld/_dmonitoringmodeld
5857
/src/
5958

60-
one
6159
notebooks
62-
xx
63-
yy
6460
hyperthneed
65-
panda_jungle
6661
provisioning
6762

6863
.coverage*
@@ -88,3 +83,22 @@ build/
8883

8984
poetry.toml
9085
Pipfile
86+
87+
### VisualStudioCode ###
88+
.vscode/*
89+
!.vscode/settings.json
90+
!.vscode/tasks.json
91+
!.vscode/launch.json
92+
!.vscode/extensions.json
93+
!.vscode/*.code-snippets
94+
95+
# Local History for Visual Studio Code
96+
.history/
97+
98+
# Built Visual Studio Code Extensions
99+
*.vsix
100+
101+
### VisualStudioCode Patch ###
102+
# Ignore all local history of files
103+
.history
104+
.ionide

rednose/__init__.py .overlay_init

File renamed without changes.

.pytest_cache/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Created by pytest automatically.
2+
*

.pytest_cache/CACHEDIR.TAG

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Signature: 8a477f597d28d172789f06886806bc55
2+
# This file is a cache directory tag created by pytest.
3+
# For information about cache directory tags, see:
4+
# https://bford.info/cachedir/spec.html

.pytest_cache/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# pytest cache directory #
2+
3+
This directory contains data from the pytest's cache plugin,
4+
which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
5+
6+
**Do not** commit this to version control.
7+
8+
See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.

.pytest_cache/v/randomly_seed

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2461989904

CHANGELOGS.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
dragonpilot beta3 2024.02.13
1+
dragonpilot 0.9.8
2+
=======================
3+
* Up to comma.ai openpilot master branch commit 442e9f4ae492901a5698b3188741c97c053026c4 (2024-06-21)
4+
* DP HIGHLIGHT:
5+
* Restart from scratch.
6+
7+
dragonpilot beta3 [2024.02.13]
28
=======================
39
* Comma 0.9.6 release
410
* New driving model (Los Angles V2)

LICENSE

-7
This file was deleted.

RELEASES.md

+27-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,37 @@
1-
Version 0.9.6 (2024-02-XX)
1+
Version 0.9.8 (2024-XX-XX)
2+
========================
3+
* Added toggle to enable driver monitoring even when openpilot is not engaged
4+
5+
Version 0.9.7 (2024-06-13)
6+
========================
7+
* New driving model
8+
* Inputs the past curvature for smoother and more accurate lateral control
9+
* Simplified neural network architecture in the model's last layers
10+
* Minor fixes to desire augmentation and weight decay
11+
* New driver monitoring model
12+
* Improved end-to-end bit for phone detection
13+
* Adjust driving personality with the follow distance button
14+
* Support for hybrid variants of supported Ford models
15+
* Fingerprinting without the OBD-II port on all cars
16+
* Improved fuzzy fingerprinting for Ford and Volkswagen
17+
18+
Version 0.9.6 (2024-02-27)
219
========================
320
* New driving model
421
* Vision model trained on more data
522
* Improved driving performance
623
* Directly outputs curvature for lateral control
724
* New driver monitoring model
825
* Trained on larger dataset
26+
* Model path UI
27+
* Shows where driving model wants to be
28+
* Shows what model is seeing more clearly, but more jittery
929
* AGNOS 9
1030
* comma body streaming and controls over WebRTC
1131
* Improved fuzzy fingerprinting for many makes and models
32+
* Alpha longitudinal support for new Toyota models
33+
* Chevrolet Equinox 2019-22 support thanks to JasonJShuler and nworb-cire!
34+
* Dodge Durango 2020-21 support
1235
* Hyundai Staria 2023 support thanks to sunnyhaibin!
1336
* Kia Niro Plug-in Hybrid 2022 support thanks to sunnyhaibin!
1437
* Lexus LC 2024 support thanks to nelsonjchen!
@@ -620,7 +643,7 @@ Version 0.5.13 (2019-05-31)
620643
* Reduce CPU utilization by 20% and improve stability
621644
* Temporarily remove mapd functionalities to improve stability
622645
* Add openpilot record-only mode for unsupported cars
623-
* Synchronize controlsd to boardd to reduce latency
646+
* Synchronize controlsd to pandad to reduce latency
624647
* Remove panda support for Subaru giraffe
625648

626649
Version 0.5.12 (2019-05-16)
@@ -956,7 +979,7 @@ Version 0.2.8 (2017-02-27)
956979
Version 0.2.7 (2017-02-08)
957980
===========================
958981
* Better performance and pictures at night
959-
* Fix ptr alignment issue in boardd
982+
* Fix ptr alignment issue in pandad
960983
* Fix brake error light, fix crash if too cold
961984

962985
Version 0.2.6 (2017-01-31)
@@ -988,7 +1011,7 @@ Version 0.2.2 (2017-01-10)
9881011
Version 0.2.1 (2016-12-14)
9891012
===========================
9901013
* Performance improvements, removal of more numpy
991-
* Fix boardd process priority
1014+
* Fix pandad process priority
9921015
* Make counter timer reset on use of steering wheel
9931016

9941017
Version 0.2 (2016-12-12)

SECURITY.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
Suspected vulnerabilities can be reported to both `[email protected]` and `[email protected]`.

body/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# comma body
2+
3+
This the firmware for the comma body robotics dev kit.
4+
5+
6+
Learn more at [commabody.com](https://commabody.com/).
7+
8+
## building
9+
10+
Compile: `scons`
11+
12+
Flash bootstub and app: `board/recover.sh` # STM flasher should be connected to debug port, needs openocd
13+
14+
Flash app through CAN bus with panda:
15+
16+
`board/flash_base.sh` # base motherboard
17+
18+
`board/flash_knee.sh` # knee motherboard

0 commit comments

Comments
 (0)