MCPcopy Create free account
hub / github.com/bitcraze/crazyflie-lib-python / reset_estimator

Function reset_estimator

examples/autonomousSequence.py:100–106  ·  view source on GitHub ↗
(scf)

Source from the content-addressed store, hash-verified

98
99
100def reset_estimator(scf):
101 cf = scf.cf
102 cf.param.set_value('kalman.resetEstimation', '1')
103 time.sleep(0.1)
104 cf.param.set_value('kalman.resetEstimation', '0')
105
106 wait_for_position_estimator(cf)
107
108
109def position_callback(timestamp, data, logconf):

Callers 1

Calls 2

set_valueMethod · 0.80

Tested by

no test coverage detected