finish sensor_driver.py