AI Testing Simulator
Loading...
Searching...
No Matches
Entity.Waypoint Class Reference

Create Waypoint Object. Contains User defined Input for a specific Event on a Entity Path Represents an Event in the .xosc File. More...

Inheritance diagram for Entity.Waypoint:

Public Member Functions

 Waypoint ()
 Initializes a new empty instance of the Waypoint class.
 
 Waypoint (Location location, ActionType actionTypeInfo, List< TriggerInfo > triggerList, WaypointStrategy strategy=WaypointStrategy.FASTEST)
 Initializes a new instance of the Waypoint class with a given location, action type info, trigger list, and priority.
 
void setPosition (float x, float y)
 Sets the position of the Waypoint to the given coordinates.
 
void CalculateLocationCarla ()
 Calculates the location of the Waypoint in Carla given the corresponding Unity Coordinates and fills the LocationCarla property.
 
object Clone ()
 Clones the Waypoint object.
 

Properties

Location Location [get]
 
Location LocationCarla [get, set]
 
ActionType ActionTypeInfo [get, set]
 
string Priority [get, set]
 
List< TriggerInfoTriggerList [get, set]
 
IBaseView View [get, set]
 
List< ActionTypeActions [get, set]
 
Adversary StartRouteOfOtherVehicle [get, set]
 
WaypointStrategy Strategy [get, set]
 

Detailed Description

Create Waypoint Object. Contains User defined Input for a specific Event on a Entity Path Represents an Event in the .xosc File.

Constructor & Destructor Documentation

◆ Waypoint()

Entity.Waypoint.Waypoint ( Location  location,
ActionType  actionTypeInfo,
List< TriggerInfo triggerList,
WaypointStrategy  strategy = WaypointStrategy::FASTEST 
)
inline

Initializes a new instance of the Waypoint class with a given location, action type info, trigger list, and priority.

Parameters
locationThe location of the Waypoint
actionTypeInfoThe ActionType info of the Waypoint
triggerListThe list of triggers of the Waypoint
priorityThe priority of the Waypoint

Member Function Documentation

◆ Clone()

object Entity.Waypoint.Clone ( )
inline

Clones the Waypoint object.

Returns
A cloned Waypoint object

◆ setPosition()

void Entity.Waypoint.setPosition ( float  x,
float  y 
)
inline

Sets the position of the Waypoint to the given coordinates.

Parameters
xThe x-coordinate of the Waypoint
yThe y-coordinate of the Waypoint

The documentation for this class was generated from the following file: