Class MockFriendlyIMU
java.lang.Object
org.firstinspires.ftc.teamcode.fy23.fakestuff.MockFriendlyIMU
- All Implemented Interfaces:
FriendlyIMU
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firstinspires.ftc.teamcode.fy23.robot.subsystems.FriendlyIMU
FriendlyIMU.Parameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
pitch()
X rotationdouble
pitch
(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) X rotationdouble
pitchVel()
Velocity of X rotationdouble
pitchVel
(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) Velocity of X rotationdouble
roll()
Y rotationdouble
roll
(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) Y rotationdouble
rollVel()
Velocity of Y rotationdouble
rollVel
(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) Velocity of Y rotationvoid
setPitch
(double pitch) void
setPitchVel
(double pitchVel) void
setRoll
(double roll) void
setRollVel
(double rollVel) void
setYaw
(double yaw) void
setYawVel
(double yawVel) void
update()
Called by robot.update().double
yaw()
Z rotationdouble
yaw
(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit) Z rotationdouble
yawVel()
Velocity of Z rotationdouble
yawVel
(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:FriendlyIMU
X rotation- Specified by:
pitch
in interfaceFriendlyIMU
-
pitchVel
public double pitchVel()Description copied from interface:FriendlyIMU
Velocity of X rotation- Specified by:
pitchVel
in interfaceFriendlyIMU
-
roll
public double roll()Description copied from interface:FriendlyIMU
Y rotation- Specified by:
roll
in interfaceFriendlyIMU
-
rollVel
public double rollVel()Description copied from interface:FriendlyIMU
Velocity of Y rotation- Specified by:
rollVel
in interfaceFriendlyIMU
-
yaw
public double yaw()Description copied from interface:FriendlyIMU
Z rotation- Specified by:
yaw
in interfaceFriendlyIMU
-
yawVel
public double yawVel()Description copied from interface:FriendlyIMU
Velocity of Z rotation- Specified by:
yawVel
in interfaceFriendlyIMU
-
update
public void update()Description copied from interface:FriendlyIMU
Called by robot.update(). You do not need to call this method.- Specified by:
update
in 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)
-