unpack_sensor_data function

Unpack raw sensor data