Leg hormones flow is now working.
Topology detection implemented. Tested on two robots.