Lane

class Lane(val currentLaneIndex: Int, val laneCount: Int) : SensorData

Lane information obtained from sensors

Parameters

currentLaneIndex

the index of the current lane. For right-hand traffic 1 is the very right lane and so on. Should be zero if lane information is not available

laneCount

the number of lanes

Constructors

Link copied to clipboard
fun Lane(currentLaneIndex: Int, laneCount: Int)

Functions

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

Indicates whether some other object is "equal to" this one.

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

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val currentLaneIndex: Int
Link copied to clipboard
val laneCount: Int