C# 클래스 PathPlanningKart, cs-mini-modbot-simulation

The PathPlanningKart class contains the state and operations necessary for the kart to perform path planning and related decision making.
상속: MonoBehaviour
파일 보기 프로젝트 열기: intel-cornellcup/mini-modbot-simulation 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
canUseItem bool
closedNodes HashSet
currentPosition Vector3
currentThreadJob DynamicPathThreadJob,
currentWayPoints List
current_waypoint int
dynamicReplan bool
dynamicWayPoints List
isStuck bool
isStuckOffset int
iterationOffset int
jobInProgress bool
nextWayPoints List
nodeInProgress Vector3
startNode Node,
stopWatch Stopwatch
usesWaypoints bool[]

공개 메소드들

메소드 설명
PathPlanInitialSegment ( ) : void

Performs path planning for the first path segment by utilizing a DynamicPathThreadJob and waiting for it to complete

PathPlanNextSegment ( ) : void

Performs path planning for the next path segment by utilizing a DynamicPathThreadJob that calculates the path in the background

UseItem ( ) : void

Implements logic for the AI kart to an item if it currently has one

메소드 상세

PathPlanInitialSegment() 공개 메소드

Performs path planning for the first path segment by utilizing a DynamicPathThreadJob and waiting for it to complete
public PathPlanInitialSegment ( ) : void
리턴 void

PathPlanNextSegment() 공개 메소드

Performs path planning for the next path segment by utilizing a DynamicPathThreadJob that calculates the path in the background
public PathPlanNextSegment ( ) : void
리턴 void

UseItem() 공개 메소드

Implements logic for the AI kart to an item if it currently has one
public UseItem ( ) : void
리턴 void

프로퍼티 상세

canUseItem 공개적으로 프로퍼티

public bool canUseItem
리턴 bool

closedNodes 공개적으로 프로퍼티

public HashSet closedNodes
리턴 HashSet

currentPosition 공개적으로 프로퍼티

public Vector3 currentPosition
리턴 Vector3

currentThreadJob 공개적으로 프로퍼티

public DynamicPathThreadJob, currentThreadJob
리턴 DynamicPathThreadJob,

currentWayPoints 공개적으로 프로퍼티

public List currentWayPoints
리턴 List

current_waypoint 공개적으로 프로퍼티

public int current_waypoint
리턴 int

dynamicReplan 공개적으로 프로퍼티

public bool dynamicReplan
리턴 bool

dynamicWayPoints 공개적으로 프로퍼티

public List dynamicWayPoints
리턴 List

isStuck 공개적으로 프로퍼티

public bool isStuck
리턴 bool

isStuckOffset 공개적으로 프로퍼티

public int isStuckOffset
리턴 int

iterationOffset 공개적으로 프로퍼티

public int iterationOffset
리턴 int

jobInProgress 공개적으로 프로퍼티

public bool jobInProgress
리턴 bool

nextWayPoints 공개적으로 프로퍼티

public List nextWayPoints
리턴 List

nodeInProgress 공개적으로 프로퍼티

public Vector3 nodeInProgress
리턴 Vector3

startNode 공개적으로 프로퍼티

public Node, startNode
리턴 Node,

stopWatch 공개적으로 프로퍼티

public Stopwatch stopWatch
리턴 Stopwatch

usesWaypoints 공개적으로 프로퍼티

public bool[] usesWaypoints
리턴 bool[]