mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -3,9 +3,9 @@ extra_includes:
|
||||
- wpi/hardware/motor/MotorController.hpp
|
||||
|
||||
classes:
|
||||
frc::DifferentialDrive:
|
||||
wpi::DifferentialDrive:
|
||||
ignored_bases:
|
||||
- wpi::SendableHelper<DifferentialDrive>
|
||||
- wpi::util::SendableHelper<DifferentialDrive>
|
||||
methods:
|
||||
DifferentialDrive:
|
||||
overloads:
|
||||
@@ -103,7 +103,7 @@ classes:
|
||||
* :meth:`curvatureDrive` is similar in concept to
|
||||
``RobotDrive.drive`` with the addition of a quick turn
|
||||
mode. However, it is not designed to give exactly the same response.
|
||||
frc::DifferentialDrive::WheelSpeeds:
|
||||
wpi::DifferentialDrive::WheelSpeeds:
|
||||
attributes:
|
||||
left:
|
||||
right:
|
||||
|
||||
@@ -3,11 +3,11 @@ extra_includes:
|
||||
- wpi/hardware/motor/MotorController.hpp
|
||||
|
||||
classes:
|
||||
frc::MecanumDrive:
|
||||
wpi::MecanumDrive:
|
||||
force_type_casters:
|
||||
- units::radian_t
|
||||
- wpi::units::radian_t
|
||||
ignored_bases:
|
||||
- wpi::SendableHelper<MecanumDrive>
|
||||
- wpi::util::SendableHelper<MecanumDrive>
|
||||
methods:
|
||||
MecanumDrive:
|
||||
overloads:
|
||||
@@ -21,16 +21,16 @@ classes:
|
||||
DriveCartesian:
|
||||
param_override:
|
||||
gyroAngle:
|
||||
default: frc::Rotation2d(0_rad)
|
||||
default: wpi::math::Rotation2d(0_rad)
|
||||
DrivePolar:
|
||||
DriveCartesianIK:
|
||||
param_override:
|
||||
gyroAngle:
|
||||
default: frc::Rotation2d(0_rad)
|
||||
default: wpi::math::Rotation2d(0_rad)
|
||||
StopMotor:
|
||||
GetDescription:
|
||||
InitSendable:
|
||||
frc::MecanumDrive::WheelSpeeds:
|
||||
wpi::MecanumDrive::WheelSpeeds:
|
||||
attributes:
|
||||
frontLeft:
|
||||
frontRight:
|
||||
|
||||
@@ -3,7 +3,7 @@ extra_includes:
|
||||
- wpi/util/SmallString.hpp
|
||||
|
||||
classes:
|
||||
frc::RobotDriveBase:
|
||||
wpi::RobotDriveBase:
|
||||
attributes:
|
||||
m_deadband:
|
||||
m_maxOutput:
|
||||
|
||||
Reference in New Issue
Block a user