C# 클래스 SimShift.Services.LaneAssistance

Experimental module using computer vision to steer vehicle within motorway lanes. This module is NOT functional at all. The module was aimed at ETS2 to maintain focus on the vehicle's mirrors, and adjusting the heading error and lateral error of the white road side lines to desired values. Some struggles: - Computer vision can be hard for various road conditions (dark, fog, rain) - Some ETS2 mods mess up mirror positions and scale. - FOV - Measuring heading and lateral error was inaccurate, partly due to computer vision troubles. - Control of lateral/heading error was instable. This module needs a lot more work to (ever) work properly.
상속: IControlChainObj
파일 보기 프로젝트 열기: nlhans/SimShift 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ButtonCooldownPeriod System.DateTime

공개 메소드들

메소드 설명
GetAxis ( JoyControls c, double val ) : double
GetButton ( JoyControls c, bool val ) : bool
Requires ( JoyControls c ) : bool
TickControls ( ) : void
TickTelemetry ( IDataMiner data ) : void

비공개 메소드들

메소드 설명
FindNewSegments ( Ets2NavigationRoute route, Ets2Point me ) : void
OutsideRoad ( Ets2Item road, float x, float y ) : bool
RoadDistance ( Ets2Item road, float x, float y ) : float

메소드 상세

GetAxis() 공개 메소드

public GetAxis ( JoyControls c, double val ) : double
c JoyControls
val double
리턴 double

GetButton() 공개 메소드

public GetButton ( JoyControls c, bool val ) : bool
c JoyControls
val bool
리턴 bool

Requires() 공개 메소드

public Requires ( JoyControls c ) : bool
c JoyControls
리턴 bool

TickControls() 공개 메소드

public TickControls ( ) : void
리턴 void

TickTelemetry() 공개 메소드

public TickTelemetry ( IDataMiner data ) : void
data IDataMiner
리턴 void

프로퍼티 상세

ButtonCooldownPeriod 공개적으로 프로퍼티

public DateTime,System ButtonCooldownPeriod
리턴 System.DateTime