connect Drone
Connects a drone identified by its uid.
Connects the drone with the best available connector, chosen as follows:
- If there is only one available connector, then it is used to connect the drone. Otherwise,
- if there is only one available remote control connector, then it is used to connect the drone.
false
is returned. connectDrone method shall be used to select an appropriate connector instead.Return
true
if the connection process has started, otherwise false
, for example if the drone is not visible anymore
Parameters
uid of the drone to connect
Connects a drone identified by its uid using a specific connector.
Return
true
if the connection process has started, otherwise false
, for example if the drone is not visible anymore
Parameters
uid of the drone to connect
the connector through which to establish the connection
Connects a secured drone identified by its uid.
Return
true
if the connection process has started, otherwise false
, for example if the drone is not visible anymore
Parameters
uid of the drone to connect
the connector through which to establish the connection
password to use for authentication