Implement textual "setup" initialization
Closed this issue · 4 comments
jonathanGB commented
First need to decide a format. JSON would be the easy/obvious way.
[
{
"label": Integer
"faulty": Bool,
"x": Number
},
...
]
jonathanGB commented
Next step is storing/loading commands. I think I will use localStorage.
jonathanGB commented
Now we need to be able to load the commands. As well, I think we should make it that using the UI to change the state of the setup should be reflected in the textual setup (e.g. if I add a robot by clicking on the axis, that robot should be added in the textarea)
jonathanGB commented
Realized setup as it is now doesn't care about vision (will default to 100): need to change the setup to take that value.
{
v: Number,
robots: [
...
]
}
jonathanGB commented
complete!