NextFTC Suite
Toggle table of contents
0.0.1
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
NextFTC Suite
NextFTC Hardware
/
dev.nextftc.hardware.sensors
/
NextIMU
Next
IMU
class
NextIMU
(
initializer
:
(
)
->
IMU
)
A wrapper for the FTC
IMU
that uses lazy initialization.
Members
Constructors
Next
IMU
Link copied to clipboard
constructor
(
initializer
:
(
)
->
IMU
)
@
JvmOverloads
constructor
(
name
:
String
=
"imu"
)
Properties
angular
Velocity
Link copied to clipboard
val
angularVelocity
:
AngularVelocity
device
Link copied to clipboard
val
device
:
IMU
pitch
Link copied to clipboard
val
pitch
:
Double
roll
Link copied to clipboard
val
roll
:
Double
rotation2d
Link copied to clipboard
val
rotation2d
:
Rotation2d
yaw
Link copied to clipboard
val
yaw
:
Double
yaw
Pitch
Roll
Angles
Link copied to clipboard
val
yawPitchRollAngles
:
YawPitchRollAngles
Functions
initialize
Link copied to clipboard
fun
initialize
(
parameters
:
IMU.Parameters
)
:
Boolean
reset
Yaw
Link copied to clipboard
fun
resetYaw
(
)