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

Function is_close

examples/multiranger_push.py:63–69  ·  view source on GitHub ↗
(range)

Source from the content-addressed store, hash-verified

61
62
63def is_close(range):
64 MIN_DISTANCE = 0.2 # m
65
66 if range is None:
67 return False
68 else:
69 return range < MIN_DISTANCE
70
71
72if __name__ == '__main__':

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected