Config
public struct Config : Equatable
Configuration type.
-
Undocumented
Declaration
Swift
public let minHeightM: Float -
Undocumented
Declaration
Swift
public let followDistanceM: Float -
Undocumented
Declaration
Swift
public let followDirection: FollowDirection -
Undocumented
Declaration
Swift
public let responsiveness: Float -
Direction relative to the target that the vehicle should follow
See moreDeclaration
Swift
public enum FollowDirection : Equatable -
Initializes a new
Config.Declaration
Swift
public init(minHeightM: Float, followDistanceM: Float, followDirection: FollowDirection, responsiveness: Float)Parameters
minHeightMMinimum height for the vehicle in meters (recommended minimum 8 meters)
followDistanceMDistance from target for vehicle to follow in meters (recommended minimum 1 meter)
followDirectionDirection to follow in
responsivenessHow responsive the vehicle is to the motion of the target (range 0.0 to 1.0)
-
Declaration
Swift
public static func == (lhs: Config, rhs: Config) -> Bool
View on GitHub
Install in Dash
Config Structure Reference