Skip to content
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

Update Python Example RLIs #2901

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

sciencewhiz
Copy link
Collaborator

No description provided.

@sciencewhiz
Copy link
Collaborator Author

\inspector fix all

@sciencewhiz
Copy link
Collaborator Author

\inspector fix all

Copy link
Contributor

github-actions bot commented Jan 2, 2025

Inspector Report


Up To Date

ALL @ <source/docs/romi-robot/programming-romi.rst>
ALL @ <source/docs/software/advanced-gradlerio/code-formatting.rst>
ALL @ <source/docs/software/advanced-gradlerio/profiling-with-visualvm.rst>
ALL @ <source/docs/software/basic-programming/java-gc.rst>
ALL @ <source/docs/software/commandbased/binding-commands-to-triggers.rst>
ALL @ <source/docs/software/commandbased/command-compositions.rst>
ALL @ <source/docs/software/commandbased/commands.rst>
ALL @ <source/docs/software/commandbased/cpp-command-discussion.rst>
ALL @ <source/docs/software/commandbased/pid-subsystems-commands.rst>
ALL @ <source/docs/software/commandbased/profile-subsystems-commands.rst>
ALL @ <source/docs/software/commandbased/profilepid-subsystems-commands.rst>
ALL @ <source/docs/software/commandbased/structuring-command-based-project.rst>
ALL @ <source/docs/software/dashboards/glass/mech2d-widget.rst>
ALL @ <source/docs/software/hardware-apis/misc/addressable-leds.rst>
ALL @ <source/docs/software/hardware-apis/sensors/ultrasonics-software.rst>
ALL @ <source/docs/software/vscode-overview/creating-robot-program.rst>
ALL @ <source/docs/software/wpilib-tools/robot-simulation/physics-sim.rst>
ALL @ <source/docs/software/wpilib-tools/robot-simulation/unit-testing.rst>
ALL @ <source/docs/software/wpilib-tools/robot-simulation/unit-testing.rst>
ALL @ <source/docs/xrp-robot/programming-xrp.rst>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gettingstarted/Robot.java#L19-L25 @ <source/docs/contributing/frc-docs/style-guide.rst:104>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L50-L60 @ <source/docs/contributing/frc-docs/style-guide.rst:109>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gettingstarted/Robot.java#L19-L25 @ <source/docs/contributing/frc-docs/style-guide.rst:129>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/elevatorprofiledpid/Robot.java#L5-EOF @ <source/docs/software/advanced-controls/controllers/profiled-pidcontroller.rst:146>
wpilibcExamples/src/main/cpp/examples/ElevatorProfiledPID/cpp/Robot.cpp#L5-EOF @ <source/docs/software/advanced-controls/controllers/profiled-pidcontroller.rst:151>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/elevatortrapezoidprofile/Robot.java#L5-EOF @ <source/docs/software/advanced-controls/controllers/trapezoidal-profiles.rst:165>
wpilibcExamples/src/main/cpp/examples/ElevatorTrapezoidProfile/cpp/Robot.cpp#L5-EOF @ <source/docs/software/advanced-controls/controllers/trapezoidal-profiles.rst:170>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/statespaceflywheelsysid/Robot.java#L32-L46 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:68>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheelSysId/cpp/Robot.cpp#L17 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:77>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheelSysId/cpp/Robot.cpp#L30-L46 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:82>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/statespaceflywheel/Robot.java#L33-L46 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:115>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheel/cpp/Robot.cpp#L17 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:123>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheel/cpp/Robot.cpp#L31-L46 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:128>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/statespaceflywheel/Robot.java#L48-L58 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:164>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheelSysId/cpp/Robot.cpp#L13 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:172>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheel/cpp/Robot.cpp#L48-L53 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:177>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/statespaceflywheel/Robot.java#L59-L70 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:205>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheelSysId/cpp/Robot.cpp#L11 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:213>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheel/cpp/Robot.cpp#L55-L75 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:218>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/statespaceflywheel/Robot.java#L72-L74 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:240>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheelSysId/cpp/Robot.cpp#L15 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:248>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheel/cpp/Robot.cpp#L71-L74 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:253>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/statespaceflywheel/Robot.java#L94-L119 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:273>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheelSysId/cpp/Robot.cpp#L5-L17 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:281>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheel/cpp/Robot.cpp#L92-L114 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:286>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/statespaceflywheel/Robot.java#L48-L57 @ <source/docs/software/advanced-controls/state-space/state-space-observers.rst:94>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheel/cpp/Robot.cpp#L5-L18 @ <source/docs/software/advanced-controls/state-space/state-space-observers.rst:101>
wpilibcExamples/src/main/cpp/examples/StateSpaceFlywheel/cpp/Robot.cpp#L48-L53 @ <source/docs/software/advanced-controls/state-space/state-space-observers.rst:106>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/armsimulation/Constants.java#L15-L20 @ <source/docs/software/basic-programming/robot-preferences.rst:15>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/armsimulation/subsystems/Arm.java#L27-L29,L73-L74,L80-L83 @ <source/docs/software/basic-programming/robot-preferences.rst:19>
wpilibcExamples/src/main/cpp/examples/ArmSimulation/include/Constants.h#L30-L34 @ <source/docs/software/basic-programming/robot-preferences.rst:26>
wpilibcExamples/src/main/cpp/examples/ArmSimulation/cpp/subsystems/Arm.cpp#L12 @ <source/docs/software/basic-programming/robot-preferences.rst:30>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/armsimulation/subsystems/Arm.java#L105-L112 @ <source/docs/software/basic-programming/robot-preferences.rst:58>
wpilibcExamples/src/main/cpp/examples/ArmSimulation/cpp/subsystems/Arm.cpp#L44-L52 @ <source/docs/software/basic-programming/robot-preferences.rst:65>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/armsimulation/Robot.java#L28-L37 @ <source/docs/software/basic-programming/robot-preferences.rst:85>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/armsimulation/subsystems/Arm.java#L114-L120 @ <source/docs/software/basic-programming/robot-preferences.rst:88>
wpilibcExamples/src/main/cpp/examples/ArmSimulation/cpp/Robot.cpp#L15-L24 @ <source/docs/software/basic-programming/robot-preferences.rst:95>
wpilibcExamples/src/main/cpp/examples/ArmSimulation/cpp/subsystems/Arm.cpp#L54-L60 @ <source/docs/software/basic-programming/robot-preferences.rst:98>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/canpdp/Robot.java#L31-L34 @ <source/docs/software/can-devices/power-distribution-module.rst:37>
wpilibcExamples/src/main/cpp/examples/CANPDP/cpp/Robot.cpp#L28-L31 @ <source/docs/software/can-devices/power-distribution-module.rst:41>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/canpdp/Robot.java#L36-L38 @ <source/docs/software/can-devices/power-distribution-module.rst:56>
wpilibcExamples/src/main/cpp/examples/CANPDP/cpp/Robot.cpp#L33-L35 @ <source/docs/software/can-devices/power-distribution-module.rst:60>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/canpdp/Robot.java#L40-L52 @ <source/docs/software/can-devices/power-distribution-module.rst:75>
wpilibcExamples/src/main/cpp/examples/CANPDP/cpp/Robot.cpp#L37-L49 @ <source/docs/software/can-devices/power-distribution-module.rst:79>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/canpdp/Robot.java#L25-L29 @ <source/docs/software/can-devices/power-distribution-module.rst:96>
wpilibcExamples/src/main/cpp/examples/CANPDP/cpp/Robot.cpp#L22-L26 @ <source/docs/software/can-devices/power-distribution-module.rst:100>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/quickvision/Robot.java#L7-L19 @ <source/docs/software/vision-processing/roborio/using-the-cameraserver-on-the-roborio.rst:12>
wpilibcExamples/src/main/cpp/examples/QuickVision/cpp/Robot.cpp#L7-L8,L16-L18,L20 @ <source/docs/software/vision-processing/roborio/using-the-cameraserver-on-the-roborio.rst:17>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/intermediatevision/Robot.java#L7-L65 @ <source/docs/software/vision-processing/roborio/using-the-cameraserver-on-the-roborio.rst:36>
wpilibcExamples/src/main/cpp/examples/IntermediateVision/cpp/Robot.cpp#L5-L24,L26-L27,L32 @ <source/docs/software/vision-processing/roborio/using-the-cameraserver-on-the-roborio.rst:44>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gettingstarted/Robot.java#L7-L12 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:136>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L5-L9 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:144>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gettingstarted/Robot.java#L19-L25 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:256>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L50-L60 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:264>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L12-L13 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:299>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L17-L23 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:304>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L12-L13 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:365>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L17-L23 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:370>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L12-L13 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:416>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L17-L23 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:421>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gettingstarted/Robot.java#L27-L28,L32-L36 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:461>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L12-L13,L17-L24 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:470>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gettingstarted/Robot.java#L38-L54 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:489>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L25-L36 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:494>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gettingstarted/Robot.java#L56-L64 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:512>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L38-L45 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:517>
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/gettingstarted/Robot.java#L66-L73 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:533>
wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp#L45-L48 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:538>

