To rig a man

To rig a man, a noble endeavor,

I need some help, building the slimmest most optimised dynamic walk controller, and dynamic input and output to servo motors, on the cheapest, toughest, micro-computer, also a real time displacement map, that works for physics is to be generated via some type of sensor, be it passive optical, l.a.d.a.r, sonar etc, to define terrain for the system to “decide” how to offset the stock walk-level, walk up, walk down, spin in place, left and right,

these will work in the blender game engine and in the real world, so it may animate a IK rig just as good as it animates a man…

Help?