core / com.acmerobotics.roadrunner.trajectory / PathTrajectorySegment / duration

duration

fun duration(): Double

Overrides TrajectorySegment.duration

Returns the duration of the segment.