Add code using sensor data and rotate camera according to angle from the sensor.