Multi-stage neural networks with application to motion planning of a mechanical snake | IEEE Conference Publication | IEEE Xplore