finish the ring buffer implementation and use it for receiving motor commands in order
finish the ring buffer implementation and use it for receiving motor commands in order