Society of Robots - Robot Forum
Mechanics and Construction => Mechanics and Construction => Topic started by: snooza on January 30, 2010, 04:07:37 PM
-
how do i get a robot to detect an object and pick it up. as in instead of sayin left arm down / up bit that way shut claw. how can i get it to do that by telling it one command?
-
By code abstraction.
You would have a command (calls a function) that does a high level or abstracted task. But to do so all the individual tasks will need code such as 'left arm down 10cm' etc.
Its kinda like when you click on the 'post a new thread' button on this web site. That one mouse click does a lot but there is lots of code at different level being executed.