Automatic and robotic control