Skip to content

Commit b05afdb

Browse files
authored
Merge branch 'main' into fix_more_links
2 parents 5b6f6fb + fbe99ca commit b05afdb

File tree

9 files changed

+96
-87
lines changed

9 files changed

+96
-87
lines changed

docs/source/contrib/tutorials/setup/setup.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ Steps
2424
.. tab-item:: Windows
2525

2626
1. Install `Chocolatey <https://docs.chocolatey.org/en-us/choco/setup>`_.
27-
2. Install Python 3.9 or later from the `Python website <https://www.python.org/downloads/>`_. **Make sure to check the box that says "Add Python to PATH".**
27+
2. Install Python 3.9-3.12 from the `Python website <https://www.python.org/downloads/windows/>`_. **Make sure to check the box that says "Add Python to PATH".**
2828
3. Install Pip. ``python -m ensurepip``
2929
4. Install Git. ``choco install git``
3030
5. Install Make. ``choco install make``
3131
6. Install the lastest version of VS Code. ``choco install vscode``
3232

3333
.. tab-item:: Linux/Mac
3434

35-
1. Install Python 3.9 or later. You can download it from the `Python website <https://www.python.org/downloads/>`_.
35+
1. Install Python 3.9-3.12. You can download it from the Python website: `macOS <https://www.python.org/downloads/macos/>`_, `Linux <https://www.python.org/downloads/source/>`_.
3636
2. Install the latest version of `Pip <https://pip.pypa.io/en/stable/installation/>`_.
3737
3. Install Git from the `Git website <https://git-scm.com/downloads>`_.
3838
4. Install `Make <https://www.gnu.org/software/make/>`_ .

docs/source/hardware_and_software_configuration/configuring/managing_esd/managing-esd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ to view an in-depth white paper, written by Mr. Eric Chin (a *FIRST*
1515
alumnus and a 2018 summer engineering intern), which examines and
1616
quantifies the efficacy of various ESD mitigation techniques:
1717

18-
`ESD Mitigation Techniques For FTC (PDF 1.7MB) <https://www.firstinspires.org/sites/default/files/uploads/resource_library/ftc/analysis-esd-mitigation-echin.pdf>`__
18+
* :download:`ESD Mitigation Techniques For FTC (PDF 1.7MB) <files/analysis-esd-mitigation-echin.pdf>`
1919

2020
Special thanks to Doug Chin, Eric Chin, and Greg Szczeszynski for the work they
2121
did to model the problems caused by ESD and to evaluate different techniques to

docs/source/programming_resources/tutorial_specific/android_studio/installing_android_studio/Installing-Android-Studio.rst

Lines changed: 4 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ and install Android Studio:
4949

5050
* https://developer.android.com/studio
5151

52-
Click on the green "DOWNLOAD ANDROID STUDIO" button to start the
52+
Click on the white "Download Android Studio <latest version>" button to start the
5353
download process.
5454

5555
.. image:: images/DownloadAndroidStudio.jpg
@@ -58,9 +58,9 @@ download process.
5858

5959
|
6060
61-
Accept the license terms and then push the blue "DOWNLOAD ANDROID
62-
STUDIO" button on the Android Developer webpage to download the
63-
software.
61+
Accept the license terms and then push the white "Download Android
62+
Studio <latest version> for <operating system>" button on the Android
63+
Developer webpage to download the software.
6464

6565
Once the setup package has downloaded, launch the application and follow
6666
the on-screen instructions to install Android Studio.
@@ -70,81 +70,3 @@ the on-screen instructions to install Android Studio.
7070
:alt: Android Studio Setup screen
7171

7272
|
73-
74-
Configuring Android Studio (Ladybug and later)
75-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76-
77-
.. note::
78-
79-
See the Caution above for why this is necessary.
80-
81-
.. note::
82-
83-
Android Studio Ladybug updates the underlying JetBrains IntelliJ version such that
84-
the interface is a VSCode look alike. The screenshots in this documentation use the
85-
JetBrains/Android Studio Classic UI which is no longer supported natively by JetBrains.
86-
To follow along, users should install the `Classic UI <https://plugins.jetbrains.com/plugin/24468-classic-ui>`__ plugin.
87-
88-
89-
#. `Install JDK 17 <https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html>`__
90-
If you did not already have this installed independently of Android Studio.
91-
e.g. If you were using Android Studio’s bundled JDK, then when Ladybug is installed Android Studio
92-
will unhelpfully overwrite your old bundled JDK version. Note there’s a bug in the Settings -> Build Tools -> Gradle dialog
93-
that may make you think your old version of the JDK is there, but it is not. You must use an unbundled version of the JDK.
94-
95-
#. Go to File -> Settings and under Build, Execution, Deployment -> Build Tools -> Gradle use the Add JDK from disk option
96-
to select the newly installed JDK 17. In the image below take careful note of the directory paths
97-
for the options labeled jbr-17 and jbr-21. Note that they are the same. This is the aforementioned UI bug,
98-
and that is Android Studio overwriting your old JDK. In this image you’ll see I’ve selected the JDK that
99-
was installed independently.
100-
101-
.. image:: images/AndroidStudioSelectJdk.png
102-
:align: center
103-
:alt: Gradle setting screenshot
104-
105-
|
106-
107-
Do Not Upgrade Gradle
108-
~~~~~~~~~~~~~~~~~~~~~
109-
110-
If you have upgraded Android Studio from an earlier version to Ladybug, or you did not install and
111-
configure the JDK prior to loading a FtcRobotController workspace, then Android Studio may present an
112-
error and recommend that you upgrade Gradle.
113-
114-
.. image:: images/AndroidStudioUpgradeGradle.png
115-
:align: center
116-
:alt: Screenshot showing Gradle upgrade messages.
117-
118-
|
119-
120-
Do not upgrade Gradle. The FtcRobotController build is incompatible with upgraded Gradle. If you do, you
121-
will presented with another, even more, indecipherable error.
122-
123-
To recover, you need to rollback the changes that Android Studio made upon that click.
124-
To do that select Git -> Uncommitted Changes -> Show Shelf
125-
126-
.. image:: images/AndroidStudioRecoverUpgrade.png
127-
:align: center
128-
:alt: Screenshot showing the Show Shelf messages.
129-
130-
|
131-
132-
That will show the changes you have in your workspace. You want to rollback the 4 Gradle files shown in the
133-
following image. You can either select the Changes checkbox to select all files, or individually select the
134-
Gradle files. Note that if you have changes in your workspace that haven’t been committed, you want to be
135-
careful not to select those files or you may lose work.
136-
137-
.. image:: images/AndroidStudioRollback.png
138-
:align: center
139-
:alt: Screenshot showing the four files to be rolled back.
140-
141-
|
142-
143-
Once you have the proper files selected, click the Rollback button.
144-
145-
Resync and that should revert you to the error that prompted you to upgrade Gradle in the first place.
146-
From there follow the instructions above to install JDK 17.
147-
148-
149-
150-
61.8 KB
Loading

