Files
allwpilib/wpilibcExamples/example_projects.bzl
Gold856 f1adce4cf7 [examples] Clean up examples (#8674)
Move various "examples" into snippets. Several examples that were less
than a full mechanism or robot were moved to snippets. `arcadedrive` and
`tankdrive` were removed in favor of their Gamepad variants. `hidrumble`
was removed due to being too simple. `potentiometerpid` was removed
because of low utility. `gyromecanum` replaced `mecanumdrive` for
deduplication and because very few teams run holonomic drivetrains
without gyros.
2026-03-14 14:13:45 -07:00

103 lines
2.1 KiB
Python

EXAMPLE_FOLDERS = [
"ArcadeDriveGamepad",
"ArmSimulation",
"DifferentialDriveBot",
"DifferentialDrivePoseEstimator",
"DriveDistanceOffboard",
"DutyCycleEncoder",
"ElevatorExponentialProfile",
"ElevatorExponentialSimulation",
"ElevatorProfiledPID",
"ElevatorSimulation",
"ElevatorTrapezoidProfile",
"Encoder",
"GettingStarted",
"Gyro",
"HAL",
"HatchbotInlined",
"HatchbotTraditional",
"MecanumBot",
"MecanumDrive",
"MecanumDrivePoseEstimator",
"Mechanism2d",
"RapidReactCommandBot",
"RomiReference",
"SimpleDifferentialDriveSimulation",
"StateSpaceArm",
"StateSpaceElevator",
"StateSpaceFlywheel",
"StateSpaceFlywheelSysId",
"SwerveBot",
"SwerveDrivePoseEstimator",
"SysIdRoutine",
"TankDriveGamepad",
"UnitTest",
"XRPReference",
"Xrptimed",
]
COMMANDS_V2_FOLDERS = [
"command2",
"emptyclass",
"instantcommand",
"parallelcommandgroup",
"paralleldeadlinegroup",
"parallelracegroup",
"sequentialcommandgroup",
"subsystem2",
]
SNIPPET_FOLDERS = [
"ADXLAccelerometers",
"AccelerometerCollision",
"AccelerometerFilter",
"AddressableLED",
"AnalogAccelerometer",
"AnalogEncoder",
"AnalogInput",
"AnalogPotentiometer",
"AprilTagsVision",
"CANPDP",
"DigitalCommunication",
"DigitalInput",
"DutyCycleEncoder",
"DutyCycleInput",
"Encoder",
"EncoderDrive",
"EncoderHoming",
"EventLoop",
"FlywheelBangBangController",
"HttpCamera",
"I2CCommunication",
"IntermediateVision",
"LimitSwitch",
"MotorControl",
"OnboardIMU",
"ProfiledPIDFeedforward",
"QuickVision",
"SelectCommand",
"Solenoid",
]
TEMPLATE_FOLDERS = [
"commandv2",
"commandv2skeleton",
"opmode",
"robotbaseskeleton",
"timed",
"timedskeleton",
"timeslice",
"timesliceskeleton",
]
EXAMPLE_TESTS_FOLDERS = [
"ArmSimulation",
"ElevatorSimulation",
"UnitTest",
]
SNIPPET_TESTS_FOLDERS = [
"DigitalCommunication",
"I2CCommunication",
]