Skip to content

Commit c58f481

Browse files
dragonpilotComma Device
authored and
Comma Device
committed
dragonpilot beta3
date: 2024-08-20T11:22:58 commit: dc76c1d
1 parent 0f94adf commit c58f481

File tree

613 files changed

+36382
-157056
lines changed

Some content is hidden

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

613 files changed

+36382
-157056
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ model2.png
1414
a.out
1515
.hypothesis
1616

17+
/docs_site/
18+
1719
*.dylib
1820
*.DSYM
1921
*.d
@@ -102,4 +104,4 @@ Pipfile
102104
### VisualStudioCode Patch ###
103105
# Ignore all local history of files
104106
.history
105-
.ionide
107+
.ionide

.importlinter

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[importlinter]
2+
root_packages =
3+
openpilot
4+
5+
[importlinter:contract:1]
6+
name = Forbid imports from openpilot.selfdrive.car to openpilot.system
7+
type = forbidden
8+
source_modules =
9+
openpilot.selfdrive.car
10+
forbidden_modules =
11+
openpilot.system
12+
openpilot.body
13+
openpilot.docs
14+
openpilot.msgq
15+
openpilot.panda
16+
openpilot.rednose
17+
openpilot.release
18+
openpilot.teleoprtc
19+
openpilot.tinygrad
20+
ignore_imports =
21+
openpilot.selfdrive.car.card -> openpilot.common.realtime
22+
openpilot.selfdrive.car.card -> openpilot.selfdrive.controls.lib.events
23+
openpilot.selfdrive.car.interfaces -> openpilot.selfdrive.controls.lib.events
24+
openpilot.selfdrive.car.tests.test_models -> openpilot.tools.lib.logreader
25+
openpilot.selfdrive.car.tests.test_models -> openpilot.selfdrive.car.card
26+
openpilot.selfdrive.car.tests.test_models -> openpilot.tools.lib.route
27+
openpilot.selfdrive.car.tests.test_models -> openpilot.system.hardware.hw
28+
openpilot.selfdrive.car.tests.test_models -> openpilot.selfdrive.test.helpers
29+
openpilot.selfdrive.car.isotp_parallel_query -> openpilot.common.swaglog
30+
openpilot.selfdrive.car.fw_versions -> openpilot.common.swaglog
31+
openpilot.selfdrive.car.disable_ecu -> openpilot.common.swaglog
32+
openpilot.selfdrive.car.vin -> openpilot.common.swaglog
33+
openpilot.selfdrive.car.ecu_addrs -> openpilot.common.swaglog
34+
openpilot.selfdrive.car.car_helpers -> openpilot.common.swaglog
35+
openpilot.selfdrive.car.car_helpers -> openpilot.system.version
36+
openpilot.selfdrive.car.interfaces -> openpilot.selfdrive.controls.lib.drive_helpers
37+
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.latcontrol_angle
38+
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.longcontrol
39+
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.latcontrol_torque
40+
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.latcontrol_pid
41+
unmatched_ignore_imports_alerting = warn

.pytest_cache/.gitignore

-2
This file was deleted.

.pytest_cache/CACHEDIR.TAG

-4
This file was deleted.

.pytest_cache/README.md

-8
This file was deleted.

.pytest_cache/v/random_order_seed

-1
This file was deleted.

.pytest_cache/v/randomly_seed

-1
This file was deleted.

CHANGELOGS.md

+74-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,76 @@
11
dragonpilot beta3 0.9.8
22
=======================
3+
* Up to comma.ai openpilot master branch commit 7ee9d2d1b93abb3ccba53f9552b716d3a11c2b6d (2024-07-31)
4+
* DP HIGHLIGHT:
5+
* [NEW] Disable Auto Update Toggle (Software Panel)
6+
* [UPDATE] Flight Panel
7+
* Performance improvement
8+
* Removed shade
9+
* Use green + yellow colour scheme
10+
* Moved below road name
11+
* Less elements on the screen
12+
* Rotate compass instead of the indicator
13+
* [UPDATE] Rainbow Path
14+
* Performance improvement
15+
* [UPDATE] TeToo
16+
* Updated Taiwan Speed Camera Database (2024-07-11)
17+
* [UPDATE] Personalized Accel Learner (PAL)
18+
* Adjusted learning freq
19+
* Save learnt values every minute
20+
* [UPDATE] Dynamic End-to-End Controller
21+
* DANGEOROUS_TTC reduce to 1.2s to rely on ACC mode more.
22+
  
23+
  
