toggle menu
Cuttlefish Documentation
Cuttlefish
switch theme
search in API
Cuttlefish
/
com.roboctopi.cuttlefish.controller
/
VelocityController
Velocity
Controller
class
VelocityController
(
p
:
Double
,
i
:
Double
,
d
:
Double
,
var
feedForwardM
:
Double
,
var
feedForwardB
:
Double
)
Members
Constructors
Velocity
Controller
Link copied to clipboard
constructor
(
p
:
Double
,
i
:
Double
,
d
:
Double
,
feedForwardM
:
Double
,
feedForwardB
:
Double
)
Properties
feed
Forward
B
Link copied to clipboard
var
feedForwardB
:
Double
feed
Forward
M
Link copied to clipboard
var
feedForwardM
:
Double
goal
Link copied to clipboard
var
goal
:
Double
pid
Link copied to clipboard
var
pid
:
PID
Functions
get
Power
Link copied to clipboard
fun
getPower
(
)
:
Double
get
Speed
Link copied to clipboard
fun
getSpeed
(
)
:
Double
update
Link copied to clipboard
fun
update
(
pos
:
Double
)
:
Double