Seen over at Technovelgy is a great video of a robot modelled on a starfish that, through a process of self-inspection to work out how it's all joined together and then generating a predictive model, teaches itself to walk.
Using it's onboard sensors, and going through a bootstrapping phase where it moves each of it's joints and checks the results, it builds a virtual model of itself. Then, through a stage of using random movements, it teaches itself a means of locomotion. As the robot teaches itself, it can relearn how to walk should it be damaged, for instance missing a joint.
Further information is available on the Cornell CCSL Robotics Self Modelling web site.
Starfish robot teaches itself to walk
Further information is available on the Cornell CCSL Robotics Self Modelling web site.