Outdated - Automatically Fixed

GettingStarted/robot.py#L12-L29 @ <source/docs/contributing/frc-docs/style-guide.rst:114>
ElevatorProfiledPID/robot.py#L8-EOF @ <source/docs/software/advanced-controls/controllers/profiled-pidcontroller.rst:156>
ElevatorTrapezoidProfile/robot.py#L8-EOF @ <source/docs/software/advanced-controls/controllers/trapezoidal-profiles.rst:175>
StateSpaceFlywheelSysId/robot.py#L23-L27 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:89>
StateSpaceFlywheelSysId/robot.py#L37-L48 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:94>
StateSpaceFlywheel/robot.py#L21-L25 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:136>
StateSpaceFlywheel/robot.py#L37-L46 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:141>
StateSpaceFlywheel/robot.py#L48-L54 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:185>
StateSpaceFlywheel/robot.py#L56-L66 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:226>
StateSpaceFlywheel/robot.py#L68-L71 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:261>
StateSpaceFlywheel/robot.py#L87-L109 @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst:294>
StateSpaceFlywheel/robot.py#L48-L54 @ <source/docs/software/advanced-controls/state-space/state-space-observers.rst:113>
ArmSimulation/constants.py#L18-L23 @ <source/docs/software/basic-programming/robot-preferences.rst:37>
ArmSimulation/subsytems/arm.py#L20-L23,L37-L41 @ <source/docs/software/basic-programming/robot-preferences.rst:41>
ArmSimulation/subsytems/arm.py#L43-L50 @ <source/docs/software/basic-programming/robot-preferences.rst:72>
ArmSimulation/robot.py#L22-L28 @ <source/docs/software/basic-programming/robot-preferences.rst:105>
ArmSimulation/subsytems/arm.py#L52-L57 @ <source/docs/software/basic-programming/robot-preferences.rst:108>
CANPDP/robot.py#L34-L37 @ <source/docs/software/can-devices/power-distribution-module.rst:45>
CANPDP/robot.py#L39-L41 @ <source/docs/software/can-devices/power-distribution-module.rst:64>
CANPDP/robot.py#L43-L55 @ <source/docs/software/can-devices/power-distribution-module.rst:83>
CANPDP/robot.py#L28-L32 @ <source/docs/software/can-devices/power-distribution-module.rst:104>
QuickVision/robot.py#L8-L17 @ <source/docs/software/vision-processing/roborio/using-the-cameraserver-on-the-roborio.rst:21>
IntermediateVision/robot.py#L8-L17 @ <source/docs/software/vision-processing/roborio/using-the-cameraserver-on-the-roborio.rst:72>
IntermediateVision/vision.py#L12-L55 @ <source/docs/software/vision-processing/roborio/using-the-cameraserver-on-the-roborio.rst:79>
GettingStarted/robot.py#L8-L9 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:151>
GettingStarted/robot.py#L31-L43 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:499>
GettingStarted/robot.py#L45-L52 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:522>
GettingStarted/robot.py#L54-L58 @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst:543>

Invalid - Manual Intervention Needed

@sciencewhiz sciencewhiz marked this pull request as ready for review January 2, 2025 04:39
@jasondaming jasondaming merged commit 78c4e88 into wpilibsuite:main Jan 3, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants