Who said UML was useless? Check this video showing to control two Lego Mindstorms robots
via Bluetooth and an UML Model consisting of 3 State Machines and 14 fUML activity diagrams to control the Motors, Sensors and the Logic of the robots.
The UML tool used is AMUSE – a UML execution environment for the Enterprise Architect from Sparx Systems. More technical details here.