Skip to content

Commit

Permalink
Fixed semantic errors.
Browse files Browse the repository at this point in the history
Signed-off-by: thenetworkgrinch <thenetworkgrinch@users.noreply.github.com>
  • Loading branch information
thenetworkgrinch committed Jan 6, 2025
1 parent 52d6c20 commit c8c3891
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/main/java/swervelib/SwerveDrive.java
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,6 @@ public void setModuleStates(SwerveModuleState[] desiredStates, boolean isOpenLoo
/**
* Drive the robot using the {@link SwerveModuleState}, it is recommended to have
* {@link SwerveDrive#setCosineCompensator(boolean)} set to false for this.<br/>
* <p>
*
* @param robotRelativeVelocity Robot relative {@link ChassisSpeeds}
* @param states Corresponding {@link SwerveModuleState} to use (not checked against the
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/swervelib/imu/SwerveIMU.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ public abstract class SwerveIMU
public abstract Optional<Translation3d> getAccel();

/**
* Fetch the rotation rate from the IMU as {@link AngularVelocity}
* Fetch the rotation rate from the IMU as {@link MutAngularVelocity}
*
* @return {@link AngularVelocity} of the rotation rate.
* @return {@link MutAngularVelocity} of the rotation rate.
*/
public abstract MutAngularVelocity getYawAngularVelocity();

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/swervelib/motors/TalonSRXSwerve.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public TalonSRXSwerve(WPI_TalonSRX motor, boolean isDriveMotor, DCMotor motorTyp
*
* @param id ID of the TalonSRX on the canbus.
* @param isDriveMotor Whether the motor is a drive or steering motor.
* @param motorType {@link DCMotor} which the {@link TalonSRX} is attached to.
* @param motorType {@link DCMotor} which the {@link WPI_TalonSRX} is attached to.
*/
public TalonSRXSwerve(int id, boolean isDriveMotor, DCMotor motorType)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class SwerveModuleSimulation
* Configure the maple sim module
*
* @param simModule the {@link org.ironmaple.simulation.drivesims.SwerveModuleSimulation} object for simulation
* @param physicalCharacteristics Physical characteristics of the swerve drive from the JSON or built.
*/
public void configureSimModule(org.ironmaple.simulation.drivesims.SwerveModuleSimulation simModule,
SwerveModulePhysicalCharacteristics physicalCharacteristics)
Expand Down

0 comments on commit c8c3891

Please sign in to comment.