[wpilib] Remove Jaguar (and other) motor controllers (#8299)

This commit is contained in:
Thad House
2025-11-01 21:45:19 +00:00
committed by GitHub
parent 577dd48af7
commit cb720048b8
8 changed files with 1 additions and 45 deletions

View File

@@ -29,9 +29,7 @@ constexpr int32_t kExpectedLoopTiming = 40;
* reliably down to 10.0 ms; starting at about 8.5ms, the servo sometimes hums
* and get hot; by 5.0ms the hum is nearly continuous
* - 10ms periods work well for Victor 884
* - 5ms periods allows higher update rates for Luminary Micro Jaguar motor
* controllers. Due to the shipping firmware on the Jaguar, we can't run the
* update period less than 5.05 ms.
* - 5ms periods allows higher update rates for modern motor controllers.
*
* kDefaultPwmPeriod is the 1x period (5.05 ms). In hardware, the period
* scaling is implemented as an output squelch to get longer periods for old

View File

@@ -46,8 +46,6 @@ S(LineNotOutput, -27,
"Cannot SetDigitalOutput for a line not configured for output")
S(ParameterOutOfRange, -28, "A parameter is out of range")
S(SPIClockRateTooLow, -29, "SPI clock rate was below the minimum supported")
S(JaguarVersionError, -30, "Jaguar firmware version error")
S(JaguarMessageNotFound, -31, "Jaguar message not found")
S(NetworkTablesReadError, -40, "Error reading NetworkTables socket")
S(NetworkTablesBufferFull, -41, "Buffer full writing to NetworkTables socket")
S(NetworkTablesWrongType, -42,

View File

@@ -156,8 +156,6 @@ MotorController = "frc/motorcontrol/MotorController.h"
DriverStationModeThread = "frc/internal/DriverStationModeThread.h"
# frc/motorcontrol
DMC60 = "frc/motorcontrol/DMC60.h"
Jaguar = "frc/motorcontrol/Jaguar.h"
Koors40 = "frc/motorcontrol/Koors40.h"
MotorControllerGroup = "rpy/MotorControllerGroup.h"
PWMMotorController = "frc/motorcontrol/PWMMotorController.h"
@@ -167,11 +165,9 @@ PWMTalonFX = "frc/motorcontrol/PWMTalonFX.h"
PWMTalonSRX = "frc/motorcontrol/PWMTalonSRX.h"
PWMVenom = "frc/motorcontrol/PWMVenom.h"
PWMVictorSPX = "frc/motorcontrol/PWMVictorSPX.h"
SD540 = "frc/motorcontrol/SD540.h"
Spark = "frc/motorcontrol/Spark.h"
SparkMini = "frc/motorcontrol/SparkMini.h"
Talon = "frc/motorcontrol/Talon.h"
Victor = "frc/motorcontrol/Victor.h"
VictorSP = "frc/motorcontrol/VictorSP.h"
# frc/smartdashboard

View File

@@ -1,7 +0,0 @@
extra_includes:
- wpi/sendable/SendableBuilder.h
classes:
frc::DMC60:
methods:
DMC60:

View File

@@ -1,7 +0,0 @@
extra_includes:
- wpi/sendable/SendableBuilder.h
classes:
frc::Jaguar:
methods:
Jaguar:

View File

@@ -1,7 +0,0 @@
extra_includes:
- wpi/sendable/SendableBuilder.h
classes:
frc::SD540:
methods:
SD540:

View File

@@ -1,7 +0,0 @@
extra_includes:
- wpi/sendable/SendableBuilder.h
classes:
frc::Victor:
methods:
Victor:

View File

@@ -18,7 +18,6 @@ from ._wpilib import (
Color8Bit,
Compressor,
CompressorConfigType,
DMC60,
DSControlWord,
DataLogManager,
DigitalInput,
@@ -32,7 +31,6 @@ from ._wpilib import (
FieldObject2d,
I2C,
IterativeRobotBase,
Jaguar,
Joystick,
Koors40,
LEDPattern,
@@ -64,7 +62,6 @@ from ._wpilib import (
RobotController,
RobotState,
RuntimeType,
SD540,
SendableBuilderImpl,
SendableChooser,
SendableChooserBase,
@@ -82,7 +79,6 @@ from ._wpilib import (
Timer,
TimesliceRobot,
Tracer,
Victor,
VictorSP,
Watchdog,
XboxController,
@@ -109,7 +105,6 @@ __all__ = [
"Color8Bit",
"Compressor",
"CompressorConfigType",
"DMC60",
"DSControlWord",
"DataLogManager",
"DigitalInput",
@@ -123,7 +118,6 @@ __all__ = [
"FieldObject2d",
"I2C",
"IterativeRobotBase",
"Jaguar",
"Joystick",
"Koors40",
"LEDPattern",
@@ -155,7 +149,6 @@ __all__ = [
"RobotController",
"RobotState",
"RuntimeType",
"SD540",
"SendableBuilderImpl",
"SendableChooser",
"SendableChooserBase",
@@ -173,7 +166,6 @@ __all__ = [
"Timer",
"TimesliceRobot",
"Tracer",
"Victor",
"VictorSP",
"Watchdog",
"XboxController",