Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apssouza22/smart-drone
/ functions
Functions
402 in github.com/apssouza22/smart-drone
⨍
Functions
402
◇
Types & classes
32
↳
Endpoints
2
↓ 1 callers
Method
calculate_point
(self)
pathplan/pathcontroller.py:64
↓ 1 callers
Function
cleanTouchActions
* when the touchActions are collected they are not a valid value, so we need to clean things up. * * @param {String} actions * @returns {*}
webserver/static/hammer-lib.js:1307
↓ 1 callers
Method
clean_position_history
(self)
common/drone.py:71
↓ 1 callers
Function
computeDeltaXY
(session, input)
webserver/static/hammer-lib.js:578
↓ 1 callers
Function
computeInputData
* extend the data with some usable properties like scale, rotate, velocity etc * @param {Object} manager * @param {Object} input
webserver/static/hammer-lib.js:526
↓ 1 callers
Function
computeIntervalInputData
* velocity is calculated every x ms * @param {Object} session * @param {Object} input
webserver/static/hammer-lib.js:605
↓ 1 callers
Function
createHammerControl
(psp, stage, myElement)
webserver/static/joystick.js:59
↓ 1 callers
Function
createInputInstance
* create new input type manager * called by the Manager constructor * @param {Hammer} manager * @returns {Input}
webserver/static/hammer-lib.js:470
↓ 1 callers
Method
cvimage_to_pygame
Convert cvimage into a pygame image
common/pygamescreen.py:34
↓ 1 callers
Method
delete_path_plan_file
()
pathplan/pathcontroller.py:104
↓ 1 callers
Method
display_info
(self, tello, frame, fps)
common/info.py:25
↓ 1 callers
Method
draw_all
(self, image)
common/mediapipewrapper.py:115
↓ 1 callers
Method
draw_body
Draw on 'frame' pairs of keypoints
gesturecontrol/bodydetector.py:118
↓ 1 callers
Method
draw_pairs_points
Draw on 'frame' pairs of keypoints
gesturecontrol/bodydetector.py:123
↓ 1 callers
Method
draw_path
Draw drone moves
common/mapping.py:15
↓ 1 callers
Method
draw_way_points
(self, img=None)
pathplan/pathcontroller.py:83
↓ 1 callers
Method
eval_pose_command
(self, frame, proximity)
common/controller.py:177
↓ 1 callers
Method
find_left_hand_position
(self, img, draw=True)
common/mediapipewrapper.py:49
↓ 1 callers
Method
find_pose
(self, img, draw=True)
common/mediapipewrapper.py:20
↓ 1 callers
Method
find_pose_position
(self, img, draw=True)
common/mediapipewrapper.py:35
↓ 1 callers
Method
find_right_hand_position
(self, img, draw=True)
common/mediapipewrapper.py:63
↓ 1 callers
Method
find_target
If in tracking mode and no body detected, the drone will try to find a body
gesturecontrol/tracking.py:21
↓ 1 callers
Function
get
(value)
webserver/static/createjs-lib.js:14268
↓ 1 callers
Function
getCanSendMaxMessageSize
(remoteIsFirefox)
webserver/static/webrtc-lib.js:1309
↓ 1 callers
Method
getCommand
(position, myElement)
webserver/static/joystick.js:49
↓ 1 callers
Method
getJoysticPosition
(x, y)
webserver/static/joystick.js:31
↓ 1 callers
Function
getMaxMessageSize
(description, remoteIsFirefox)
webserver/static/webrtc-lib.js:1340
↓ 1 callers
Function
getRemoteFirefoxVersion
(description)
webserver/static/webrtc-lib.js:1298
↓ 1 callers
Function
getRotation
* calculate the rotation degrees between two pointersets * @param {Array} start array of pointers * @param {Array} end array of pointers
webserver/static/hammer-lib.js:761
↓ 1 callers
Function
getScale
* calculate the scale factor between two pointersets * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out
webserver/static/hammer-lib.js:772
↓ 1 callers
Function
getTouchActionProps
()
webserver/static/hammer-lib.js:1337
↓ 1 callers
Method
get_angle
(self)
pathplan/pathcontroller.py:69
↓ 1 callers
Function
get_angle_btw_line
Get angle between two lines respective to 'posref' NOTE: using dot product calculation.
pathplan/pathplanning.py:54
↓ 1 callers
Method
get_battery
(self)
common/drone.py:37
↓ 1 callers
Method
get_best_body_position
(self, controller, w, h)
gesturecontrol/tracking.py:63
↓ 1 callers
Method
get_both_arms_pose
Both hands up - Check if both hands are on the ears
gesturecontrol/posecheck.py:186
↓ 1 callers
Method
get_both_hands_pose
(self)
gesturecontrol/posecheck.py:100
↓ 1 callers
Method
get_both_hands_pose
(self, controller)
gesturecontrol/posecheck.py:124
↓ 1 callers
Method
get_command
(self)
pathplan/pathcontroller.py:51
↓ 1 callers
Method
get_commands
(self)
gesturecontrol/posecommand.py:84
↓ 1 callers
Method
get_frame
(self)
common/drone.py:27
↓ 1 callers
Function
get_keys_control
Define keys and add listener
common/pygamescreen.py:84
↓ 1 callers
Method
get_left_arm_pose
Left ear and left hand on the same side
gesturecontrol/posecheck.py:216
↓ 1 callers
Method
get_left_hand_pose
(self, frame)
gesturecontrol/posecheck.py:113
↓ 1 callers
Method
get_left_hand_pose
(self, controller)
gesturecontrol/posecheck.py:135
↓ 1 callers
Method
get_pose
Check if we detect a pose in the body detected by MediaPipe
gesturecontrol/posecheck.py:66
↓ 1 callers
Method
get_position_history
(self)
common/drone.py:68
↓ 1 callers
Method
get_right_arm_pose
Right ear and right hand on the same side
gesturecontrol/posecheck.py:202
↓ 1 callers
Method
get_right_hand_pose
(self, frame)
gesturecontrol/posecheck.py:106
↓ 1 callers
Method
get_right_hand_pose
(self, controller)
gesturecontrol/posecheck.py:142
↓ 1 callers
Method
handle
(self, axis_speed_source, is_flying)
pathplan/pathmanager.py:19
↓ 1 callers
Method
handle
(self)
webserver/websocket.py:12
↓ 1 callers
Method
handle_drone_path
handle the drone path drawing and drone path planning
common/controller.py:146
↓ 1 callers
Method
handle_point_reached
(self)
pathplan/pathmanager.py:54
↓ 1 callers
Method
handle_rotation
(self)
pathplan/pathmanager.py:66
↓ 1 callers
Method
handle_takeoff
(self)
common/controller.py:139
↓ 1 callers
Method
has_reached_point
(self, x, y)
pathplan/pathcontroller.py:91
↓ 1 callers
Method
init_pygame_screen
()
common/pygamescreen.py:39
↓ 1 callers
Method
init_sounds
Initiate the sound feedback
common/controller.py:95
↓ 1 callers
Method
is_pressing
Calculate the brightness of a frame and returns True if the brightness is below 'threshold' (= pressing)
common/cameramorse.py:63
↓ 1 callers
Function
key_quit
(tello)
common/pygamescreen.py:128
↓ 1 callers
Method
load_limbs
(self, controller)
gesturecontrol/posecheck.py:89
↓ 1 callers
Function
main
Main function mock_drone = False will use your computer camera enable_web = start a web server with streaming video and remote control enable
main.py:30
↓ 1 callers
Method
morse_eval
We are not flying, we check a potential morse code
common/controller.py:187
↓ 1 callers
Method
move
(self)
pathplan/pathcontroller.py:41
↓ 1 callers
Method
negotiate
()
webserver/static/webrtc.js:4
↓ 1 callers
Function
o
(i,f)
webserver/static/webrtc-lib.js:1
↓ 1 callers
Function
o
()
webserver/static/createjs-lib.js:61
↓ 1 callers
Method
open_path_panning
Open the path planning screen for drawing the drone path
common/controller.py:74
↓ 1 callers
Method
palm_land
Tell drone to land
common/controller.py:237
↓ 1 callers
Method
path_plan
(self, is_flying)
pathplan/pathmanager.py:29
↓ 1 callers
Method
populate_neck_mid_hip
Populate neck and mid_hip points in the body
common/mediapipewrapper.py:77
↓ 1 callers
Method
pose_eval
Call to pose detection
common/controller.py:153
↓ 1 callers
Method
read_path_plan
(self)
pathplan/pathcontroller.py:31
↓ 1 callers
Function
replaceExternalStreamId
(pc, description)
webserver/static/webrtc-lib.js:797
↓ 1 callers
Method
route
(self, method: str, path: str, **kwargs: Any)
webserver/routers.py:12
↓ 1 callers
Method
run
(self, pose)
gesturecontrol/posecommand.py:13
↓ 1 callers
Function
run_http_server
(runner)
webserver/server.py:43
↓ 1 callers
Function
sctpInDescription
(description)
webserver/static/webrtc-lib.js:1286
↓ 1 callers
Method
send_frame
(self, frame)
webserver/manager.py:28
↓ 1 callers
Method
send_msg
(self, msg)
webserver/manager.py:31
↓ 1 callers
Function
serialize
(property, object, callback, properties, whitespace, indentation, stack)
webserver/static/createjs-lib.js:13924
↓ 1 callers
Function
set_cors
(my_app, offer_route)
webserver/server.py:16
↓ 1 callers
Method
set_current_position
If we are doing a 360, where are we in our 360 ?
common/controller.py:197
↓ 1 callers
Method
set_logging
Set logging framework
common/controller.py:81
↓ 1 callers
Function
shimAddTrackRemoveTrackWithNative
(window)
webserver/static/webrtc-lib.js:600
↓ 1 callers
Function
shimConstraints
(constraints)
webserver/static/webrtc-lib.js:2276
↓ 1 callers
Function
skip_frame
()
main.py:16
↓ 1 callers
Method
start_http
(self)
webserver/manager.py:17
↓ 1 callers
Method
start_socket
(self)
webserver/manager.py:23
↓ 1 callers
Method
start_stream
(self)
common/drone.py:30
↓ 1 callers
Function
take_off
(drone: Drone)
common/pygamescreen.py:123
↓ 1 callers
Method
toggle_gesture_control
Enable | Disable control by gesture
common/controller.py:256
↓ 1 callers
Method
track_target
If in tracking mode, the drone will try to track the target
gesturecontrol/tracking.py:38
↓ 1 callers
Function
triggerDomEvent
* trigger dom event * @param {String} event * @param {Object} data
webserver/static/hammer-lib.js:2568
↓ 1 callers
Function
uniqueId
()
webserver/static/hammer-lib.js:367
↓ 1 callers
Method
update
(self, right_left, forward_back, up_down, rotation)
common/drone.py:60
↓ 1 callers
Method
update_axis
(self, right_left, forward_back, up_down, rotation)
common/drone.py:97
↓ 1 callers
Function
walkStats
(stats, base, resultSet)
webserver/static/webrtc-lib.js:2628
↓ 1 callers
Method
watch
Watch for drone moves
common/drone.py:86
← previous
next →
101–200 of 402, ranked by callers