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 optional parameters to scenarios #46

Open
geegaz opened this issue Jul 1, 2021 · 2 comments
Open

Add optional parameters to scenarios #46

geegaz opened this issue Jul 1, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@geegaz
Copy link
Collaborator

geegaz commented Jul 1, 2021

To be able to make more varied scenarios, here's a list of existing parameters that should be exposed in scenario files as optional parameters:

For Belts (accessible after initialization through input_belt and output_belt in Machines):

  • size (default = number of tiles, defined by the environment)

For InputMachines

  • infinite (default = false)
  • create_order (default = 0, values = 0,1,2) - invalid values are treated as 0
  • create_time (default = 0, values = 0,1) - invalid values are treated as 0
  • time_step (default = 15)
@geegaz geegaz added the enhancement New feature or request label Jul 1, 2021
@geegaz
Copy link
Collaborator Author

geegaz commented Jul 1, 2021

Thanks @Yirmandias for the suggestion !

For Robots

  • max_battery (default = 10)
  • battery_drain_rate (default = 0.1)
  • battery_charge_rate (default = 0.8)

@geegaz
Copy link
Collaborator Author

geegaz commented Jul 2, 2021

OutputMachines have an optional parameter that could be used in scenarios too

For OutputMachines

  • time_step (default = 20)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant