Skip to content

Commit

Permalink
dragonpilot beta3
Browse files Browse the repository at this point in the history
date: 2024-08-20T11:22:58
commit: dc76c1d
  • Loading branch information
dragonpilot authored and Comma Device committed Aug 20, 2024
1 parent 0f94adf commit c58f481
Show file tree
Hide file tree
Showing 613 changed files with 36,382 additions and 157,056 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ model2.png
a.out
.hypothesis

/docs_site/

*.dylib
*.DSYM
*.d
Expand Down Expand Up @@ -102,4 +104,4 @@ Pipfile
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide
.ionide
41 changes: 41 additions & 0 deletions .importlinter
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[importlinter]
root_packages =
openpilot

[importlinter:contract:1]
name = Forbid imports from openpilot.selfdrive.car to openpilot.system
type = forbidden
source_modules =
openpilot.selfdrive.car
forbidden_modules =
openpilot.system
openpilot.body
openpilot.docs
openpilot.msgq
openpilot.panda
openpilot.rednose
openpilot.release
openpilot.teleoprtc
openpilot.tinygrad
ignore_imports =
openpilot.selfdrive.car.card -> openpilot.common.realtime
openpilot.selfdrive.car.card -> openpilot.selfdrive.controls.lib.events
openpilot.selfdrive.car.interfaces -> openpilot.selfdrive.controls.lib.events
openpilot.selfdrive.car.tests.test_models -> openpilot.tools.lib.logreader
openpilot.selfdrive.car.tests.test_models -> openpilot.selfdrive.car.card
openpilot.selfdrive.car.tests.test_models -> openpilot.tools.lib.route
openpilot.selfdrive.car.tests.test_models -> openpilot.system.hardware.hw
openpilot.selfdrive.car.tests.test_models -> openpilot.selfdrive.test.helpers
openpilot.selfdrive.car.isotp_parallel_query -> openpilot.common.swaglog
openpilot.selfdrive.car.fw_versions -> openpilot.common.swaglog
openpilot.selfdrive.car.disable_ecu -> openpilot.common.swaglog
openpilot.selfdrive.car.vin -> openpilot.common.swaglog
openpilot.selfdrive.car.ecu_addrs -> openpilot.common.swaglog
openpilot.selfdrive.car.car_helpers -> openpilot.common.swaglog
openpilot.selfdrive.car.car_helpers -> openpilot.system.version
openpilot.selfdrive.car.interfaces -> openpilot.selfdrive.controls.lib.drive_helpers
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.latcontrol_angle
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.longcontrol
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.latcontrol_torque
openpilot.selfdrive.car.tests.test_car_interfaces -> openpilot.selfdrive.controls.lib.latcontrol_pid
unmatched_ignore_imports_alerting = warn
2 changes: 0 additions & 2 deletions .pytest_cache/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .pytest_cache/CACHEDIR.TAG

This file was deleted.

8 changes: 0 additions & 8 deletions .pytest_cache/README.md

This file was deleted.

1 change: 0 additions & 1 deletion .pytest_cache/v/random_order_seed

This file was deleted.

1 change: 0 additions & 1 deletion .pytest_cache/v/randomly_seed

This file was deleted.

77 changes: 74 additions & 3 deletions CHANGELOGS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,76 @@
dragonpilot beta3 0.9.8
=======================
* Up to comma.ai openpilot master branch commit 7ee9d2d1b93abb3ccba53f9552b716d3a11c2b6d (2024-07-31)
* DP HIGHLIGHT:
* [NEW] Disable Auto Update Toggle (Software Panel)
* [UPDATE] Flight Panel
* Performance improvement
* Removed shade
* Use green + yellow colour scheme
* Moved below road name
* Less elements on the screen
* Rotate compass instead of the indicator
* [UPDATE] Rainbow Path
* Performance improvement
* [UPDATE] TeToo
* Updated Taiwan Speed Camera Database (2024-07-11)
* [UPDATE] Personalized Accel Learner (PAL)
* Adjusted learning freq
* Save learnt values every minute
* [UPDATE] Dynamic End-to-End Controller
* DANGEOROUS_TTC reduce to 1.2s to rely on ACC mode more.


