It works using TCP, so I will inject a command and the robot arm will start doing that command. Once the robot arm is done, it returns the exact same message that started it, letting me know that the operation has been completed successfully.
What is the best/neatest code you would use for continuously injecting the commands in the given order (see above picture)? I am not quit sure how the best way to approach this.
Wow, what a cool project - looks like a lot of fun!
Does the robot answer with state information, i.e., "the arm is at this position" - if so then you can have a switch node that ensures the appropriate command for the position is sent to the robot. Something like:
state --> command
arm is at rest --> send command to pick up photo
arm has picked up picture --> move arm to scanner
arm is at scanner --> drop picture on scanner
...
Sending blindly commands in order ensures that if something goes wrong, it will get worse! I.e. if you're not inspecting state of the robot arm then sending commands might well just make it worse.
Also do you get feedback from the scanner? Can you fully automate this process?
So, the next thing I need to solve is a mechanical "issue": When I apply a vacuum to the photos on the scanner, the suction goes right through the pictures (a photo is apparently VERY permeable), so instead of the robot lifting the picture as intended, it tries to lift the whole scanner... to be continued
I could, but then I would also have to make the automatic feeding and watering system for him... and I am also a little bit skeptical about the reliability, how do you keep him motivated to keep taking photo number 151 of Aunt Gerdas infamous boring birthday party out of the scanner? I do not want to make him watch, what I have already lived