-
Notifications
You must be signed in to change notification settings - Fork 9.8k
"docs: update 'Turn the Speed Blue' tutorial with new UI path and fu… #35016
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:
- Convert your PR to a draft unless it's ready to review
- Read the contributing docs
- Before marking as "ready for review", ensure:
- the goal is clearly stated in the description
- all the tests are passing
- the change is something we merge
- include a route or your device' dongle ID if relevant
docs/how-to/turn-the-speed-blue.md
Outdated
## 5. Push your fork to GitHub | ||
|
||
Click fork on GitHub. Then, push with: | ||
Click **"Fork"** on the [OpenPilot GitHub repo](https://github.com/commaai/openpilot). Then push with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Click **"Fork"** on the [OpenPilot GitHub repo](https://github.com/commaai/openpilot). Then push with: | |
Click **"Fork"** on the [openpilot GitHub repo](https://github.com/commaai/openpilot). Then push with: |
We always use lower case for openpilot
docs/how-to/turn-the-speed-blue.md
Outdated
Uninstall openpilot from your device through the settings. Then, enter the URL for your very own installer: | ||
## 6. Run your fork on your comma device | ||
|
||
Uninstall OpenPilot through the settings on your device. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again lower case
docs/how-to/turn-the-speed-blue.md
Outdated
|
||
## 7. Admire your work IRL 🚗💨 | ||
|
||
You’ve now successfully modified OpenPilot’s UI and deployed it to your own car! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again lower case
@maxime-desroches I corrected the openpilot mention to all lowercase. The pr is ready to merge. Merci pour la review ! |
This PR has had no activity for 9 days. It will be automatically closed in 2 days if there is no activity. |
Pas de trouble |
|
||
## 4. Rebuild the UI | ||
|
||
After making changes, rebuild Openpilot so your new UI is compiled: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
openpilot is always lowercase
Purpose
Update the "Turn the Speed Blue" tutorial in the OpenPilot docs to reflect recent code changes in the UI system. The original guide pointed to
selfdrive/ui/paint.cc
, which is now outdated.This change updates:
selfdrive/ui/qt/onroad/hud.cc
HudRenderer::drawText
)scons
after changesChanges Made
In
docs/TUTORIAL.md
(or the file where the tutorial is located):hud.cc
drawText()
function and how to modify theQColor(...)
line#8080FF
)Justification
paint.cc
Verification
drawText()
function inhud.cc
is the correct place to update the speed colorscons
and confirmed that speed text displays in light blue duringtools/replay/replay --demo