This is a getter function gets the drone's temperature from the barometer.
The sensor reads the drone’s temperature, not the air around it.
The temperature in Celsius as an integer.
drone = CoDrone_mini.CoDrone()
# print the temperature
time.sleep(1) # to prevent skipping for an accurate reading
temperature = drone.get_drone_temp()