toggle menu
BunyipsLib
v4.1.0-master-b97a0460
BunyipsLib
switch theme
search in API
BunyipsLib
/
org.murraybridgebunyips.bunyipslib.roadrunner.drive.tuning.opmodes
/
StraightTest
Straight
Test
open
class
StraightTest
:
TriConsumer
<
T1
,
T2
,
T3
>
This is a simple routine to test translational drive capabilities.
Since
4.0.0
Members
Constructors
Straight
Test
Link copied to clipboard
constructor
(
)
Properties
DISTANCE_INCHES
Link copied to clipboard
open
var
DISTANCE_INCHES
:
Double
The amount of distance to test in inches.
Functions
accept
Link copied to clipboard
open
fun
accept
(
opMode
:
LinearOpMode
,
telemetry
:
DualTelemetry
,
drive
:
RoadRunnerDrive
)
Performs this operation on the given arguments.
Inherited functions
and
Then
Link copied to clipboard
open
fun
andThen
(
after
:
TriConsumer
<
in
T1
,
in
T2
,
in
T3
>
)
:
TriConsumer
<
T1
,
T2
,
T3
>
Returns a composed
TriConsumer
that performs, in sequence, this operation followed by the
after
operation.