C# Class 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.
Inheritance: MonoBehaviour
Afficher le fichier Open project: intel-cornellcup/mini-modbot-simulation Class Usage Examples

Méthodes publiques

Свойство Type Description
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[]

Méthodes publiques

Méthode Description
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

Method Details

PathPlanInitialSegment() public méthode

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

PathPlanNextSegment() public méthode

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

UseItem() public méthode

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

Property Details

canUseItem public_oe property

public bool canUseItem
Résultat bool

closedNodes public_oe property

public HashSet closedNodes
Résultat HashSet

currentPosition public_oe property

public Vector3 currentPosition
Résultat Vector3

currentThreadJob public_oe property

public DynamicPathThreadJob, currentThreadJob
Résultat DynamicPathThreadJob,

currentWayPoints public_oe property

public List currentWayPoints
Résultat List

current_waypoint public_oe property

public int current_waypoint
Résultat int

dynamicReplan public_oe property

public bool dynamicReplan
Résultat bool

dynamicWayPoints public_oe property

public List dynamicWayPoints
Résultat List

isStuck public_oe property

public bool isStuck
Résultat bool

isStuckOffset public_oe property

public int isStuckOffset
Résultat int

iterationOffset public_oe property

public int iterationOffset
Résultat int

jobInProgress public_oe property

public bool jobInProgress
Résultat bool

nextWayPoints public_oe property

public List nextWayPoints
Résultat List

nodeInProgress public_oe property

public Vector3 nodeInProgress
Résultat Vector3

startNode public_oe property

public Node, startNode
Résultat Node,

stopWatch public_oe property

public Stopwatch stopWatch
Résultat Stopwatch

usesWaypoints public_oe property

public bool[] usesWaypoints
Résultat bool[]