A system on chip design of A 6-axis robotic ARM controller implemented on a low-cost FPGA