Added distance sensor printing.