Mechanism Design for Robotics