MCPcopy Create free account

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

Functions402 in github.com/apssouza22/smart-drone

↓ 65 callersMethodcall
(x, y, myElement)
webserver/static/joystick.js:23
↓ 32 callersMethodon
(self)
common/soundplayer.py:73
↓ 29 callersMethodadd
(self, info, color=None)
common/info.py:11
↓ 22 callersMethodget
(self)
common/fps.py:23
↓ 22 callersMethodload
(self, name, filename)
common/soundplayer.py:51
↓ 22 callersMethodplay
(self, name=None)
common/soundplayer.py:55
↓ 18 callersFunctionabort
()
webserver/static/createjs-lib.js:14102
↓ 16 callersMethodset_speed
(self, axis, speed)
common/controller.py:111
↓ 12 callersFunction_interopRequireWildcard
(obj)
webserver/static/webrtc-lib.js:50
↓ 12 callersMethodget_body_kp
Return the coordinates of a keypoint named 'kp_name', or None if keypoint not detected
gesturecontrol/bodydetector.py:137
↓ 12 callersFunctioninherit
* simple class inheritance * @param {Function} child * @param {Function} base * @param {Object} [properties]
webserver/static/hammer-lib.js:165
↓ 9 callersFunctiondistance
Calculate the square of the distance between points A and B
gesturecontrol/posecheck.py:7
↓ 9 callersFunctiontoPaddedString
(width, value)
webserver/static/createjs-lib.js:13889
↓ 9 callersMethodupdate
(self, frame)
webserver/video.py:16
↓ 8 callersMethoddraw
(self, frame)
common/info.py:15
↓ 8 callersFunctioneach
* walk objects and arrays * @param {Object} obj * @param {Function} iterator * @param {Object} context
webserver/static/hammer-lib.js:52
↓ 8 callersFunctionlex
()
webserver/static/createjs-lib.js:14110
↓ 8 callersFunctionremap
(obj, a, b)
webserver/static/webrtc-lib.js:1074
↓ 7 callersFunctioninStr
* small indexOf wrapper * @param {String} str * @param {String} find * @returns {Boolean} found
webserver/static/hammer-lib.js:261
↓ 6 callersFunctioninArray
* find if a array contains the object using indexOf or a simple polyFill * @param {Array} src * @param {String} find * @param {String}
webserver/static/hammer-lib.js:281
↓ 6 callersFunctioninvokeArrayArg
* if the argument is an array, we want to execute the fn on each entry * if it aint an array we don't want to do a thing. * this is used by
webserver/static/hammer-lib.js:38
↓ 6 callersMethodjson
(self, data, status: int = 200)
webserver/controllers.py:15
↓ 6 callersMethodstart
()
webserver/static/webrtc.js:47
↓ 6 callersMethodstop
()
webserver/static/webrtc.js:67
↓ 5 callersFunctionoldname_
(prefix, name)
webserver/static/webrtc-lib.js:1030
↓ 5 callersMethodupdate
(self)
common/fps.py:13
↓ 4 callersFunction_defineProperty
(obj, key, value)
webserver/static/webrtc-lib.js:234
↓ 4 callersMethodadd_listener
(self, fn, event)
common/pygamescreen.py:45
↓ 4 callersFunctionemit
(event)
webserver/static/hammer-lib.js:1526
↓ 4 callersFunctiongetDay
(year, month)
webserver/static/createjs-lib.js:13753
↓ 4 callersFunctiongetDistance
* calculate the absolute distance between two points * @param {Object} p1 {x, y} * @param {Object} p2 {x, y} * @param {Array} [props] c
webserver/static/hammer-lib.js:729
↓ 4 callersFunctiongetRecognizerByNameIfManager
* get a recognizer by name if it is bound to a manager * @param {Recognizer|String} otherRecognizer * @param {Recognizer} recognizer *
webserver/static/hammer-lib.js:1672
↓ 4 callersMethodget_finger_counts
(hand_kps, right=False)
gesturecontrol/posecheck.py:150
↓ 4 callersFunctionhas
(name)
webserver/static/createjs-lib.js:13604
↓ 4 callersMethodland
(self)
common/drone.py:55
↓ 4 callersMethodoff
(self)
common/soundplayer.py:77
↓ 4 callersMethodsend
(self, message: str)
webserver/websocket.py:19
↓ 4 callersFunctionsplitStr
* split string on whitespace * @param {String} str * @returns {Array} words
webserver/static/hammer-lib.js:270
↓ 4 callersMethodtest
(self, request)
webserver/controllers.py:25
↓ 4 callersFunctiontoArray
* convert array-like objects to real arrays * @param {Object} obj * @returns {Array}
webserver/static/hammer-lib.js:301
↓ 3 callersFunctionaddEventListeners
* addEventListener with multiple events at once * @param {EventTarget} target * @param {String} types * @param {Function} handler
webserver/static/hammer-lib.js:220
↓ 3 callersFunctionboolOrFn
* let a boolean value also be a function that must return a boolean * this first item in args will be used as the context * @param {Boolean|
webserver/static/hammer-lib.js:197
↓ 3 callersFunctionconstraintsToChrome_
(c)
webserver/static/webrtc-lib.js:1017
↓ 3 callersMethoddefine_command
Add a (code, command, args) to the dictionary of the command 'command' is a python function kwargs is a optionnal
common/cameramorse.py:53
↓ 3 callersMethoddraw_landmarks
(self, img, landmarks, connections)
common/mediapipewrapper.py:32
↓ 3 callersMethodeval
Analyze the frame 'frame', detect potential 'dot' or 'dash', and if so, check if we get a defined code Returns:
common/cameramorse.py:77
↓ 3 callersFunctionextractVersion
* Extract browser version out of the provided user agent string. * * @param {!string} uastring userAgent string. * @param {
webserver/static/webrtc-lib.js:2437
↓ 3 callersFunctiongetAngle
* calculate the angle between two coordinates * @param {Object} p1 * @param {Object} p2 * @param {Array} [props] containing x and y key
webserver/static/hammer-lib.js:746
↓ 3 callersFunctionget_distance
Get distance between 2 position.
common/utils.py:4
↓ 3 callersMethodload_background
(self, img=None)
common/pygamescreen.py:21
↓ 3 callersFunctionprefixed
* get the prefixed property * @param {Object} obj * @param {String} property * @returns {String|Undefined} prefixed
webserver/static/hammer-lib.js:345
↓ 3 callersMethodprocess
Process event loop
common/controller.py:115
↓ 3 callersFunctionremoveEventListeners
* removeEventListener with multiple events at once * @param {EventTarget} target * @param {String} types * @param {Function} handler
webserver/static/hammer-lib.js:232
↓ 3 callersFunctionreplaceInternalStreamId
(pc, description)
webserver/static/webrtc-lib.js:785
↓ 3 callersFunctionsetTimeoutContext
* set a timeout with a given scope * @param {Function} fn * @param {Number} timeout * @param {Object} context * @returns {number}
webserver/static/hammer-lib.js:25
↓ 3 callersMethodtake_picture
Tell drone to take picture, image sent to file handler
common/controller.py:225
↓ 3 callersMethodtoggle_tracking
If tracking is None, toggle value of self.tracking Else self.tracking take the same value as tracking
common/controller.py:266
↓ 2 callersFunctionbindFn
* simple function bind * @param {Function} fn * @param {Object} context * @returns {Function}
webserver/static/hammer-lib.js:184
↓ 2 callersMethodcheck_command
(self)
common/cameramorse.py:71
↓ 2 callersFunctioncreateJoystick
(myElementId)
webserver/static/joystick.js:98
↓ 2 callersFunctiondeprecate
* wrap a method with a deprecation warning and stack trace * @param {Function} method * @param {String} name * @param {String} message
webserver/static/hammer-lib.js:81
↓ 2 callersFunctiondirectionStr
* direction cons to string * @param {Const} direction * @returns {String}
webserver/static/hammer-lib.js:1653
↓ 2 callersFunctionfixChromeStats_
(response)
webserver/static/webrtc-lib.js:443
↓ 2 callersFunctiongetCenter
* get the center of all the pointers * @param {Array} pointers * @return {Object} center contains `x` and `y` properties
webserver/static/hammer-lib.js:667
↓ 2 callersFunctiongetDirection
* get the direction between two points * @param {Number} x * @param {Number} y * @return {Number} direction
webserver/static/hammer-lib.js:711
↓ 2 callersFunctiongetVelocity
* calculate the velocity between two points. unit is in px per ms. * @param {Number} deltaTime * @param {Number} x * @param {Number} y
webserver/static/hammer-lib.js:698
↓ 2 callersFunctiongetWindowForElement
* get the window object of an element * @param {HTMLElement} element * @returns {DocumentView|Window}
webserver/static/hammer-lib.js:376
↓ 2 callersFunctionhasParent
* find if a node is in the given parent * @method hasParent * @param {HTMLElement} node * @param {HTMLElement} parent * @return {B
webserver/static/hammer-lib.js:245
↓ 2 callersFunctionifUndefined
* use the val2 when val1 is undefined * @param {*} val1 * @param {*} val2 * @returns {*}
webserver/static/hammer-lib.js:210
↓ 2 callersFunctionisObject
* Checks if something is an object. * * @param {*} val The something you want to check. * @return true if val is an object,
webserver/static/webrtc-lib.js:2602
↓ 2 callersFunctionmakeMapStats
(stats)
webserver/static/webrtc-lib.js:465
↓ 2 callersFunctionquote
(value)
webserver/static/createjs-lib.js:13900
↓ 2 callersMethodread
(self)
webserver/video.py:11
↓ 2 callersFunctionrunInContext
(context, exports)
webserver/static/createjs-lib.js:13565
↓ 2 callersFunctionsave_path_plan
Compute the waypoints (distance and angle).
pathplan/pathplanning.py:8
↓ 2 callersMethodsend_drone_command
(self)
common/controller.py:210
↓ 2 callersFunctionsetup_server_runner
(video: VideoSource, drone_control: PyGameScreen)
webserver/server.py:28
↓ 2 callersFunctionshimConstraints_
(constraints, func)
webserver/static/webrtc-lib.js:1068
↓ 2 callersFunctionshimError_
(e)
webserver/static/webrtc-lib.js:1128
↓ 2 callersFunctionshimSenderWithDtmf
(pc, track)
webserver/static/webrtc-lib.js:318
↓ 2 callersFunctionsimpleCloneInputData
* create a simple clone from the input used for storage of firstInput and firstMultiple * @param {Object} input * @returns {Object} clonedIn
webserver/static/hammer-lib.js:640
↓ 2 callersMethodstart
(self)
common/drone.py:19
↓ 2 callersFunctionstateStr
* get a usable string, used as event postfix * @param {Const} state * @returns {String} state
webserver/static/hammer-lib.js:1635
↓ 2 callersMethodtakeoff
(self)
common/drone.py:49
↓ 2 callersFunctiontoggleCssProps
* add/remove the css properties as defined in manager.options.cssProps * @param {Manager} manager * @param {Boolean} add
webserver/static/hammer-lib.js:2543
↓ 2 callersMethodtoggle_tracking
(controller, log)
gesturecontrol/posecommand.py:76
↓ 2 callersFunctionuniqueArray
* unique array with objects based on a key (like 'id') or just by the array's value * @param {Array} src [{id:1},{id:2},{id:1}] * @param {St
webserver/static/hammer-lib.js:312
↓ 2 callersFunctionupdate
(source, property, callback)
webserver/static/createjs-lib.js:14351
↓ 2 callersFunctionvertical_angle
Calculate the angle between segment(A,B) and vertical axe
gesturecontrol/posecheck.py:24
↓ 2 callersFunctionwalk
(source, property, callback)
webserver/static/createjs-lib.js:14363
↓ 2 callersFunctionwrapDcSend
(dc, pc)
webserver/static/webrtc-lib.js:1430
↓ 1 callersMethod__init__
(self, freq=440, debug=False)
common/soundplayer.py:67
↓ 1 callersMethod__init__
(self)
webserver/video.py:7
↓ 1 callersMethod__init__
(self, control: PyGameScreen)
webserver/controllers.py:20
↓ 1 callersFunction_interopRequireDefault
(obj)
webserver/static/webrtc-lib.js:1222
↓ 1 callersFunctionaddListeners
()
webserver/static/main.js:20
↓ 1 callersMethodadd_class_routes
(self, instance: Any)
webserver/routers.py:25
↓ 1 callersMethodadd_listeners
(self)
common/pygamescreen.py:53
↓ 1 callersFunctioncalculateCoords
(angle, distance)
webserver/static/joystick.js:119
↓ 1 callersMethodcalculate_current_position
(self)
common/drone.py:105
next →1–100 of 402, ranked by callers