Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
63
def
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
72
if
__name__ ==
'__main__'
:
Callers
1
multiranger_push.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected