The design of an impact-resistant drivetrain for a robotic ball