docs/source/tech_tips/tech-tips.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,21 @@ there is more content than is reasonable in the email blast so partial content
99
is included in the blast with the rest of the content here. Blasts are ordered
1010
on this page chronologically, with the newest content at the top of the page.
1111

12-
Just click to expand the Tech Tip you'd like to read.
12+
Just click on the tech tip to read (in the "Updated Tech Tips" list below), or
13+
expand the Tech Tip (in the "Legacy Tech Tips" list) you'd like to read.
14+
15+
Updated Tech Tips:
16+
------------------
17+
18+
.. toctree::
19+
:maxdepth: 1
20+
21+
tech-tips/tech-tip-practice-timer/tech-tip-practice-timer
22+
23+
Legacy Tech Tips:
24+
-----------------
1325

1426
.. dropdown:: Week of 11/06/2024 "Android Studio 2024.2.1 LadyBug Update and the FTC SDK"
15-
:open:
1627

1728
.. _ladybug1011:
1829

242 KB
Loading
347 KB
Loading
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
FTC Driver Station Practice Timer
2+
=================================
3+
4+
Started in the 2023-2024 season, Tech Tips are segments released in the
5+
*FIRST* Tech Challenge `Team E-mail Blast
6+
<https://www.firstinspires.org/resource-library/ftc/team-blast-archive>`__.
7+
Sometimes the Tech Tips are included in whole in the email blast, but sometimes
8+
there is more content than is reasonable in the email blast so partial content
9+
is included in the blast with the rest of the content here.
10+
11+
.. _practicetimer:
12+
13+
**FTC Driver Station Practice Timer**
14+
15+
Did you know there's a powerful tool lurking within your FTC Driver Station App,
16+
designed to help your team dominate match timing? Forget the need for complex
17+
event software – your Driver Station has a built-in Practice Match timer that
18+
simulates the entire match flow, or any part of it!
19+
Imagine perfecting your autonomous routine, nailing the Auto-TeleOp transition,
20+
or optimizing your endgame strategy, all without the pressure of a real
21+
competition. This (not so) hidden gem allows teams to practice match timing for
22+
every critical phase:
23+
24+
* Autonomous - Fine-tune your robot's pre-programmed actions.
25+
* Auto-TeleOp Transition - Seamlessly swap control from autonomous to TeleOp.
26+
* TeleOp - Maximize your scoring potential during the main TeleOp period.
27+
* Endgame - Strategize and execute your final, high-scoring moves.
28+
29+
This feature is a game-changer for practice sessions, allowing your team to build
30+
muscle memory and confidence in a realistic, simulated environment.
31+
Ready to unlock your team's full potential?
32+
33+
*How does it work?* In the upper-left corner of the Driver Station App you will
34+
see the "Practice Timer Window". This has the heading "Practice Timer" and has
35+
the remaining time (in a possible practice match) as well as a "PLAY" button.
36+
This Practice Timer area is always visible regardless of what OpModes are
37+
running or any other activities (on the same screen). This Practice Timer also
38+
runs independently of other activities, therefore OpModes can be selected,
39+
started, stopped, reselected, and so on while the Practice Timer is running
40+
without affecting the timer.
41+
42+
.. figure:: images/practice-timer.png
43+
:align: center
44+
:width: 75%
45+
:alt: Image showing Practice Timer Window
46+
47+
Practice Timer Window
48+
49+
.. tip::
50+
The Practice Timer uses audio for cues, be sure the audio is enabled and
51+
at sufficient volume to hear the cues for match transitions.
52+
53+
Press the tiny "Play" button in the Practice Timer window, and the software
54+
will prompt where in the match to start the timer at. Options are:
55+
56+
* Autonomous
57+
* Auto -> TeleOp Transition
58+
* TeleOp
59+
* Endgame (30s endgame, not updated for DECODE)
60+
61+
.. note::
62+
The *Autonomous* and *Transition* periods have audio cues that give the user
63+
time to select and start OpModes in sync with the match transition, whereas
64+
the other options start as soon as the option is selected.
65+
66+
.. figure:: images/practice-timer-selection.png
67+
:align: center
68+
:width: 75%
69+
:alt: Image of Driver Station match period selection screen
70+
71+
Selecting the Practice Match starting Match Period
72+
73+
Got any questions about how to take advantage of the Practice Timer and other
74+
features of the FTC Driver Station App? Come start or join the conversation
75+
on the `FTC Community Forums <https://ftc-community.firstinspires.org/>`__!
76+

0 commit comments

Comments
 (0)