ysl208 / iRoPro

iRoPro on Baxter
MIT License
4 stars 0 forks source link

allow user to switch parameter order #30

Open ysl208 opened 5 years ago

ysl208 commented 5 years ago
ysl208 commented 5 years ago

any parameters in action description need to be generated on save, not before then. so added two params actionDesc and genActionDesc which will be calculated on save.

ysl208 commented 5 years ago

making a local copy of parameter list actionParams = action.params on load, on save, it is copied back and sent to the database.

ysl208 commented 5 years ago

generateParams was called when any of the action.preconditions/effects were reloaded, this reset the params again -> moved generateParams to addPredicate and deletePred functions instead

ysl208 commented 5 years ago

BUG: types dont show up anymore on load, only after changing order