Pioneer Robotics Documentation
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Pioneer Robotics Documentation
Pioneer Robotics Documentation
/
pioneer.hardware
/
Flywheel
Flywheel
class
Flywheel
(
hardwareMap
:
HardwareMap
,
motorName
:
String
=
Constants.HardwareNames.FLYWHEEL
)
:
HardwareComponent
Members
Constructors
Flywheel
Link copied to clipboard
constructor
(
hardwareMap
:
HardwareMap
,
motorName
:
String
=
Constants.HardwareNames.FLYWHEEL
)
Properties
current
Link copied to clipboard
val
current
:
Double
motor
Link copied to clipboard
val
motor
:
DcMotorEx
name
Link copied to clipboard
open
val
name
:
String
velocity
Link copied to clipboard
var
velocity
:
Double
Functions
estimate
Velocity
Link copied to clipboard
fun
estimateVelocity
(
target
:
Pose
,
pose
:
Pose
)
:
Double
init
Link copied to clipboard
open
override
fun
init
(
)
update
Link copied to clipboard
open
fun
update
(
)