Steerable scanning and perception system with active illumination