core / com.acmerobotics.roadrunner.drive / DriveSignal

DriveSignal

data class DriveSignal (source)

Signal indicating the commanded kinematic state of a drive.

Parameters

vel - robot frame velocity

accel - robot frame acceleration

Constructors

<init>

Signal indicating the commanded kinematic state of a drive.

DriveSignal(vel: Pose2d = Pose2d(), accel: Pose2d = Pose2d())

Properties

accel

robot frame acceleration

val accel: Pose2d

vel

robot frame velocity

val vel: Pose2d