mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
[robotpy] Mirror most other subprojects (#8208)
GitOrigin-RevId: ac60fd3cf4a24023184376687da28373d14b781a This mirrors the robotpy files for the following projects: - apriltag - datalog - hal - ntcore - romiVendordep - wpilibc - wpimath - xrpVendordep This excludes cscore and the halsim wrappers for at this time. NOTE: This does not hook these projects up to the build system, just simply mirrors the files. The building will take place in a follow up PR to make it easier to review the changes necessary to build.
This commit is contained in:
53
wpimath/src/main/python/semiwrap/kinematics/Kinematics.yml
Normal file
53
wpimath/src/main/python/semiwrap/kinematics/Kinematics.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
extra_includes:
|
||||
- frc/kinematics/DifferentialDriveWheelPositions.h
|
||||
- frc/kinematics/DifferentialDriveWheelSpeeds.h
|
||||
- frc/kinematics/MecanumDriveWheelPositions.h
|
||||
- frc/kinematics/MecanumDriveWheelSpeeds.h
|
||||
- frc/kinematics/SwerveDriveKinematics.h
|
||||
|
||||
|
||||
classes:
|
||||
frc::Kinematics:
|
||||
force_type_casters:
|
||||
- wpi::array
|
||||
template_params:
|
||||
- WheelSpeeds
|
||||
- WheelPositions
|
||||
methods:
|
||||
ToChassisSpeeds:
|
||||
ToWheelSpeeds:
|
||||
ToTwist2d:
|
||||
Interpolate:
|
||||
|
||||
|
||||
templates:
|
||||
DifferentialDriveKinematicsBase:
|
||||
qualname: frc::Kinematics
|
||||
params:
|
||||
- frc::DifferentialDriveWheelSpeeds
|
||||
- frc::DifferentialDriveWheelPositions
|
||||
MecanumDriveKinematicsBase:
|
||||
qualname: frc::Kinematics
|
||||
params:
|
||||
- frc::MecanumDriveWheelSpeeds
|
||||
- frc::MecanumDriveWheelPositions
|
||||
SwerveDrive2KinematicsBase:
|
||||
qualname: frc::Kinematics
|
||||
params:
|
||||
- wpi::array<frc::SwerveModuleState,2>
|
||||
- wpi::array<frc::SwerveModulePosition,2>
|
||||
SwerveDrive3KinematicsBase:
|
||||
qualname: frc::Kinematics
|
||||
params:
|
||||
- wpi::array<frc::SwerveModuleState,3>
|
||||
- wpi::array<frc::SwerveModulePosition,3>
|
||||
SwerveDrive4KinematicsBase:
|
||||
qualname: frc::Kinematics
|
||||
params:
|
||||
- wpi::array<frc::SwerveModuleState,4>
|
||||
- wpi::array<frc::SwerveModulePosition,4>
|
||||
SwerveDrive6KinematicsBase:
|
||||
qualname: frc::Kinematics
|
||||
params:
|
||||
- wpi::array<frc::SwerveModuleState,6>
|
||||
- wpi::array<frc::SwerveModulePosition,6>
|
||||
Reference in New Issue
Block a user