how to make a scriptable robot?
Does anyone have an idea on how i can make a robot scriptable? So that anyone could program the robots to take actions without worrying about the hard stuff.
To be clear, i would like to do something like this: An user, could get my robot with ros running. He would then, in his notebook with ros running too, open a node that provides a window, so that he can script an action to the robot. Something like:
move("livining_room");
object = detect("cube");
for(int i = 0; i<object.getNumberOfObjects(); ++i){
grap(object[i]);
move("room");
release();
move("livining_room");
}
shutDown();
the node would process that and send messages to a node controlling the robot. My question really is how to embedd a script language to accomplish this. Could anyone give me some direction? And what language would be the best to do so? i was thinking about lua or python (i don't know neither one). Thanks