Skip to main content

get_color_data()

Description#

Getter function that gets a list of color data from the drone

Syntax#

get_color_data()

Parameters#

None

Returns#

Returns a list of color data.

Example Code#
Python#
#Python code
from codrone_edu.drone import *
drone = Drone()
drone.pair()
color_data = drone.get_color_data()
drone.close()