Many robotic vacuums can clean both hard floors and carpets. you should check their features before buying.