Skip to content

Commit

Permalink
dragonpilot beta3
Browse files Browse the repository at this point in the history
date: 2024-06-25T13:13:17
commit: 69a0992
  • Loading branch information
dragonpilot authored and Comma Device committed Jun 25, 2024
1 parent 0cc5813 commit a5cee30
Show file tree
Hide file tree
Showing 1,615 changed files with 100,097 additions and 316,093 deletions.
19 changes: 19 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
Checks: '
bugprone-*,
-bugprone-integer-division,
-bugprone-narrowing-conversions,
performance-*,
clang-analyzer-*,
misc-*,
-misc-unused-parameters,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-deprecated-headers,
-modernize-use-auto,
-modernize-use-using,
-modernize-use-nullptr,
-modernize-use-trailing-return-type,
'
CheckOptions:
...
39 changes: 39 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
**/.git
.DS_Store
*.dylib
*.DSYM
*.d
*.pyc
*.pyo
.*.swp
.*.swo
.*.un~
*.tmp
*.o
*.o-*
*.os
*.os-*
*.so
*.a

venv/
.venv/

notebooks
phone
massivemap
neos
installer
chffr/app2
chffr/backend/env
selfdrive/nav
selfdrive/baseui
selfdrive/test/simulator2
**/cache_data
xx/plus
xx/community
xx/projects
!xx/projects/eon_testing_master
!xx/projects/map3d
xx/ops
xx/junk
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[{*.py, *.pyx, *.pxd}]
charset = utf-8
indent_style = space
indent_size = 2
30 changes: 22 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ venv/
.overlay_init
.overlay_consistent
.sconsign.dblite
.vscode*
model2.png
a.out
.hypothesis
Expand Down Expand Up @@ -41,8 +40,9 @@ compile_commands.json
compare_runtime*.html

persist
board/obj/
selfdrive/boardd/boardd
selfdrive/pandad/pandad
cereal/services.h
cereal/gen
selfdrive/logcatd/logcatd
selfdrive/mapd/default_speeds_by_region.json
system/proclogd/proclogd
Expand All @@ -53,16 +53,11 @@ selfdrive/car/tests/cars_dump
system/camerad/camerad
system/camerad/test/ae_gray_test
selfdrive/modeld/_modeld
selfdrive/modeld/_navmodeld
selfdrive/modeld/_dmonitoringmodeld
/src/

one
notebooks
xx
yy
hyperthneed
panda_jungle
provisioning

.coverage*
Expand All @@ -88,3 +83,22 @@ build/

poetry.toml
Pipfile

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/

# Built Visual Studio Code Extensions
*.vsix

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide
File renamed without changes.
2 changes: 2 additions & 0 deletions .pytest_cache/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Created by pytest automatically.
*
4 changes: 4 additions & 0 deletions .pytest_cache/CACHEDIR.TAG
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by pytest.
# For information about cache directory tags, see:
# https://bford.info/cachedir/spec.html
8 changes: 8 additions & 0 deletions .pytest_cache/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# pytest cache directory #

This directory contains data from the pytest's cache plugin,
which provides the `--lf` and `--ff` options, as well as the `cache` fixture.

**Do not** commit this to version control.

See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
1 change: 1 addition & 0 deletions .pytest_cache/v/randomly_seed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2461989904
8 changes: 7 additions & 1 deletion CHANGELOGS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
dragonpilot beta3 2024.02.13
dragonpilot 0.9.8
=======================
* Up to comma.ai openpilot master branch commit 442e9f4ae492901a5698b3188741c97c053026c4 (2024-06-21)
* DP HIGHLIGHT:
* Restart from scratch.

dragonpilot beta3 [2024.02.13]
=======================
* Comma 0.9.6 release
* New driving model (Los Angles V2)
Expand Down
7 changes: 0 additions & 7 deletions LICENSE

This file was deleted.

31 changes: 27 additions & 4 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,37 @@
Version 0.9.6 (2024-02-XX)
Version 0.9.8 (2024-XX-XX)
========================
* Added toggle to enable driver monitoring even when openpilot is not engaged

Version 0.9.7 (2024-06-13)
========================
* New driving model
* Inputs the past curvature for smoother and more accurate lateral control
* Simplified neural network architecture in the model's last layers
* Minor fixes to desire augmentation and weight decay
* New driver monitoring model
* Improved end-to-end bit for phone detection
* Adjust driving personality with the follow distance button
* Support for hybrid variants of supported Ford models
* Fingerprinting without the OBD-II port on all cars
* Improved fuzzy fingerprinting for Ford and Volkswagen

Version 0.9.6 (2024-02-27)
========================
* New driving model
* Vision model trained on more data
* Improved driving performance
* Directly outputs curvature for lateral control
* New driver monitoring model
* Trained on larger dataset
* Model path UI
* Shows where driving model wants to be
* Shows what model is seeing more clearly, but more jittery
* AGNOS 9
* comma body streaming and controls over WebRTC
* Improved fuzzy fingerprinting for many makes and models
* Alpha longitudinal support for new Toyota models
* Chevrolet Equinox 2019-22 support thanks to JasonJShuler and nworb-cire!
* Dodge Durango 2020-21 support
* Hyundai Staria 2023 support thanks to sunnyhaibin!
* Kia Niro Plug-in Hybrid 2022 support thanks to sunnyhaibin!
* Lexus LC 2024 support thanks to nelsonjchen!
Expand Down Expand Up @@ -620,7 +643,7 @@ Version 0.5.13 (2019-05-31)
* Reduce CPU utilization by 20% and improve stability
* Temporarily remove mapd functionalities to improve stability
* Add openpilot record-only mode for unsupported cars
* Synchronize controlsd to boardd to reduce latency
* Synchronize controlsd to pandad to reduce latency
* Remove panda support for Subaru giraffe

Version 0.5.12 (2019-05-16)
Expand Down Expand Up @@ -956,7 +979,7 @@ Version 0.2.8 (2017-02-27)
Version 0.2.7 (2017-02-08)
===========================
* Better performance and pictures at night
* Fix ptr alignment issue in boardd
* Fix ptr alignment issue in pandad
* Fix brake error light, fix crash if too cold

Version 0.2.6 (2017-01-31)
Expand Down Expand Up @@ -988,7 +1011,7 @@ Version 0.2.2 (2017-01-10)
Version 0.2.1 (2016-12-14)
===========================
* Performance improvements, removal of more numpy
* Fix boardd process priority
* Fix pandad process priority
* Make counter timer reset on use of steering wheel

Version 0.2 (2016-12-12)
Expand Down
5 changes: 5 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Security Policy

## Reporting a Vulnerability

Suspected vulnerabilities can be reported to both `[email protected]` and `[email protected]`.
18 changes: 18 additions & 0 deletions body/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# comma body

This the firmware for the comma body robotics dev kit.


Learn more at [commabody.com](https://commabody.com/).

## building

Compile: `scons`

Flash bootstub and app: `board/recover.sh` # STM flasher should be connected to debug port, needs openocd

Flash app through CAN bus with panda:

`board/flash_base.sh` # base motherboard

`board/flash_knee.sh` # knee motherboard
Loading

0 comments on commit a5cee30

Please sign in to comment.