Files
allwpilib/wpilibjExamples/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

109 lines
2.2 KiB
Python

EXAMPLE_FOLDERS = [
"arcadedrivegamepad",
"armsimulation",
"differentialdrivebot",
"differentialdriveposeestimator",
"drivedistanceoffboard",
"dutycycleencoder",
"elevatorexponentialprofile",
"elevatorexponentialsimulation",
"elevatorprofiledpid",
"elevatorsimulation",
"elevatortrapezoidprofile",
"encoder",
"gettingstarted",
"gyro",
"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 = [
"accelerometercollision",
"accelerometerfilter",
"addressableled",
"adxlaccelerometers",
"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",
"educational",
"opmode",
"robotbaseskeleton",
"romicommandv2",
"romieducational",
"romitimed",
"timed",
"timedskeleton",
"timeslice",
"timesliceskeleton",
"xrpcommandv2",
"xrpeducational",
"xrptimed",
]
EXAMPLE_TESTS_FOLDERS = [
"armsimulation",
"elevatorsimulation",
"unittest",
]
SNIPPET_TESTS_FOLDERS = [
"digitalcommunication",
"i2ccommunication",
]