You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+14-1
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,22 @@ Most open source development activity is coordinated through our [Discord](https
10
10
* Make sure you have a [GitHub account](https://github.com/signup/free)
11
11
* Fork [our repositories](https://github.com/commaai) on GitHub
12
12
13
+
## Testing
14
+
15
+
### Local Testing
16
+
17
+
You can test your changes on your machine by running `run_docker_tests.sh`. This will run some automated tests in docker against your code.
18
+
19
+
### Automated Testing
20
+
21
+
All PRs are automatically checked by travis. Check out `.travis.yml` for what travis runs. Any new tests sould be added to travis.
22
+
23
+
### Code Style and Linting
24
+
25
+
Code is automatically check for style by travis as part of the automated tests. You can also run these yourself by running `check_code_quality.sh`.
26
+
13
27
## Car Ports (openpilot)
14
28
15
29
We've released a [Model Port guide](https://medium.com/@comma_ai/openpilot-port-guide-for-toyota-models-e5467f4b5fe6) for porting to Toyota/Lexus models.
16
30
17
31
If you port openpilot to a substantially new car brand, see this more generic [Brand Port guide](https://medium.com/@comma_ai/how-to-write-a-car-port-for-openpilot-7ce0785eda84). You might also be eligible for a bounty. See our bounties at [comma.ai/bounties.html](https://comma.ai/bounties.html)
| Toyota | Avalon 2016 | TSS-P | Yes | Yes<sup>2</sup>| 20mph<sup>1</sup>| 0mph | Toyota |
96
98
| Toyota | Camry 2018<sup>4</sup> | All | Yes | Stock | 0mph<sup>5</sup> | 0mph | Toyota |
97
99
| Toyota | C-HR 2017-18<sup>4</sup> | All | Yes | Stock | 0mph | 0mph | Toyota |
98
100
| Toyota | Corolla 2017-18 | All | Yes | Yes<sup>2</sup>| 20mph<sup>1</sup>| 0mph | Toyota |
101
+
| Toyota | Corolla Hatchback 2019 | All | Yes | Yes | 0mph | 0mph | Toyota |
99
102
| Toyota | Highlander 2017-18 | All | Yes | Yes<sup>2</sup>| 0mph | 0mph | Toyota |
100
103
| Toyota | Highlander Hybrid 2018 | All | Yes | Yes<sup>2</sup>| 0mph | 0mph | Toyota |
101
104
| Toyota | Prius 2016 | TSS-P | Yes | Yes<sup>2</sup>| 0mph | 0mph | Toyota |
102
105
| Toyota | Prius 2017-19 | All | Yes | Yes<sup>2</sup>| 0mph | 0mph | Toyota |
103
106
| Toyota | Prius Prime 2017-19 | All | Yes | Yes<sup>2</sup>| 0mph | 0mph | Toyota |
104
107
| Toyota | Rav4 2016 | TSS-P | Yes | Yes<sup>2</sup>| 20mph<sup>1</sup>| 0mph | Toyota |
105
108
| Toyota | Rav4 2017-18 | All | Yes | Yes<sup>2</sup>| 20mph<sup>1</sup>| 0mph | Toyota |
109
+
| Toyota | Rav4 2019 | All | Yes | Yes | 0mph | 0mph | Toyota |
106
110
| Toyota | Rav4 Hybrid 2017-18 | All | Yes | Yes<sup>2</sup>| 0mph | 0mph | Toyota |
107
111
108
112
<sup>1</sup>[Comma Pedal](https://community.comma.ai/wiki/index.php/Comma_Pedal) is used to provide stop-and-go capability to some of the openpilot-supported cars that don't currently support stop-and-go. Here is how to [build a Comma Pedal](https://medium.com/@jfrux/comma-pedal-building-with-macrofab-6328bea791e8). ***NOTE: The Comma Pedal is not officially supported by [comma.ai](https://comma.ai)***
@@ -159,6 +163,7 @@ Directory structure
159
163
├── pyextra # Libraries used on EON
160
164
└── selfdrive # Code needed to drive the car
161
165
├── assets # Fonts and images for UI
166
+
├── athena # Allows communication with the app
162
167
├── boardd # Daemon to talk to the board
163
168
├── can # Helpers for parsing CAN messages
164
169
├── car # Car specific code to read states and control actuators
@@ -169,7 +174,6 @@ Directory structure
169
174
├── logcatd # Android logcat as a service
170
175
├── loggerd # Logger and uploader of car data
171
176
├── mapd # Fetches map data and computes next global path
172
-
├── orbd # Computes ORB features from frames
173
177
├── proclogd # Logs information from proc
174
178
├── sensord # IMU / GPS interface code
175
179
├── test # Car simulator running code through virtual maneuvers
0 commit comments