Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a VehicleType enum? #111

Open
Laykel opened this issue Apr 28, 2019 · 0 comments
Open

Add a VehicleType enum? #111

Laykel opened this issue Apr 28, 2019 · 0 comments
Assignees
Labels
Simulation To do with the model, the overarching structure

Comments

@Laykel
Copy link
Collaborator

Laykel commented Apr 28, 2019

Currently, we have only one vehicle type stored in a file, but we could have others. it would make sense to handle those types in the same way we handle VehicleControllerTypes, which means with an enum.

Example of other config file (for a truck):

<?xml version="1.0" encoding="UTF-8" ?>
<vehicle>
    <length>3.9</length>
    <width>1.2</width>
    <maxSpeed>22.22</maxSpeed>
</vehicle>

This is a feature we hadn't planned, but that could be interesting in the long run.

@Laykel Laykel added the Simulation To do with the model, the overarching structure label Apr 28, 2019
@Laykel Laykel self-assigned this Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Simulation To do with the model, the overarching structure
Projects
None yet
Development

No branches or pull requests

1 participant