Skip to content

Update Creating Test Drivetrain for Python & Alpha 7 - #3343

Open
awallis06 wants to merge 16 commits into
wpilibsuite:mainfrom
awallis06:creatingtestdrivetrainpython
Open

awallis06 wants to merge 16 commits into
wpilibsuite:mainfrom
awallis06:creatingtestdrivetrainpython

Conversation

@awallis06

Copy link
Copy Markdown
Contributor

No description provided.

@awallis06
awallis06 requested a review from sciencewhiz August 13, 2026 14:21

@sciencewhiz sciencewhiz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to split up the code updates from project stuff, as that won't be relevant until the vscode extension python support lands

@sciencewhiz

Copy link
Copy Markdown
Collaborator

\inspector fix all

@sciencewhiz
sciencewhiz force-pushed the creatingtestdrivetrainpython branch from 1494518 to c3dfb79 Compare September 5, 2026 21:10
@sciencewhiz

Copy link
Copy Markdown
Collaborator

\inspector check all

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Inspector Report


Up To Date

Details
ALL @ <source/docs/contributing/wpilib-docs/style-guide.rst>
ALL @ <source/docs/romi-robot/programming-romi.rst>
ALL @ <source/docs/software/advanced-controls/controllers/profiled-pidcontroller.rst>
ALL @ <source/docs/software/advanced-controls/controllers/trapezoidal-profiles.rst>
ALL @ <source/docs/software/advanced-controls/state-space/state-space-flywheel-walkthrough.rst>
ALL @ <source/docs/software/advanced-controls/state-space/state-space-observers.rst>
ALL @ <source/docs/software/advanced-gradlerio/profiling-with-visualvm.rst>
ALL @ <source/docs/software/basic-programming/deploy-directory.rst>
ALL @ <source/docs/software/basic-programming/java-gc.rst>
ALL @ <source/docs/software/basic-programming/opmodes.rst>
ALL @ <source/docs/software/commandbased/commands-v2/binding-commands-to-triggers.rst>
ALL @ <source/docs/software/commandbased/commands-v2/command-compositions.rst>
ALL @ <source/docs/software/commandbased/commands-v2/commands.rst>
ALL @ <source/docs/software/commandbased/commands-v2/cpp-command-discussion.rst>
ALL @ <source/docs/software/commandbased/commands-v2/pid-subsystems-commands.rst>
ALL @ <source/docs/software/commandbased/commands-v2/profile-subsystems-commands.rst>
ALL @ <source/docs/software/commandbased/commands-v2/profilepid-subsystems-commands.rst>
ALL @ <source/docs/software/hardware-apis/misc/addressable-leds.rst>
ALL @ <source/docs/software/hardware-apis/sensors/analog-inputs-software.rst>
ALL @ <source/docs/software/hardware-apis/sensors/analog-potentiometers-software.rst>
ALL @ <source/docs/software/hardware-apis/sensors/digital-inputs-software.rst>
ALL @ <source/docs/software/hardware-apis/sensors/limit-switch.rst>
ALL @ <source/docs/software/vscode-overview/creating-robot-program.rst>
ALL @ <source/docs/software/wpilib-tools/robot-simulation/unit-testing.rst>
ALL @ <source/docs/xrp-robot/programming-xrp.rst>
ALL @ <source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst>
wpilibjExamples/src/main/java/org/wpilib/examples/tankdrivegamepad/Robot.java#L18,L24-L29 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:44>
wpilibcExamples/src/main/cpp/examples/TankDriveGamepad/cpp/Robot.cpp#L16,L22-L28 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:51>
wpilibjExamples/src/main/java/org/wpilib/snippets/motorcontrol/Robot.java#L50-L53 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:83>
wpilibcExamples/src/main/cpp/snippets/MotorControl/cpp/Robot.cpp#L49-L52 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:87>
wpilibjExamples/src/main/java/org/wpilib/examples/tankdrivegamepad/Robot.java#L17-L20 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:117>
wpilibcExamples/src/main/cpp/examples/TankDriveGamepad/cpp/Robot.cpp#L15-L19 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:124>
examples/robot/TankDrive/robot.py#L21-L23 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:131>
wpilibjExamples/src/main/java/org/wpilib/examples/hatchbotinlined/subsystems/DriveSubsystem.java#L16-L25 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:147>
wpilibjExamples/src/main/java/org/wpilib/examples/hatchbotinlined/subsystems/DriveSubsystem.java#L43-L49 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:153>
wpilibcExamples/src/main/cpp/examples/HatchbotInlined/include/subsystems/DriveSubsystem.hpp#L54,L58-L67 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:160>
wpilibcExamples/src/main/cpp/examples/HatchbotInlined/cpp/subsystems/DriveSubsystem.cpp#L18-L24 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:169>
wpilibjExamples/src/main/java/org/wpilib/snippets/differentialdrive/Robot.java#L34-L42 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:193>
wpilibcExamples/src/main/cpp/snippets/DifferentialDrive/cpp/Robot.cpp#L37-L47 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:197>
wpilibjExamples/src/main/java/org/wpilib/examples/mecanumdrive/Robot.java#L18-L21,L26,L31-L48 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:219>
wpilibcExamples/src/main/cpp/examples/MecanumDrive/cpp/Robot.cpp#L37-L40,L45-L53,L18-L23 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:223>
examples/robot/MecanumDrive/robot.py#L18-L22,L25-L42 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:227>
wpilibjExamples/src/main/java/org/wpilib/snippets/mecanumdrive/Robot.java#L62-L67 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:243>
wpilibcExamples/src/main/cpp/snippets/MecanumDrive/cpp/Robot.cpp#L38-L43 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:247>

Outdated - Automatically Fixed

Details

Invalid - Manual Intervention Needed

Details

2027.0.0a6 | 011945f5752f8f8faf66e9176a58339639833b5d/snippets/robot/MotorControl/robot.py#L49-L52 @ <source/docs/software/hardware-apis/motors/wpi-drive-classes.rst:91>

-	49	 	        self.motor.setSafetyEnabled(True)
-	50	 	        self.motor.setSafetyEnabled(False)
-	51	 	        self.motor.setExpiration(0.1)
-	52	 	        self.motor.feed()
+	 	49	

@sciencewhiz sciencewhiz changed the title Update Creating Test Drivetrain for Python Projects Update Creating Test Drivetrain for Python & Alpha 7 Sep 5, 2026
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