Class MockFriendlyIMU
java.lang.Object
org.firstinspires.ftc.teamcode.fakestuff.MockFriendlyIMU
- All Implemented Interfaces:
FriendlyIMU
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firstinspires.ftc.teamcode.framework.subsystems.friendlyimu.FriendlyIMU
FriendlyIMU.Parameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublepitch()X rotationdoublepitch(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) X rotationdoublepitchVel()Velocity of X rotationdoublepitchVel(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) Velocity of X rotationdoubleroll()Y rotationdoubleroll(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) Y rotationdoublerollVel()Velocity of Y rotationdoublerollVel(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) Velocity of Y rotationvoidsetPitch(double pitch) voidsetPitchVel(double pitchVel) voidsetRoll(double roll) voidsetRollVel(double rollVel) voidsetYaw(double yaw) voidsetYawVel(double yawVel) voidupdate()Called by robot.update().doubleyaw()Z rotationdoubleyaw(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) Z rotationdoubleyawVel()Velocity of Z rotationdoubleyawVel(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) Velocity of Z rotation
-
Constructor Details
-
MockFriendlyIMU
public MockFriendlyIMU()
-
-
Method Details
-
pitch
public double pitch()Description copied from interface:FriendlyIMUX rotation- Specified by:
pitchin interfaceFriendlyIMU
-
pitchVel
public double pitchVel()Description copied from interface:FriendlyIMUVelocity of X rotation- Specified by:
pitchVelin interfaceFriendlyIMU
-
roll
public double roll()Description copied from interface:FriendlyIMUY rotation- Specified by:
rollin interfaceFriendlyIMU
-
rollVel
public double rollVel()Description copied from interface:FriendlyIMUVelocity of Y rotation- Specified by:
rollVelin interfaceFriendlyIMU
-
yaw
public double yaw()Description copied from interface:FriendlyIMUZ rotation- Specified by:
yawin interfaceFriendlyIMU
-
yawVel
public double yawVel()Description copied from interface:FriendlyIMUVelocity of Z rotation- Specified by:
yawVelin interfaceFriendlyIMU
-
update
public void update()Description copied from interface:FriendlyIMUCalled by robot.update(). You do not need to call this method.- Specified by:
updatein interfaceFriendlyIMU
-
setPitch
public void setPitch(double pitch) -
setPitchVel
public void setPitchVel(double pitchVel) -
setRoll
public void setRoll(double roll) -
setRollVel
public void setRollVel(double rollVel) -
setYaw
public void setYaw(double yaw) -
setYawVel
public void setYawVel(double yawVel)
-