Design of a low-cost autonomous mobile robot