Robotic control and balancing