Skyctrl.Factory

command message olympe.messages.skyctrl.Factory.Reset(_timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09), _int_tol=0)

skyctrl.Factory.Reset

This command will request a factory reset from the SkyController. The factory reset procedure implies an automatic reboot, which will be done immediately after recieving this command.

Parameters:

_timeoutint

command message timeout (defaults to 10)

_no_expectbool

if True, do not expect the usual command expectation (defaults to False)

_float_toltuple

specify the float comparison tolerance, a 2-tuple containing a relative tolerance float value and an absolute tolerate float value (default to (1e-07, 1e-09)). See python 3 stdlib math.isclose documentation for more information

_matching_modeolympe.MatchingMode

specify the expectation matching mode (default to olympe.MatchingMode.pattern)

_int_tolint

specify the int comparison tolerance, an int containing an absolute tolerate int value (default to 0)

Supported by:

SkyController3:

with an up to date firmware

Result: The SkyController will reboot, all settings will be reset to their default values. SkyController 2 that were paired in factory will NOT lose this pairing. SkyController 1 will lose ALL pairing, including factory ones.