ReplayRouteOptions

class ReplayRouteOptions

Replay route simulates a driver on a direction route. These options allow you to control the behavior of that driver.

Note that the default values are recommended because they have been tested.

Parameters

frequency

The number of signals per second

maxSpeedMps

Max speed the driver will drive on straight-aways

turnSpeedMps

Speed the driver will slow down for turns approaching 90 degrees

uTurnSpeedMps

Speed the driver will go when facing a u-turn

maxAcceleration

How fast the driver will accelerate to maxSpeedMps in mps^2

minAcceleration

How fast the driver will decelerate in mps^2

Types

Link copied to clipboard
class Builder

Used to build ReplayRouteOptions.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
fun toBuilder(): ReplayRouteOptions.Builder
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val frequency: Double
Link copied to clipboard
val maxAcceleration: Double
Link copied to clipboard
val maxSpeedMps: Double
Link copied to clipboard
val minAcceleration: Double
Link copied to clipboard
val turnSpeedMps: Double
Link copied to clipboard
val uTurnSpeedMps: Double