dicarlolab / ThreeDWorld

Generator of interactive Unity-based 3D environments with physics
Other
21 stars 4 forks source link

Procedural Generation Parameters in JSON interface #17

Closed honeybunches-of-oates closed 8 years ago

honeybunches-of-oates commented 8 years ago

Need specs for what parameters are to be added

honeybunches-of-oates commented 8 years ago

Instead of JSON, alternative could be to have agent program start the environment process remotely and sync config files to specific folder on node, or we could use JSON, have a process always running on the environment that handles receiving these JSON configs, translates them and then starts environment processes on the requested ports, this program could also be used as your forwarding port number thus "eliminating" the port forwarding bug since all communication would be to this program which could then start processes on the actual port requested. This could also be used to manage processes/cycle through environments if say you want to make multiple environments to train an agent in sequentially.

honeybunches-of-oates commented 8 years ago

tdw_client library has a method load_config which loads a config in json format which will be sent to the environment when starting up. furthermore a scene switch can be requested which will also make use of the most recently loaded config sent as a json