Docs: Move HOW-TOS to `master` (#387)
* HOW-TOS.md: Instructions to enable radar tracks * HOW-TOS.md: Instructions to enable radar tracks and openpilot Longitudinal Control * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * README: Enable Radar Tracks (#17) * HOW-TOS: Update HKG enable radar tracks instructions (#24) * Update radar tracks instructions * Update HKG enable radar tracks instructions * Update HOW-TOS.md * Update HOW-TOS.md * HOW-TOS: Update enable openpilot Longitudinal Control instructions (#29) * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Update HOW-TOS.md * Added How-To for Enabling Mapbox Navigation (#78) * Readme 2.0 (#84) * Readme 2.0 • Add collapsible sections in an effort to make the readme page more digestible for first time readers. • Proposed rewording for the following sections: • Join our Discord • Safety Modifications • Prettify layout * Update README.md * Update README.md * Update README.md * Update README.md spelling corrections * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md Moved Prohibited Safety Modifications into it's own section * Update README.md Reduced clickable text for hyperlink branches. Added comma.ai link to safety policy. * Update README.md * Update README.md * Update README.md * Prettify • Make main headings expandable • Rework installation section (undecided yet) * Update README.md Make table of contents uniform * Update README.md * Update README.md Tidy up installation section * Update Driving Enhancements something is preventing self linking after [**Gap Adjust Cruise (GAC)**](#gap-adjust-cruise) * Quality of life Enhancements Added more to the list * Add e2e path colour * Fix How-To link * Add comma two recommended branch * Discrete discord badge * Update installation instructions * Make sections mobile friendly `h2` -> h3 * Update `Features:` reword and make use of footnotes * Less is more, updated branch with search query * 0.8.12 will work on comma three as well * Tweak OSM feature and add footnote * update menu reference * DLP footnote * Delete CHANGELOGS.md Not needed seen as README directs to live / updated changelog per branch * Delete FEATURES.md Double up / already exists in README * Update HOW-TOS.md Make styling consistent, no information changed * Difference format for installation block * Spelling * Update README.md Add VW/Audi/Skoda and reword what SP is for * Update README.md bounds -> parameters * Update README.md Update installation URL with shortened URL + reword. Include footnote * Update README.md Reword `GAC` * Update README.md * Update README.md Spacing * Update README.md less is more * Update README.md Remove DLP footnote, add NZ to Offline OSM * Update README.md Prettify change logs - link to a change log for `0.8.12-prod` branch instead of search * Update README.md Refactor QOL section. Focus more on "function of" vs "how-to". * Update README.md Refactor Visual Enhancements * Driving Enhancements rework * Additional -> Miscellaneous * Spelling + grammar check * Replace sirens with triangles * Always show donation, updated Special Thanks * 📡 * Update README.md Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com> * Update README.md Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com> * Fix how-to's * Update README.md * Discord badge to show total members * Update README.md * Small cleanup and additions Signed-off-by: Jason Wen <haibin.wen3@gmail.com> * Don't miss this Signed-off-by: Jason Wen <haibin.wen3@gmail.com> * someday Signed-off-by: Jason Wen <haibin.wen3@gmail.com> * No longer needed Signed-off-by: Jason Wen <haibin.wen3@gmail.com> * Take it out Signed-off-by: Jason Wen <haibin.wen3@gmail.com> * Less sunny Signed-off-by: Jason Wen <haibin.wen3@gmail.com> --------- Signed-off-by: Jason Wen <haibin.wen3@gmail.com> Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com> Co-authored-by: Jason Wen <haibin.wen3@gmail.com> * Update HOW-TOS.md * Simplify README installation instructions Consolidated the installation command for the `release-c3` branch and removed redundant instructions for unsupported comma two. Also updated the How-To, removing the old branch that caused a huge size on the repo. * Remove comma two installation instructions This update cleans up the README by removing outdated installation instructions for the comma two device. It makes the documentation more concise and focused on current requirements and devices. --------- Signed-off-by: Jason Wen <haibin.wen3@gmail.com> Co-authored-by: sunnyhaibin <haibin.wen3@gmail.com> Co-authored-by: Brandon Bennett <56660362+bbennett80@users.noreply.github.com> Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com> Co-authored-by: tango2590 <78666662+tango2590@users.noreply.github.com> Co-authored-by: Moodkiller <appleipodsrock@gmail.com>
This commit is contained in:
parent
bdb733ddc9
commit
57daa151cb
|
@ -0,0 +1,77 @@
|
|||
# How Tos
|
||||
This page is a repository of useful how-tos as a supplement for additional information.
|
||||
|
||||
Table of Contents
|
||||
=======================
|
||||
|
||||
* [Radar Tracks](#Radar-Tracks)
|
||||
* [Enable Radar Tracks](#-Enable-Radar-Tracks)
|
||||
* [Enable Mapbox Navigation](#-Enable-Mapbox-Navigation)
|
||||
|
||||
---
|
||||
|
||||
<details><summary><h3>📡 Radar Tracks</h3></summary>
|
||||
|
||||
Radar tracks can now be enabled manually on applicable cars through SSH thanks to [@greghogan](https://github.com/greghogan) and [@pd0wm](https://github.com/pd0wm).
|
||||
|
||||
Some Hyundai radars can be reconfigured to output (debug) radar points on bus 1.
|
||||
Reconfiguration is done over UDS by reading/writing to 0x0142 using the Read/Write Data By Identifier
|
||||
endpoints (0x22 & 0x2E). This script checks your radar firmware version against a list of known
|
||||
firmware versions. If you want to try on a new radar, make sure to note the default config value
|
||||
in case it is different from the other radars and you need to revert the changes.
|
||||
After changing the config the car should not show any faults when openpilot is not running.
|
||||
These config changes are persistent across car reboots. You need to run this script again
|
||||
to go back to the default values.
|
||||
|
||||
**USE AT YOUR OWN RISK!** Stock system safety features, like AEB and FCW, might be affected by these changes.
|
||||
|
||||
**How radar points can be used along with vision:**
|
||||
* Current OP long policy is identify with vision first, if vision sees a vehicle match it to a radar point. If vision sees nothing you get a false negative and no lead car detection. (Source: [Hubblesphere#7894 from comma.ai community Discord](https://discord.com/channels/469524606043160576/872899198738104330/872913890793635872))
|
||||
|
||||
### 🚨 Enable Radar Tracks
|
||||
|
||||
***(EXPERIMENTAL, as of January 1st, 2022)***
|
||||
|
||||
***(Only applicable to some Hyundai, Kia, and Genesis cars, as of January 1st, 2022)***
|
||||
|
||||
*(Base on version 0.8.12 [`devel`](https://github.com/commaai/openpilot/tree/devel))*
|
||||
|
||||
**USE AT YOUR OWN RISK!** Stock system safety features, like AEB and FCW, might be affected by these changes.
|
||||
|
||||
1. Ensure the car is at the `OFF` ignition position.
|
||||
2. Connect your compatible comma device (EON, C2, C3) to the car. comma device power should be ON.
|
||||
3. Use a laptop or applicable device to connect to your comma device via SSH. (Tips: Instructions to SSH in [HERE](https://github.com/commaai/openpilot/wiki/SSH))
|
||||
4. In the SSH terminal after successfully connected to your comma device, execute the following commands:
|
||||
1. `pkill -f openpilot`
|
||||
2. `python /data/openpilot/selfdrive/debug/hyundai_enable_radar_points.py`
|
||||
3. Follow the instructions in the script:
|
||||
* `Power on the vehicle keeping the engine off (press start button twice) then type OK to continue`.
|
||||
* If successful, the following message should appear: `[DONE]. Restart your vehicle and ensure there are no faults`.
|
||||
* If the script did not run successfully, reach out to the community in [Sunnyhaibin's Openpilot Discord Server](https://discord.gg/wRW3meAgtx) or `#hyundai-kia-genesis channel` on [commaai community Discord Server](https://discord.comma.ai) for assistance.
|
||||
4. Reboot your comma device:
|
||||
1. C3: `sudo reboot`
|
||||
2. C2 or EON: `reboot`
|
||||
5. Once your comma device is rebooted, start your car with engine on (with or without comma device connected). Ensure that there are no faults from the car. If there are faults, reach out to the community in [Sunnyhaibin's Openpilot Discord Server](https://discord.gg/wRW3meAgtx) or `#hyundai-kia-genesis channel` on [commaai community Discord Server](https://discord.comma.ai) for assistance.
|
||||
6. Go for a quick drive and drive behind a lead car with varied follow distance. Then, come back and allow the drive to upload its `rlogs` in [comma Connect](https://connect.comma.ai).
|
||||
7. With all `rlogs` uploaded, open the drive in Cabana from [comma Connect](https://connect.comma.ai). Load DBC -> `hyundai_kia_mando_front_radar.dbc`, then search `RADAR_TRACK_50x` (`x` could be anything), open any of them, and look at `LONG_DIST`.
|
||||
8. If the radar tracks data is relevant with the lead car you drove behind, you are done! Your car now have radar tracks enabled.
|
||||
</details>
|
||||
|
||||
<details><summary><h3>🗺 Enable Mapbox Navigation</h3></summary>
|
||||
|
||||
1) Create a free mapbox account. Account will ask for a credit card for verification. You will not be charged for the free tier.
|
||||
2) On the Dashboard, you will see a section called Access Tokens. Click `Create a Token`. Name it whatever you like. Set the scopes to allow everything for both Public and Secret. Copy both of these keys. **YOU WON'T BE ABLE TO ACCESS THE SECRET KEY AFTER THIS WINDOW.**
|
||||
3) Once rebooted, connect your C3 to a network with internet access and find the C3’s IP address.
|
||||
4) In a browser, navigate to that IP with **port 8082** (i.e 192.168.1.69:8082). You should be greeted with the Comma logo and a public key input field.
|
||||
5) Paste your Public token (pk.xx), click enter, paste your Secret key (sk.xx), click enter. You can now search for places. This page will be available at your devices’s IP address/port 8082 to search for destinations.
|
||||
6) To set Home and Work addresses, search for a place, select Home/Work from the dropdown and click Navigate. For non-Home/Work destinations, select Recent Places.<br>*At this time, it is not possible to search directly on the C3.*
|
||||
|
||||
**TIPS:**
|
||||
- If your C3 is showing a black screen that says “Map Loading”, performing a reboot via the UI should fix it.
|
||||
- If your phone can create a Hotspot, you are able to connect the C3 to your phone hotspot and use your phone browser to search for places.
|
||||
- In the Navigation panel on the C3, you can select Home, Work, and from a list of Recent Places you have navigated to without needing a browser (assuming the C3 is connected to the internet.)
|
||||
|
||||
**IMPORTANT NOTE:** Your C3 will require an active internet connection to download map data, generate driving directions, and ETA. Once map data and directions are downloaded, it *is* possible to use it offline, however nothing will update (such as new driving direction after a missed turn, updated ETA, map data further into your drive etc.)
|
||||
|
||||
***NAVIGATION NOTE:** At this time, mapbox does not support alphanumeric addresses (i.e W123N1234 Main St). There is currently no known workaround for this.*
|
||||
</details>
|
33
README.md
33
README.md
|
@ -48,7 +48,6 @@ Join the official sunnypilot Discord server to stay up to date with all the late
|
|||
To use sunnypilot in a car, you need the following:
|
||||
* A supported device to run this software
|
||||
* a [comma three](https://comma.ai/shop/products/three), or
|
||||
* a comma two (only with older versions below 0.8.13)
|
||||
* This software
|
||||
* One of [the 250+ supported cars](https://github.com/commaai/openpilot/blob/master/docs/CARS.md). We support Honda, Toyota, Hyundai, Nissan, Kia, Chrysler, Lexus, Acura, Audi, VW, Ford and more. If your car is not supported but has adaptive cruise control and lane-keeping assist, it's likely able to run sunnypilot.
|
||||
* A [car harness](https://comma.ai/shop/products/car-harness) to connect to your car
|
||||
|
@ -115,40 +114,12 @@ Please refer to [Recommended Branches](#-recommended-branches) to find your pref
|
|||
|
||||
Requires further assistance with software installation? Join the [sunnypilot Discord server](https://discord.sunnypilot.com) and message us in the `#installation-help` channel.
|
||||
|
||||
comma two
|
||||
------
|
||||
|
||||
1. [Factory reset/uninstall](https://github.com/commaai/openpilot/wiki/FAQ#how-can-i-reset-the-device) the previous software if you have another software/fork installed.
|
||||
2. After factory reset/uninstall and upon reboot, select `Custom Software` when given the option.
|
||||
3. Input the installation URL per [Recommended Branches](#-recommended-branches). Example: ```https://smiskol.com/fork/sunnyhaibin/0.8.12-4-prod```
|
||||
4. Complete the rest of the installation following the onscreen instructions.
|
||||
|
||||
Requires further assistance with software installation? Join the [sunnypilot Discord server](https://discord.sunnypilot.com) and message us in the `#installation-help` channel.
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>SSH (More Versatile)</summary>
|
||||
<br>
|
||||
|
||||
Prerequisites: [How to SSH](https://github.com/commaai/openpilot/wiki/SSH)
|
||||
|
||||
If you are looking to install sunnypilot via SSH, run the following command in an SSH terminal after connecting to your device:
|
||||
|
||||
comma three:
|
||||
------
|
||||
* [`release-c3`](https://github.com/sunnyhaibin/openpilot/tree/release-c3):
|
||||
|
||||
```
|
||||
cd /data; rm -rf ./openpilot; git clone -b release-c3 --recurse-submodules https://github.com/sunnyhaibin/sunnypilot.git openpilot; cd openpilot; sudo reboot
|
||||
```
|
||||
|
||||
comma two:
|
||||
------
|
||||
* [`0.8.12-prod-personal-hkg`](https://github.com/sunnyhaibin/openpilot/tree/0.8.12-prod-personal-hkg):
|
||||
|
||||
```
|
||||
cd /data; rm -rf ./openpilot; git clone -b 0.8.12-prod-personal-hkg --recurse-submodules https://github.com/sunnyhaibin/sunnypilot.git openpilot; cd openpilot; sudo reboot
|
||||
cd /data && rm -rf ./openpilot && git clone -b release-c3 --recurse-submodules https://github.com/sunnyhaibin/sunnypilot.git openpilot && cd openpilot && sudo reboot
|
||||
```
|
||||
|
||||
After running the command to install the desired branch, your comma device should reboot.
|
||||
|
@ -355,7 +326,7 @@ Example:
|
|||
|
||||
---
|
||||
|
||||
How-To instructions can be found in [HOW-TOS.md](https://github.com/sunnyhaibin/openpilot/blob/(!)README/HOW-TOS.md).
|
||||
How-To instructions can be found in [HOW-TOS.md](HOW-TOS.md).
|
||||
|
||||
</details>
|
||||
|
||||
|
|
Loading…
Reference in New Issue