===============
DP FEATURE LIST
===============
* Common / Lateral
* Always on Lane Keeping Assist (ALKA)
* Configurable Lane Change Assist w/ Auto Lane Change Support
* Road Edge Detection (by rav4kumar)
* Lane Priority Mode
* Ability to use Lane Planner for lane centering instead of end to end (when lane probs are high, logic by sunnyhaibin)
* Ability to set speed limit and only activate at high speed (e.g. highway use only)
* Common / Longitudinal
* Dynamic End-to-End Controller
* On-Screen Driving Personality Button
* Speed-based Alternative Driving Personality Mode
* [TESTING] Personalized Accel Learner (PAL) - Learn and apply accel habits from driver
* Ability to set a launch boost for initial acceleration
* Ability to freeze / reset learned parameters
* Common / UI
* Flight Panel
* Rainbow Path
* Accel/Decel Indicator
* Blinker / Brake Indicator
* Common / TeToo (Map / Tē-Tôo)
* [TESTING] Display Road Name (Global, Online OSM)
* [TESTING] Display Speed Camera Warning (Global, Online OSM)
* [TESTING] Display Speed Camera Warning for Taiwan (Offline DB)
* Common / Device
* Disable Logging
* Disable Upload While On-Road (by rav4kumar)
* Display On/Off Mode
* Audible Alert Mode
* Auto Shutdown w/ Timer
* On-Road / Off-Road Switcher (Software Panel)
* Debug Console
* Delete logs button (Device Panel)
* Vehicle / Toyota
* Stop and Go Mod
* Enhanced BSM (by rav4kumar)
* Auto Door Lock/Unlock
* Zorro-Steering-Sensor (ZSS) Support (by erichMoraga)
* PCM Compensation Enhancement (by cydia2020)
* Auto Brake-Hold (by alexandreSato)
* Vehicle / VAG
* SnG for A0 Platform (by Saber422)
* Patch for Modified PQ Platform (by Saber422)
* Vehicle / HKG
* Low Speed Turn Enhancement

dragonpilot beta3 [2024-07-24]
=======================
* Up to comma.ai openpilot master branch commit cbee4421da690fa7b260f62c4a2c72ccacc6c902 (2024-07-14)
* DP HIGHLIGHT:
* [BUGFIX] Fixed Lexus IS/GS crashed issue.
Expand All @@ -26,11 +97,11 @@ DP FEATURE LIST
* On-Screen Driving Personality Button
* Speed-based Alternative Driving Personality Mode
* Common / UI
* Display Flight Panel
* Display Rainbow Path
* Flight Panel
* Rainbow Path
* Accel/Decel Indicator
* Blinker / Brake Indicator
* Common / Tē-Tôo (Map)
* Common / TeToo (Map / Tē-Tôo)
* [TESTING] Display Road Name (Global, Online OSM)
* [TESTING] Display Speed Camera Warning (Global, Online OSM)
* [TESTING] Display Speed Camera Warning for Taiwan (Offline DB)
Expand Down
60 changes: 39 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,34 @@
[![openpilot on the comma 3X](https://github.com/commaai/openpilot/assets/8762862/f09e6d29-db2d-4179-80c2-51e8d92bdb5c)](https://comma.ai/shop/comma-3x)
<div align="center" style="text-align: center;">

<h1>openpilot</h1>

<p>
<b>openpilot is an operating system for robotics.</b>
<br>
Currently, it upgrades the driver assistance system in 275+ supported cars.
</p>

<h3>
<a href="https://docs.comma.ai">Docs</a>
<span> · </span>
<a href="https://docs.comma.ai/contributing/roadmap/">Roadmap</a>
<span> · </span>
<a href="https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md">Contribute</a>
<span> · </span>
<a href="https://discord.comma.ai">Community</a>
<span> · </span>
<a href="https://comma.ai/shop">Try it on a comma 3X</a>
</h3>

Quick start: `bash <(curl -fsSL openpilot.comma.ai)`

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

[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).
</div>

<table>
<tr>
Expand All @@ -19,7 +44,7 @@ To start using openpilot in a car
To use openpilot in a car, you need four things:
1. **Supported Device:** a comma 3/3X, available at [comma.ai/shop](https://comma.ai/shop/comma-3x).
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.
3. **Supported Car:** Ensure that you have one of [the 250+ supported cars](docs/CARS.md).
3. **Supported Car:** Ensure that you have one of [the 275+ supported cars](docs/CARS.md).
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.

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.
Expand Down Expand Up @@ -49,18 +74,6 @@ Safety and Testing
* panda has additional hardware-in-the-loop [tests](https://github.com/commaai/panda/blob/master/Jenkinsfile).
* We run the latest openpilot in a testing closet containing 10 comma devices continuously replaying routes.

User Data and comma Account
------

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.

openpilot is open source software: the user is free to disable data collection if they wish to do so.

openpilot logs the road-facing cameras, CAN, GPS, IMU, magnetometer, thermal sensors, crashes, and operating system logs.
The driver-facing camera is only logged if you explicitly opt-in in settings. The microphone is not recorded.

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.

Licensing
------

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

---
User Data and comma Account
------

<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>
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.

![openpilot tests](https://github.com/commaai/openpilot/actions/workflows/selfdrive_tests.yaml/badge.svg)
[![codecov](https://codecov.io/gh/commaai/openpilot/branch/master/graph/badge.svg)](https://codecov.io/gh/commaai/openpilot)
openpilot is open source software: the user is free to disable data collection if they wish to do so.

openpilot logs the road-facing cameras, CAN, GPS, IMU, magnetometer, thermal sensors, crashes, and operating system logs.
The driver-facing camera is only logged if you explicitly opt-in in settings. The microphone is not recorded.

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.
15 changes: 0 additions & 15 deletions body/.gitignore

This file was deleted.

18 changes: 0 additions & 18 deletions body/README.md

This file was deleted.

Loading

0 comments on commit c58f481

Please sign in to comment.