|
AI Testing Simulator
|
Create Ego vehicle. Object has no actions, only start point and destination. More...
Public Member Functions | |
| Ego (Location spawnPoint, EntityModel model, AdversaryCategory category, double initialSpeedKMH, Color color) | |
| Creates an Ego vehicle object with a spawn point, model, category, and initial speed. Object has no actions, only start point and destination. | |
| Ego () | |
| Creates an empty Ego vehicle object. | |
| void | setCategory (AdversaryCategory category) |
| Sets the category of the Ego vehicle. | |
| void | setModel (EntityModel model) |
| Sets the model of the Ego vehicle. | |
| object | Clone () |
| Clones the Ego vehicle object. | |
Public Member Functions inherited from Entity.BaseEntity | |
| BaseEntity (string id, Location spawnPoint, double initialSpeedKMH, Color color) | |
| Creates a new BaseEntity object with an Id, SpawnPoint, and initial speed. | |
| BaseEntity () | |
| Creates a new BaseEntity object with empty values. | |
| void | setPosition (float x, float y) |
| Sets the position of the BaseEntity object. | |
| void | setRotation (float angle) |
| Sets the rotation angle of the BaseEntity object. | |
| void | setView (IBaseEntityView view) |
| Sets the view of the BaseEntity object. | |
| void | setColor (Color c) |
| Sets the color of the BaseEntity object. | |
| Location | getCarlaLocation () |
| Returns the location of the BaseEntity object in CARLA coordinates. | |
Properties | |
| Location | Destination [get, set] |
| EntityModel | Model [get] |
| AdversaryCategory | Category [get, set] |
| string | Agent [get, set] |
Properties inherited from Entity.BaseEntity | |
| string | Id [get, set] |
| The unique identifier of the BaseEntity object. | |
| Location | SpawnPoint [get, set] |
| double | InitialSpeedKMH [get, set] |
| IBaseEntityView | View [get, set] |
Additional Inherited Members | |
Public Attributes inherited from Entity.BaseEntity | |
| ColorSer | Color |
Create Ego vehicle. Object has no actions, only start point and destination.
|
inline |
Creates an Ego vehicle object with a spawn point, model, category, and initial speed. Object has no actions, only start point and destination.
| spawnPoint | The spawn point for the Ego vehicle. |
| model | The model of the Ego vehicle. |
| category | The category of the Ego vehicle. |
| initialSpeedKMH | The initial speed of the Ego vehicle in km/h. |
|
inline |
Clones the Ego vehicle object.
|
inline |
Sets the category of the Ego vehicle.
| category | The category of the Ego vehicle. |
|
inline |
Sets the model of the Ego vehicle.
| model | The model of the Ego vehicle. |