24+
===============
25+
DP FEATURE LIST
26+
===============
27+
* Common / Lateral
28+
* Always on Lane Keeping Assist (ALKA)
29+
* Configurable Lane Change Assist w/ Auto Lane Change Support
30+
* Road Edge Detection (by rav4kumar)
31+
* Lane Priority Mode
32+
* Ability to use Lane Planner for lane centering instead of end to end (when lane probs are high, logic by sunnyhaibin)
33+
* Ability to set speed limit and only activate at high speed (e.g. highway use only)
34+
* Common / Longitudinal
35+
* Dynamic End-to-End Controller
36+
* On-Screen Driving Personality Button
37+
* Speed-based Alternative Driving Personality Mode
38+
* [TESTING] Personalized Accel Learner (PAL) - Learn and apply accel habits from driver
39+
* Ability to set a launch boost for initial acceleration
40+
* Ability to freeze / reset learned parameters
41+
* Common / UI
42+
* Flight Panel
43+
* Rainbow Path
44+
* Accel/Decel Indicator
45+
* Blinker / Brake Indicator
46+
* Common / TeToo (Map / Tē-Tôo)
47+
* [TESTING] Display Road Name (Global, Online OSM)
48+
* [TESTING] Display Speed Camera Warning (Global, Online OSM)
49+
* [TESTING] Display Speed Camera Warning for Taiwan (Offline DB)
50+
* Common / Device
51+
* Disable Logging
52+
* Disable Upload While On-Road (by rav4kumar)
53+
* Display On/Off Mode
54+
* Audible Alert Mode
55+
* Auto Shutdown w/ Timer
56+
* On-Road / Off-Road Switcher (Software Panel)
57+
* Debug Console
58+
* Delete logs button (Device Panel)
59+
* Vehicle / Toyota
60+
* Stop and Go Mod
61+
* Enhanced BSM (by rav4kumar)
62+
* Auto Door Lock/Unlock
63+
* Zorro-Steering-Sensor (ZSS) Support (by erichMoraga)
64+
* PCM Compensation Enhancement (by cydia2020)
65+
* Auto Brake-Hold (by alexandreSato)
66+
* Vehicle / VAG
67+
* SnG for A0 Platform (by Saber422)
68+
* Patch for Modified PQ Platform (by Saber422)
69+
* Vehicle / HKG
70+
* Low Speed Turn Enhancement
71+
72+
dragonpilot beta3 [2024-07-24]
73+
=======================
374
* Up to comma.ai openpilot master branch commit cbee4421da690fa7b260f62c4a2c72ccacc6c902 (2024-07-14)
475
* DP HIGHLIGHT:
576
* [BUGFIX] Fixed Lexus IS/GS crashed issue.
@@ -26,11 +97,11 @@ DP FEATURE LIST
2697
* On-Screen Driving Personality Button
2798
* Speed-based Alternative Driving Personality Mode
2899
* Common / UI
29-
* Display Flight Panel
30-
* Display Rainbow Path
100+
* Flight Panel
101+
* Rainbow Path
31102
* Accel/Decel Indicator
32103
* Blinker / Brake Indicator
33-
* Common / Tē-Tôo (Map)
104+
* Common / TeToo (Map / Tē-Tôo)
34105
* [TESTING] Display Road Name (Global, Online OSM)
35106
* [TESTING] Display Speed Camera Warning (Global, Online OSM)
36107
* [TESTING] Display Speed Camera Warning for Taiwan (Offline DB)

README.md

+39-21
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,34 @@
1-
[![openpilot on the comma 3X](https://github.com/commaai/openpilot/assets/8762862/f09e6d29-db2d-4179-80c2-51e8d92bdb5c)](https://comma.ai/shop/comma-3x)
1+
<div align="center" style="text-align: center;">
2+
3+
<h1>openpilot</h1>
4+
5+
<p>
6+
<b>openpilot is an operating system for robotics.</b>
7+
<br>
8+
Currently, it upgrades the driver assistance system in 275+ supported cars.
9+
</p>
10+
11+
<h3>
12+
<a href="https://docs.comma.ai">Docs</a>
13+
<span> · </span>
14+
<a href="https://docs.comma.ai/contributing/roadmap/">Roadmap</a>
15+
<span> · </span>
16+
<a href="https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md">Contribute</a>
17+
<span> · </span>
18+
<a href="https://discord.comma.ai">Community</a>
19+
<span> · </span>
20+
<a href="https://comma.ai/shop">Try it on a comma 3X</a>
21+
</h3>
22+
23+
Quick start: `bash <(curl -fsSL openpilot.comma.ai)`
224

3-
What is openpilot?
4-
------
25+
![openpilot tests](https://github.com/commaai/openpilot/actions/workflows/selfdrive_tests.yaml/badge.svg)
26+
[![codecov](https://codecov.io/gh/commaai/openpilot/branch/master/graph/badge.svg)](https://codecov.io/gh/commaai/openpilot)
27+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
28+
[![X Follow](https://img.shields.io/twitter/follow/comma_ai)](https://x.com/comma_ai)
29+
[![Discord](https://img.shields.io/discord/469524606043160576)](https://discord.comma.ai)
530

6-
[openpilot](http://github.com/commaai/openpilot) is an open source driver assistance system. Currently, openpilot performs the functions of Adaptive Cruise Control (ACC), Automated Lane Centering (ALC), Forward Collision Warning (FCW), and Lane Departure Warning (LDW) for a growing variety of [supported car makes, models, and model years](docs/CARS.md). In addition, while openpilot is engaged, a camera-based Driver Monitoring (DM) feature alerts distracted and asleep drivers. See more about [the vehicle integration](docs/INTEGRATION.md) and [limitations](docs/LIMITATIONS.md).
31+
</div>
732

833
<table>
934
<tr>
@@ -19,7 +44,7 @@ To start using openpilot in a car
1944
To use openpilot in a car, you need four things:
2045
1. **Supported Device:** a comma 3/3X, available at [comma.ai/shop](https://comma.ai/shop/comma-3x).
2146
2. **Software:** The setup procedure for the comma 3/3X allows users to enter a URL for custom software. Use the URL `openpilot.comma.ai` to install the release version.
22-
3. **Supported Car:** Ensure that you have one of [the 250+ supported cars](docs/CARS.md).
47+
3. **Supported Car:** Ensure that you have one of [the 275+ supported cars](docs/CARS.md).
2348
4. **Car Harness:** You will also need a [car harness](https://comma.ai/shop/car-harness) to connect your comma 3/3X to your car.
2449

2550
We have detailed instructions for [how to install the harness and device in a car](https://comma.ai/setup). Note that it's possible to run openpilot on [other hardware](https://blog.comma.ai/self-driving-car-for-free/), although it's not plug-and-play.
@@ -49,18 +74,6 @@ Safety and Testing
4974
* panda has additional hardware-in-the-loop [tests](https://github.com/commaai/panda/blob/master/Jenkinsfile).
5075
* We run the latest openpilot in a testing closet containing 10 comma devices continuously replaying routes.
5176

52-
User Data and comma Account
53-
------
54-
55-
By default, openpilot uploads the driving data to our servers. You can also access your data through [comma connect](https://connect.comma.ai/). We use your data to train better models and improve openpilot for everyone.
56-
57-
openpilot is open source software: the user is free to disable data collection if they wish to do so.
58-
59-
openpilot logs the road-facing cameras, CAN, GPS, IMU, magnetometer, thermal sensors, crashes, and operating system logs.
60-
The driver-facing camera is only logged if you explicitly opt-in in settings. The microphone is not recorded.
61-
62-
By using openpilot, you agree to [our Privacy Policy](https://comma.ai/privacy). You understand that use of this software or its related services will generate certain types of user data, which may be logged and stored at the sole discretion of comma. By accepting this agreement, you grant an irrevocable, perpetual, worldwide right to comma for the use of this data.
63-
6477
Licensing
6578
------
6679

@@ -72,9 +85,14 @@ Any user of this software shall indemnify and hold harmless Comma.ai, Inc. and i
7285
YOU ARE RESPONSIBLE FOR COMPLYING WITH LOCAL LAWS AND REGULATIONS.
7386
NO WARRANTY EXPRESSED OR IMPLIED.**
7487

75-
---
88+
User Data and comma Account
89+
------
7690

77-
<img src="https://d1qb2nb5cznatu.cloudfront.net/startups/i/1061157-bc7e9bf3b246ece7322e6ffe653f6af8-medium_jpg.jpg?buster=1458363130" width="75"></img> <img src="https://cdn-images-1.medium.com/max/1600/1*C87EjxGeMPrkTuVRVWVg4w.png" width="225"></img>
91+
By default, openpilot uploads the driving data to our servers. You can also access your data through [comma connect](https://connect.comma.ai/). We use your data to train better models and improve openpilot for everyone.
7892

79-
![openpilot tests](https://github.com/commaai/openpilot/actions/workflows/selfdrive_tests.yaml/badge.svg)
80-
[![codecov](https://codecov.io/gh/commaai/openpilot/branch/master/graph/badge.svg)](https://codecov.io/gh/commaai/openpilot)
93+
openpilot is open source software: the user is free to disable data collection if they wish to do so.
94+
95+
openpilot logs the road-facing cameras, CAN, GPS, IMU, magnetometer, thermal sensors, crashes, and operating system logs.
96+
The driver-facing camera is only logged if you explicitly opt-in in settings. The microphone is not recorded.
97+
98+
By using openpilot, you agree to [our Privacy Policy](https://comma.ai/privacy). You understand that use of this software or its related services will generate certain types of user data, which may be logged and stored at the sole discretion of comma. By accepting this agreement, you grant an irrevocable, perpetual, worldwide right to comma for the use of this data.

body/.gitignore

-15
This file was deleted.

body/README.md

-18
This file was deleted.

0 commit comments

Comments
 (0)