MCPcopy Create free account

hub / github.com/apssouza22/smart-drone / functions

Functions402 in github.com/apssouza22/smart-drone

↓ 1 callersMethodcalculate_point
(self)
pathplan/pathcontroller.py:64
↓ 1 callersFunctioncleanTouchActions
* 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 callersMethodclean_position_history
(self)
common/drone.py:71
↓ 1 callersFunctioncomputeDeltaXY
(session, input)
webserver/static/hammer-lib.js:578
↓ 1 callersFunctioncomputeInputData
* 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 callersFunctioncomputeIntervalInputData
* velocity is calculated every x ms * @param {Object} session * @param {Object} input
webserver/static/hammer-lib.js:605
↓ 1 callersFunctioncreateHammerControl
(psp, stage, myElement)
webserver/static/joystick.js:59
↓ 1 callersFunctioncreateInputInstance
* create new input type manager * called by the Manager constructor * @param {Hammer} manager * @returns {Input}
webserver/static/hammer-lib.js:470
↓ 1 callersMethodcvimage_to_pygame
Convert cvimage into a pygame image
common/pygamescreen.py:34
↓ 1 callersMethoddelete_path_plan_file
()
pathplan/pathcontroller.py:104
↓ 1 callersMethoddisplay_info
(self, tello, frame, fps)
common/info.py:25
↓ 1 callersMethoddraw_all
(self, image)
common/mediapipewrapper.py:115
↓ 1 callersMethoddraw_body
Draw on 'frame' pairs of keypoints
gesturecontrol/bodydetector.py:118
↓ 1 callersMethoddraw_pairs_points
Draw on 'frame' pairs of keypoints
gesturecontrol/bodydetector.py:123
↓ 1 callersMethoddraw_path
Draw drone moves
common/mapping.py:15
↓ 1 callersMethoddraw_way_points
(self, img=None)
pathplan/pathcontroller.py:83
↓ 1 callersMethodeval_pose_command
(self, frame, proximity)
common/controller.py:177
↓ 1 callersMethodfind_left_hand_position
(self, img, draw=True)
common/mediapipewrapper.py:49
↓ 1 callersMethodfind_pose
(self, img, draw=True)
common/mediapipewrapper.py:20
↓ 1 callersMethodfind_pose_position
(self, img, draw=True)
common/mediapipewrapper.py:35
↓ 1 callersMethodfind_right_hand_position
(self, img, draw=True)
common/mediapipewrapper.py:63
↓ 1 callersMethodfind_target
If in tracking mode and no body detected, the drone will try to find a body
gesturecontrol/tracking.py:21
↓ 1 callersFunctionget
(value)
webserver/static/createjs-lib.js:14268
↓ 1 callersFunctiongetCanSendMaxMessageSize
(remoteIsFirefox)
webserver/static/webrtc-lib.js:1309
↓ 1 callersMethodgetCommand
(position, myElement)
webserver/static/joystick.js:49
↓ 1 callersMethodgetJoysticPosition
(x, y)
webserver/static/joystick.js:31
↓ 1 callersFunctiongetMaxMessageSize
(description, remoteIsFirefox)
webserver/static/webrtc-lib.js:1340
↓ 1 callersFunctiongetRemoteFirefoxVersion
(description)
webserver/static/webrtc-lib.js:1298
↓ 1 callersFunctiongetRotation
* 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 callersFunctiongetScale
* 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 callersFunctiongetTouchActionProps
()
webserver/static/hammer-lib.js:1337
↓ 1 callersMethodget_angle
(self)
pathplan/pathcontroller.py:69
↓ 1 callersFunctionget_angle_btw_line
Get angle between two lines respective to 'posref' NOTE: using dot product calculation.
pathplan/pathplanning.py:54
↓ 1 callersMethodget_battery
(self)
common/drone.py:37
↓ 1 callersMethodget_best_body_position
(self, controller, w, h)
gesturecontrol/tracking.py:63
↓ 1 callersMethodget_both_arms_pose
Both hands up - Check if both hands are on the ears
gesturecontrol/posecheck.py:186
↓ 1 callersMethodget_both_hands_pose
(self)
gesturecontrol/posecheck.py:100
↓ 1 callersMethodget_both_hands_pose
(self, controller)
gesturecontrol/posecheck.py:124
↓ 1 callersMethodget_command
(self)
pathplan/pathcontroller.py:51
↓ 1 callersMethodget_commands
(self)
gesturecontrol/posecommand.py:84
↓ 1 callersMethodget_frame
(self)
common/drone.py:27
↓ 1 callersFunctionget_keys_control
Define keys and add listener
common/pygamescreen.py:84
↓ 1 callersMethodget_left_arm_pose
Left ear and left hand on the same side
gesturecontrol/posecheck.py:216
↓ 1 callersMethodget_left_hand_pose
(self, frame)
gesturecontrol/posecheck.py:113
↓ 1 callersMethodget_left_hand_pose
(self, controller)
gesturecontrol/posecheck.py:135
↓ 1 callersMethodget_pose
Check if we detect a pose in the body detected by MediaPipe
gesturecontrol/posecheck.py:66
↓ 1 callersMethodget_position_history
(self)
common/drone.py:68
↓ 1 callersMethodget_right_arm_pose
Right ear and right hand on the same side
gesturecontrol/posecheck.py:202
↓ 1 callersMethodget_right_hand_pose
(self, frame)
gesturecontrol/posecheck.py:106
↓ 1 callersMethodget_right_hand_pose
(self, controller)
gesturecontrol/posecheck.py:142
↓ 1 callersMethodhandle
(self, axis_speed_source, is_flying)
pathplan/pathmanager.py:19
↓ 1 callersMethodhandle
(self)
webserver/websocket.py:12
↓ 1 callersMethodhandle_drone_path
handle the drone path drawing and drone path planning
common/controller.py:146
↓ 1 callersMethodhandle_point_reached
(self)
pathplan/pathmanager.py:54
↓ 1 callersMethodhandle_rotation
(self)
pathplan/pathmanager.py:66
↓ 1 callersMethodhandle_takeoff
(self)
common/controller.py:139
↓ 1 callersMethodhas_reached_point
(self, x, y)
pathplan/pathcontroller.py:91
↓ 1 callersMethodinit_pygame_screen
()
common/pygamescreen.py:39
↓ 1 callersMethodinit_sounds
Initiate the sound feedback
common/controller.py:95
↓ 1 callersMethodis_pressing
Calculate the brightness of a frame and returns True if the brightness is below 'threshold' (= pressing)
common/cameramorse.py:63
↓ 1 callersFunctionkey_quit
(tello)
common/pygamescreen.py:128
↓ 1 callersMethodload_limbs
(self, controller)
gesturecontrol/posecheck.py:89
↓ 1 callersFunctionmain
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 callersMethodmorse_eval
We are not flying, we check a potential morse code
common/controller.py:187
↓ 1 callersMethodmove
(self)
pathplan/pathcontroller.py:41
↓ 1 callersMethodnegotiate
()
webserver/static/webrtc.js:4
↓ 1 callersFunctiono
(i,f)
webserver/static/webrtc-lib.js:1
↓ 1 callersFunctiono
()
webserver/static/createjs-lib.js:61
↓ 1 callersMethodopen_path_panning
Open the path planning screen for drawing the drone path
common/controller.py:74
↓ 1 callersMethodpalm_land
Tell drone to land
common/controller.py:237
↓ 1 callersMethodpath_plan
(self, is_flying)
pathplan/pathmanager.py:29
↓ 1 callersMethodpopulate_neck_mid_hip
Populate neck and mid_hip points in the body
common/mediapipewrapper.py:77
↓ 1 callersMethodpose_eval
Call to pose detection
common/controller.py:153
↓ 1 callersMethodread_path_plan
(self)
pathplan/pathcontroller.py:31
↓ 1 callersFunctionreplaceExternalStreamId
(pc, description)
webserver/static/webrtc-lib.js:797
↓ 1 callersMethodroute
(self, method: str, path: str, **kwargs: Any)
webserver/routers.py:12
↓ 1 callersMethodrun
(self, pose)
gesturecontrol/posecommand.py:13
↓ 1 callersFunctionrun_http_server
(runner)
webserver/server.py:43
↓ 1 callersFunctionsctpInDescription
(description)
webserver/static/webrtc-lib.js:1286
↓ 1 callersMethodsend_frame
(self, frame)
webserver/manager.py:28
↓ 1 callersMethodsend_msg
(self, msg)
webserver/manager.py:31
↓ 1 callersFunctionserialize
(property, object, callback, properties, whitespace, indentation, stack)
webserver/static/createjs-lib.js:13924
↓ 1 callersFunctionset_cors
(my_app, offer_route)
webserver/server.py:16
↓ 1 callersMethodset_current_position
If we are doing a 360, where are we in our 360 ?
common/controller.py:197
↓ 1 callersMethodset_logging
Set logging framework
common/controller.py:81
↓ 1 callersFunctionshimAddTrackRemoveTrackWithNative
(window)
webserver/static/webrtc-lib.js:600
↓ 1 callersFunctionshimConstraints
(constraints)
webserver/static/webrtc-lib.js:2276
↓ 1 callersFunctionskip_frame
()
main.py:16
↓ 1 callersMethodstart_http
(self)
webserver/manager.py:17
↓ 1 callersMethodstart_socket
(self)
webserver/manager.py:23
↓ 1 callersMethodstart_stream
(self)
common/drone.py:30
↓ 1 callersFunctiontake_off
(drone: Drone)
common/pygamescreen.py:123
↓ 1 callersMethodtoggle_gesture_control
Enable | Disable control by gesture
common/controller.py:256
↓ 1 callersMethodtrack_target
If in tracking mode, the drone will try to track the target
gesturecontrol/tracking.py:38
↓ 1 callersFunctiontriggerDomEvent
* trigger dom event * @param {String} event * @param {Object} data
webserver/static/hammer-lib.js:2568
↓ 1 callersFunctionuniqueId
()
webserver/static/hammer-lib.js:367
↓ 1 callersMethodupdate
(self, right_left, forward_back, up_down, rotation)
common/drone.py:60
↓ 1 callersMethodupdate_axis
(self, right_left, forward_back, up_down, rotation)
common/drone.py:97
↓ 1 callersFunctionwalkStats
(stats, base, resultSet)
webserver/static/webrtc-lib.js:2628
↓ 1 callersMethodwatch
Watch for drone moves
common/drone.py:86
← previousnext →101–200 of 402, ranked by callers