Design of a dedicated CNN chip for autonomous robot navigation