Skip to content

Commit b9a383d

Browse files
sciencewhizgithub-actions
andauthored
Update Python RLIs for 2024.2.1.0 (#2556)
--------- Co-authored-by: github-actions <[email protected]>
1 parent 3268ce8 commit b9a383d

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/inspector.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{
1414
"baseUrl": "https://raw.githubusercontent.com/robotpy/examples/",
1515
"versionScheme": "\\d{4}\\.\\d\\.\\d\\.\\d(?:-(?:alpha|beta)-\\d)?|[0-9a-f]{40}",
16-
"latestVersion": "c6d0540b01e138725fad7366ff4e317e9994b78b"
16+
"latestVersion": "86d7ba698fbb1489960690af4ee25d6c119dd463"
1717
},
1818
{
1919
"baseUrl": "https://raw.githubusercontent.com/wpilibsuite/vscode-wpilib/",

source/docs/software/basic-programming/robot-preferences.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ Initializing Preferences
3636
.. tab-item:: Python
3737
:sync: Python
3838

39-
.. rli:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/ArmSimulation/constants.py
39+
.. rli:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/ArmSimulation/constants.py
4040
:language: python
4141
:lines: 18-23
4242

43-
.. rli:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/ArmSimulation/subsytems/arm.py
43+
.. rli:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/ArmSimulation/subsytems/arm.py
4444
:language: python
4545
:lines: 20-23,37-41
4646

@@ -72,7 +72,7 @@ Reading Preferences
7272
.. tab-item:: Python
7373
:sync: Python
7474

75-
.. rli:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/ArmSimulation/subsytems/arm.py
75+
.. rli:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/ArmSimulation/subsytems/arm.py
7676
:language: python
7777
:lines: 43-50
7878

@@ -105,10 +105,10 @@ Depending on the data that is stored in preferences, you can use it when you rea
105105
.. tab-item:: Python
106106
:sync: Python
107107

108-
.. rli:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/ArmSimulation/robot.py
108+
.. rli:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/ArmSimulation/robot.py
109109
:language: python
110110
:lines: 22-28
111-
.. rli:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/ArmSimulation/subsytems/arm.py
111+
.. rli:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/ArmSimulation/subsytems/arm.py
112112
:language: python
113113
:lines: 52-57
114114

source/docs/software/vision-processing/roborio/using-the-cameraserver-on-the-roborio.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The following program starts automatic capture of a USB camera like the Microsof
2121
:language: c++
2222
:lines: 7-8, 16-18, 20, 25-31
2323

24-
.. rli:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/QuickVision/robot.py
24+
.. rli:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/QuickVision/robot.py
2525
:language: python
2626
:lines: 8-17
2727
:linenos:
@@ -73,14 +73,14 @@ In the following example a thread created in robotInit() gets the Camera Server
7373

7474
Here's what your ``robot.py`` needs to contain to launch the image processing process:
7575

76-
.. rli:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/IntermediateVision/robot.py
76+
.. rli:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/IntermediateVision/robot.py
7777
:language: python
7878
:lines: 8-17
7979
:linenos:
8080

8181
The ``launch("vision.py")`` function says to launch ``vision.py`` and call the ``run`` function in that file. Here's what is in ``vision.py``:
8282

83-
.. rli:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/IntermediateVision/vision.py
83+
.. rli:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/IntermediateVision/vision.py
8484
:language: python
8585
:lines: 12-55
8686
:linenos:

source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Imports/Includes
156156

157157
.. tab-item:: Python
158158

159-
.. remoteliteralinclude:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/GettingStarted/robot.py
159+
.. remoteliteralinclude:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/GettingStarted/robot.py
160160
:language: python
161161
:lines: 8-9
162162
:linenos:
@@ -436,7 +436,7 @@ Simple Autonomous Example
436436
:linenos:
437437
:lineno-start: 25
438438
439-
.. remoteliteralinclude:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/GettingStarted/robot.py
439+
.. remoteliteralinclude:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/GettingStarted/robot.py
440440
:language: python
441441
:lines: 31-43
442442
:linenos:
@@ -463,7 +463,7 @@ Joystick Control for Teleoperation
463463
:linenos:
464464
:lineno-start: 38
465465
466-
.. remoteliteralinclude:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/GettingStarted/robot.py
466+
.. remoteliteralinclude:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/GettingStarted/robot.py
467467
:language: python
468468
:lines: 45-52
469469
:linenos:
@@ -488,7 +488,7 @@ Test Mode
488488
:linenos:
489489
:lineno-start: 45
490490
491-
.. remoteliteralinclude:: https://raw.githubusercontent.com/robotpy/examples/c6d0540b01e138725fad7366ff4e317e9994b78b/GettingStarted/robot.py
491+
.. remoteliteralinclude:: https://raw.githubusercontent.com/robotpy/examples/86d7ba698fbb1489960690af4ee25d6c119dd463/GettingStarted/robot.py
492492
:language: python
493493
:lines: 54-58
494494
:linenos:

0 commit comments

Comments
 (0)