You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature has become necessary for the ACT/DBT study (see Issue #33). How we might be able to do it:
First we need a new function in the robot API, say runProgram(programName) or runProgram(programID); the API can list all available programs for a given robot (just like it lists the faces and belly screens).
Currently a program is run as below. The code is actually not parsed, but some function calls can be easily modified (e.g. robot.sleep). If the program itself had some lines that are robot.runProgram and that function basically went and found the program from the database, turned it into codeText and used eval() to run it, like below, would that just work? We should try this as a first idea.
This feature has become necessary for the ACT/DBT study (see Issue #33). How we might be able to do it:
First we need a new function in the robot API, say runProgram(programName) or runProgram(programID); the API can list all available programs for a given robot (just like it lists the faces and belly screens).
Currently a program is run as below. The code is actually not parsed, but some function calls can be easily modified (e.g. robot.sleep). If the program itself had some lines that are
robot.runProgram
and that function basically went and found the program from the database, turned it intocodeText
and used eval() to run it, like below, would that just work? We should try this as a first idea.The text was updated successfully, but these errors were encountered: