It would be useful to define a simple configuration format that can be passed to a world configuration when a background is loaded.
[ ] define world configuration object
[ ] build world configuration object processor to set up a world in accordance with the configuration;
[ ] define a way of saving and loading world configuration objects.
The simplest approach might be to have paired image and configuration files (my_world.png and my_world.js or my_world.json). Another approach might be to try to bake the metadata into the image, eg text metadata within the PNG file.
When we load a background into the simulator, we can also set obstacles,
robotSpecs
and arobotState` values. For example:It would be useful to define a simple configuration format that can be passed to a world configuration when a background is loaded.
The simplest approach might be to have paired image and configuration files (
my_world.png
andmy_world.js
ormy_world.json
). Another approach might be to try to bake the metadata into the image, eg text metadata within the PNG file.See also: