node-poweredup 8.0.4 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.drone.yml +2 -2
- package/.gitmodules +0 -3
- package/.jsdoc.json +1 -2
- package/dist/browser/poweredup.js +1 -1
- package/dist/browser/poweredup.js.map +1 -1
- package/dist/node/color.js +5 -1
- package/dist/node/color.js.map +1 -1
- package/dist/node/consts.d.ts +21 -21
- package/dist/node/consts.js +27 -27
- package/dist/node/consts.js.map +1 -1
- package/dist/node/devices/absolutemotor.js +6 -2
- package/dist/node/devices/absolutemotor.js.map +1 -1
- package/dist/node/devices/basicmotor.js +5 -1
- package/dist/node/devices/basicmotor.js.map +1 -1
- package/dist/node/devices/colordistancesensor.js +7 -3
- package/dist/node/devices/colordistancesensor.js.map +1 -1
- package/dist/node/devices/currentsensor.js +6 -2
- package/dist/node/devices/currentsensor.js.map +1 -1
- package/dist/node/devices/device.d.ts +3 -1
- package/dist/node/devices/device.js +5 -1
- package/dist/node/devices/device.js.map +1 -1
- package/dist/node/devices/duplotrainbasecolorsensor.js +6 -2
- package/dist/node/devices/duplotrainbasecolorsensor.js.map +1 -1
- package/dist/node/devices/duplotrainbasemotor.js +5 -1
- package/dist/node/devices/duplotrainbasemotor.js.map +1 -1
- package/dist/node/devices/duplotrainbasespeaker.js +6 -2
- package/dist/node/devices/duplotrainbasespeaker.js.map +1 -1
- package/dist/node/devices/duplotrainbasespeedometer.js +6 -2
- package/dist/node/devices/duplotrainbasespeedometer.js.map +1 -1
- package/dist/node/devices/hubled.js +6 -2
- package/dist/node/devices/hubled.js.map +1 -1
- package/dist/node/devices/light.js +5 -1
- package/dist/node/devices/light.js.map +1 -1
- package/dist/node/devices/marioaccelerometer.js +6 -2
- package/dist/node/devices/marioaccelerometer.js.map +1 -1
- package/dist/node/devices/mariobarcodesensor.js +6 -2
- package/dist/node/devices/mariobarcodesensor.js.map +1 -1
- package/dist/node/devices/mariopantssensor.js +6 -2
- package/dist/node/devices/mariopantssensor.js.map +1 -1
- package/dist/node/devices/mediumlinearmotor.js +5 -1
- package/dist/node/devices/mediumlinearmotor.js.map +1 -1
- package/dist/node/devices/motionsensor.js +6 -2
- package/dist/node/devices/motionsensor.js.map +1 -1
- package/dist/node/devices/movehubmediumlinearmotor.js +5 -1
- package/dist/node/devices/movehubmediumlinearmotor.js.map +1 -1
- package/dist/node/devices/movehubtiltsensor.js +6 -2
- package/dist/node/devices/movehubtiltsensor.js.map +1 -1
- package/dist/node/devices/piezobuzzer.js +5 -1
- package/dist/node/devices/piezobuzzer.js.map +1 -1
- package/dist/node/devices/remotecontrolbutton.js +7 -3
- package/dist/node/devices/remotecontrolbutton.js.map +1 -1
- package/dist/node/devices/simplemediumlinearmotor.js +5 -1
- package/dist/node/devices/simplemediumlinearmotor.js.map +1 -1
- package/dist/node/devices/tachomotor.js +6 -2
- package/dist/node/devices/tachomotor.js.map +1 -1
- package/dist/node/devices/technic3x3colorlightmatrix.js +6 -2
- package/dist/node/devices/technic3x3colorlightmatrix.js.map +1 -1
- package/dist/node/devices/techniccolorsensor.js +6 -2
- package/dist/node/devices/techniccolorsensor.js.map +1 -1
- package/dist/node/devices/technicdistancesensor.js +6 -2
- package/dist/node/devices/technicdistancesensor.js.map +1 -1
- package/dist/node/devices/technicforcesensor.js +6 -2
- package/dist/node/devices/technicforcesensor.js.map +1 -1
- package/dist/node/devices/techniclargeangularmotor.js +5 -1
- package/dist/node/devices/techniclargeangularmotor.js.map +1 -1
- package/dist/node/devices/techniclargelinearmotor.js +5 -1
- package/dist/node/devices/techniclargelinearmotor.js.map +1 -1
- package/dist/node/devices/technicmediumangularmotor.js +5 -1
- package/dist/node/devices/technicmediumangularmotor.js.map +1 -1
- package/dist/node/devices/technicmediumhubaccelerometersensor.js +6 -2
- package/dist/node/devices/technicmediumhubaccelerometersensor.js.map +1 -1
- package/dist/node/devices/technicmediumhubgyrosensor.js +6 -2
- package/dist/node/devices/technicmediumhubgyrosensor.js.map +1 -1
- package/dist/node/devices/technicmediumhubtiltsensor.js +7 -3
- package/dist/node/devices/technicmediumhubtiltsensor.js.map +1 -1
- package/dist/node/devices/technicsmallangularmotor.js +5 -1
- package/dist/node/devices/technicsmallangularmotor.js.map +1 -1
- package/dist/node/devices/technicxlargelinearmotor.js +5 -1
- package/dist/node/devices/technicxlargelinearmotor.js.map +1 -1
- package/dist/node/devices/tiltsensor.js +6 -2
- package/dist/node/devices/tiltsensor.js.map +1 -1
- package/dist/node/devices/trainmotor.js +5 -1
- package/dist/node/devices/trainmotor.js.map +1 -1
- package/dist/node/devices/voltagesensor.js +6 -2
- package/dist/node/devices/voltagesensor.js.map +1 -1
- package/dist/node/hubs/basehub.d.ts +1 -0
- package/dist/node/hubs/basehub.js +5 -1
- package/dist/node/hubs/basehub.js.map +1 -1
- package/dist/node/hubs/duplotrainbase.d.ts +1 -0
- package/dist/node/hubs/duplotrainbase.js +5 -1
- package/dist/node/hubs/duplotrainbase.js.map +1 -1
- package/dist/node/hubs/hub.d.ts +1 -0
- package/dist/node/hubs/hub.js +12 -11
- package/dist/node/hubs/hub.js.map +1 -1
- package/dist/node/hubs/lpf2hub.js +5 -1
- package/dist/node/hubs/lpf2hub.js.map +1 -1
- package/dist/node/hubs/mario.d.ts +1 -0
- package/dist/node/hubs/mario.js +5 -1
- package/dist/node/hubs/mario.js.map +1 -1
- package/dist/node/hubs/movehub.d.ts +1 -0
- package/dist/node/hubs/movehub.js +7 -6
- package/dist/node/hubs/movehub.js.map +1 -1
- package/dist/node/hubs/remotecontrol.d.ts +1 -0
- package/dist/node/hubs/remotecontrol.js +5 -1
- package/dist/node/hubs/remotecontrol.js.map +1 -1
- package/dist/node/hubs/technicmediumhub.d.ts +1 -0
- package/dist/node/hubs/technicmediumhub.js +5 -1
- package/dist/node/hubs/technicmediumhub.js.map +1 -1
- package/dist/node/hubs/technicsmallhub.d.ts +1 -0
- package/dist/node/hubs/technicsmallhub.js +10 -6
- package/dist/node/hubs/technicsmallhub.js.map +1 -1
- package/dist/node/hubs/wedo2smarthub.d.ts +1 -0
- package/dist/node/hubs/wedo2smarthub.js +10 -6
- package/dist/node/hubs/wedo2smarthub.js.map +1 -1
- package/dist/node/index-browser.js +5 -1
- package/dist/node/index-browser.js.map +1 -1
- package/dist/node/index-node.js +5 -1
- package/dist/node/index-node.js.map +1 -1
- package/dist/node/interfaces.d.ts +1 -0
- package/dist/node/nobleabstraction.d.ts +1 -0
- package/dist/node/nobleabstraction.js.map +1 -1
- package/dist/node/poweredup-browser.js +10 -3
- package/dist/node/poweredup-browser.js.map +1 -1
- package/dist/node/poweredup-node.js +5 -3
- package/dist/node/poweredup-node.js.map +1 -1
- package/dist/node/utils.d.ts +2 -1
- package/dist/node/utils.js.map +1 -1
- package/dist/node/webbleabstraction.d.ts +2 -1
- package/dist/node/webbleabstraction.js +1 -1
- package/dist/node/webbleabstraction.js.map +1 -1
- package/docs/AbsoluteMotor.html +1037 -1066
- package/docs/BaseHub.html +622 -807
- package/docs/BasicMotor.html +707 -809
- package/docs/ColorDistanceSensor.html +1500 -1611
- package/docs/CurrentSensor.html +470 -623
- package/docs/Device.html +372 -502
- package/docs/DuploTrainBase.html +1004 -1225
- package/docs/DuploTrainBaseColorSensor.html +712 -874
- package/docs/DuploTrainBaseMotor.html +723 -841
- package/docs/DuploTrainBaseSpeaker.html +565 -693
- package/docs/DuploTraniBaseSpeedometer.html +396 -550
- package/docs/Hub.html +3842 -3987
- package/docs/HubLED.html +591 -731
- package/docs/LPF2Hub.html +983 -1188
- package/docs/Light.html +591 -731
- package/docs/Mario.html +1004 -1225
- package/docs/MarioAccelerometer.html +568 -732
- package/docs/MarioBarcodeSensor.html +568 -732
- package/docs/MarioPantsSensor.html +470 -623
- package/docs/MediumLinearMotor.html +679 -748
- package/docs/MotionSensor.html +470 -623
- package/docs/MoveHub.html +1004 -1225
- package/docs/MoveHubMediumLinearMotor.html +679 -748
- package/docs/MoveHubTiltSensor.html +483 -642
- package/docs/PiezoBuzzer.html +495 -642
- package/docs/PoweredUP.html +2223 -2174
- package/docs/RemoteControl.html +1004 -1225
- package/docs/RemoteControlButton.html +470 -623
- package/docs/SimpleMediumLinearMotor.html +396 -550
- package/docs/TachoMotor.html +1298 -1393
- package/docs/Technic3x3ColorLightMatrix.html +484 -628
- package/docs/TechnicColorSensor.html +726 -876
- package/docs/TechnicDistanceSensor.html +667 -824
- package/docs/TechnicForceSensor.html +614 -765
- package/docs/TechnicLargeAngularMotor.html +1046 -1091
- package/docs/TechnicLargeLinearMotor.html +1046 -1091
- package/docs/TechnicMediumAngularMotor.html +1046 -1091
- package/docs/TechnicMediumHub.html +1004 -1225
- package/docs/TechnicMediumHubAccelerometerSensor.html +496 -661
- package/docs/TechnicMediumHubGyroSensor.html +496 -661
- package/docs/TechnicMediumHubTiltSensor.html +820 -945
- package/docs/TechnicSmallAngularMotor.html +1046 -1091
- package/docs/TechnicXLargeLinearMotor.html +1046 -1091
- package/docs/TiltSensor.html +483 -642
- package/docs/TrainMotor.html +723 -841
- package/docs/VoltageSensor.html +470 -623
- package/docs/WeDo2SmartHub.html +890 -1102
- package/docs/consts.js.html +53 -116
- package/docs/devices_absolutemotor.js.html +35 -94
- package/docs/devices_basicmotor.js.html +34 -93
- package/docs/devices_colordistancesensor.js.html +33 -92
- package/docs/devices_currentsensor.js.html +35 -94
- package/docs/devices_device.js.html +32 -91
- package/docs/devices_duplotrainbasecolorsensor.js.html +35 -94
- package/docs/devices_duplotrainbasemotor.js.html +34 -93
- package/docs/devices_duplotrainbasespeaker.js.html +35 -94
- package/docs/devices_duplotrainbasespeedometer.js.html +35 -94
- package/docs/devices_hubled.js.html +35 -94
- package/docs/devices_light.js.html +34 -93
- package/docs/devices_marioaccelerometer.js.html +35 -94
- package/docs/devices_mariobarcodesensor.js.html +35 -94
- package/docs/devices_mariopantssensor.js.html +35 -94
- package/docs/devices_mediumlinearmotor.js.html +34 -93
- package/docs/devices_motionsensor.js.html +35 -94
- package/docs/devices_movehubmediumlinearmotor.js.html +34 -93
- package/docs/devices_movehubtiltsensor.js.html +35 -94
- package/docs/devices_piezobuzzer.js.html +34 -93
- package/docs/devices_remotecontrolbutton.js.html +36 -95
- package/docs/devices_simplemediumlinearmotor.js.html +34 -93
- package/docs/devices_tachomotor.js.html +33 -92
- package/docs/devices_technic3x3colorlightmatrix.js.html +35 -94
- package/docs/devices_techniccolorsensor.js.html +35 -94
- package/docs/devices_technicdistancesensor.js.html +35 -94
- package/docs/devices_technicforcesensor.js.html +35 -94
- package/docs/devices_techniclargeangularmotor.js.html +34 -93
- package/docs/devices_techniclargelinearmotor.js.html +34 -93
- package/docs/devices_technicmediumangularmotor.js.html +34 -93
- package/docs/devices_technicmediumhubaccelerometersensor.js.html +35 -94
- package/docs/devices_technicmediumhubgyrosensor.js.html +35 -94
- package/docs/devices_technicmediumhubtiltsensor.js.html +36 -95
- package/docs/devices_technicsmallangularmotor.js.html +34 -93
- package/docs/devices_technicxlargelinearmotor.js.html +34 -93
- package/docs/devices_tiltsensor.js.html +35 -94
- package/docs/devices_trainmotor.js.html +34 -93
- package/docs/devices_voltagesensor.js.html +35 -94
- package/docs/global.html +2094 -7927
- package/docs/hubs_basehub.js.html +31 -90
- package/docs/hubs_duplotrainbase.js.html +34 -93
- package/docs/hubs_hub.js.html +41 -103
- package/docs/hubs_lpf2hub.js.html +31 -90
- package/docs/hubs_mario.js.html +34 -93
- package/docs/hubs_movehub.js.html +36 -98
- package/docs/hubs_remotecontrol.js.html +34 -93
- package/docs/hubs_technicmediumhub.js.html +34 -93
- package/docs/hubs_technicsmallhub.js.html +39 -98
- package/docs/hubs_wedo2smarthub.js.html +36 -95
- package/docs/index.html +36 -83
- package/docs/poweredup-browser.js.html +36 -92
- package/docs/poweredup-node.js.html +32 -93
- package/docs/scripts/linenumber.js +21 -19
- package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
- package/docs/scripts/prettify/lang-css.js +2 -0
- package/docs/scripts/prettify/prettify.js +28 -0
- package/docs/styles/jsdoc-default.css +192 -787
- package/docs/styles/prettify-jsdoc.css +1 -1
- package/docs/styles/prettify-tomorrow.css +8 -14
- package/package.json +13 -13
- package/src/devices/device.ts +2 -2
- package/src/devices/remotecontrolbutton.ts +1 -1
- package/src/devices/technicmediumhubtiltsensor.ts +1 -1
- package/src/hubs/hub.ts +2 -2
- package/src/hubs/movehub.ts +2 -2
- package/src/poweredup-browser.ts +5 -2
- package/src/poweredup-node.ts +0 -2
- package/src/webbleabstraction.ts +2 -2
- package/jsdoc-template/braintree/CHANGELOG.md +0 -31
- package/jsdoc-template/braintree/LICENSE +0 -27
- package/jsdoc-template/braintree/README.md +0 -90
- package/jsdoc-template/braintree/package.json +0 -39
- package/jsdoc-template/braintree/publish.js +0 -675
- package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.svg +0 -1830
- package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
- package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.svg +0 -1830
- package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.svg +0 -1831
- package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
- package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.svg +0 -1831
- package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.svg +0 -1830
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.ttf +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/icons/home.svg +0 -4
- package/jsdoc-template/braintree/static/icons/search.svg +0 -4
- package/jsdoc-template/braintree/static/scripts/linenumber.js +0 -23
- package/jsdoc-template/braintree/static/scripts/pagelocation.js +0 -89
- package/jsdoc-template/braintree/static/styles/collapse.css +0 -27
- package/jsdoc-template/braintree/static/styles/jsdoc-default.css +0 -953
- package/jsdoc-template/braintree/static/styles/prettify-jsdoc.css +0 -111
- package/jsdoc-template/braintree/static/styles/prettify-tomorrow.css +0 -138
- package/jsdoc-template/braintree/tmpl/augments.tmpl +0 -10
- package/jsdoc-template/braintree/tmpl/container.tmpl +0 -213
- package/jsdoc-template/braintree/tmpl/details.tmpl +0 -223
- package/jsdoc-template/braintree/tmpl/example.tmpl +0 -2
- package/jsdoc-template/braintree/tmpl/examples.tmpl +0 -14
- package/jsdoc-template/braintree/tmpl/exceptions.tmpl +0 -28
- package/jsdoc-template/braintree/tmpl/layout.tmpl +0 -150
- package/jsdoc-template/braintree/tmpl/mainpage.tmpl +0 -9
- package/jsdoc-template/braintree/tmpl/members.tmpl +0 -38
- package/jsdoc-template/braintree/tmpl/method.tmpl +0 -128
- package/jsdoc-template/braintree/tmpl/params.tmpl +0 -125
- package/jsdoc-template/braintree/tmpl/properties.tmpl +0 -111
- package/jsdoc-template/braintree/tmpl/returns.tmpl +0 -17
- package/jsdoc-template/braintree/tmpl/source.tmpl +0 -9
- package/jsdoc-template/braintree/tmpl/tutorial.tmpl +0 -23
- package/jsdoc-template/braintree/tmpl/type.tmpl +0 -11
|
@@ -1,123 +1,53 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script>
|
|
15
|
-
<script>hljs.initHighlightingOnLoad();</script>
|
|
16
|
-
|
|
17
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
|
|
18
|
-
|
|
19
|
-
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
|
20
|
-
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<!-- start Mixpanel -->
|
|
26
|
-
<script type="text/javascript">(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,
|
|
27
|
-
0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
|
|
28
|
-
for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]);
|
|
29
|
-
mixpanel.init("1919205b2da72e4da3b9b6639b444d59");</script>
|
|
30
|
-
<!-- end Mixpanel -->
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>JSDoc: Class: MoveHubMediumLinearMotor</title>
|
|
6
|
+
|
|
7
|
+
<script src="scripts/prettify/prettify.js"> </script>
|
|
8
|
+
<script src="scripts/prettify/lang-css.js"> </script>
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
|
13
|
+
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
|
31
14
|
</head>
|
|
32
15
|
|
|
33
16
|
<body>
|
|
34
|
-
<svg style="display: none;">
|
|
35
|
-
<defs>
|
|
36
|
-
<symbol id="linkIcon" fill="#706d77" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
37
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
38
|
-
<path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/>
|
|
39
|
-
</symbol>
|
|
40
|
-
</defs>
|
|
41
|
-
</svg>
|
|
42
|
-
|
|
43
|
-
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
|
44
|
-
<label for="nav-trigger" class="navicon-button x">
|
|
45
|
-
<div class="navicon"></div>
|
|
46
|
-
</label>
|
|
47
|
-
|
|
48
|
-
<label for="nav-trigger" class="overlay"></label>
|
|
49
|
-
|
|
50
|
-
<div class="top-nav-wrapper">
|
|
51
|
-
<ul>
|
|
52
|
-
<li >
|
|
53
|
-
<a href="index.html">
|
|
54
|
-
|
|
55
|
-
<svg fill="#6D6D6D" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
56
|
-
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
|
|
57
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
58
|
-
</svg>
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</a>
|
|
62
|
-
</li>
|
|
63
|
-
|
|
64
|
-
|
|
65
17
|
|
|
66
|
-
|
|
67
|
-
</div>
|
|
18
|
+
<div id="main">
|
|
68
19
|
|
|
69
|
-
|
|
70
|
-
<h3 class="reference-title">
|
|
71
|
-
node-poweredup Reference
|
|
72
|
-
</h3>
|
|
20
|
+
<h1 class="page-title">Class: MoveHubMediumLinearMotor</h1>
|
|
73
21
|
|
|
74
22
|
|
|
75
23
|
|
|
76
|
-
<h3>Classes</h3><ul><li id="AbsoluteMotor-nav"><a href="AbsoluteMotor.html">AbsoluteMotor</a><ul class='methods'><li data-type="method" id="AbsoluteMotor-gotoAngle-nav"><a href="AbsoluteMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="AbsoluteMotor-gotoRealZero-nav"><a href="AbsoluteMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="AbsoluteMotor-resetZero-nav"><a href="AbsoluteMotor.html#resetZero">resetZero</a></li><li data-type="method" id="AbsoluteMotor-rotateByDegrees-nav"><a href="AbsoluteMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="AbsoluteMotor-setAccelerationTime-nav"><a href="AbsoluteMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setBrakingStyle-nav"><a href="AbsoluteMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="AbsoluteMotor-setDecelerationTime-nav"><a href="AbsoluteMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setMaxPower-nav"><a href="AbsoluteMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="AbsoluteMotor-setSpeed-nav"><a href="AbsoluteMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="BaseHub-nav"><a href="BaseHub.html">BaseHub</a></li><li id="BasicMotor-nav"><a href="BasicMotor.html">BasicMotor</a><ul class='methods'><li data-type="method" id="BasicMotor-brake-nav"><a href="BasicMotor.html#brake">brake</a></li><li data-type="method" id="BasicMotor-rampPower-nav"><a href="BasicMotor.html#rampPower">rampPower</a></li><li data-type="method" id="BasicMotor-setPower-nav"><a href="BasicMotor.html#setPower">setPower</a></li><li data-type="method" id="BasicMotor-stop-nav"><a href="BasicMotor.html#stop">stop</a></li></ul></li><li id="ColorDistanceSensor-nav"><a href="ColorDistanceSensor.html">ColorDistanceSensor</a><ul class='methods'><li data-type="method" id="ColorDistanceSensor-sendPFIRMessage-nav"><a href="ColorDistanceSensor.html#sendPFIRMessage">sendPFIRMessage</a></li><li data-type="method" id="ColorDistanceSensor-setColor-nav"><a href="ColorDistanceSensor.html#setColor">setColor</a></li><li data-type="method" id="ColorDistanceSensor-setDistanceCount-nav"><a href="ColorDistanceSensor.html#setDistanceCount">setDistanceCount</a></li><li data-type="method" id="ColorDistanceSensor-setPFExtendedChannel-nav"><a href="ColorDistanceSensor.html#setPFExtendedChannel">setPFExtendedChannel</a></li><li data-type="method" id="ColorDistanceSensor-setPFPower-nav"><a href="ColorDistanceSensor.html#setPFPower">setPFPower</a></li><li data-type="method" id="ColorDistanceSensor-startPFMotors-nav"><a href="ColorDistanceSensor.html#startPFMotors">startPFMotors</a></li></ul></li><li id="CurrentSensor-nav"><a href="CurrentSensor.html">CurrentSensor</a></li><li id="Device-nav"><a href="Device.html">Device</a></li><li id="DuploTrainBase-nav"><a href="DuploTrainBase.html">DuploTrainBase</a><ul class='methods'><li data-type="method" id="DuploTrainBase-createVirtualPort-nav"><a href="DuploTrainBase.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="DuploTrainBase-setName-nav"><a href="DuploTrainBase.html#setName">setName</a></li><li data-type="method" id="DuploTrainBase-shutdown-nav"><a href="DuploTrainBase.html#shutdown">shutdown</a></li></ul></li><li id="DuploTrainBaseColorSensor-nav"><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li id="DuploTrainBaseMotor-nav"><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a><ul class='methods'><li data-type="method" id="DuploTrainBaseMotor-brake-nav"><a href="DuploTrainBaseMotor.html#brake">brake</a></li><li data-type="method" id="DuploTrainBaseMotor-rampPower-nav"><a href="DuploTrainBaseMotor.html#rampPower">rampPower</a></li><li data-type="method" id="DuploTrainBaseMotor-setPower-nav"><a href="DuploTrainBaseMotor.html#setPower">setPower</a></li><li data-type="method" id="DuploTrainBaseMotor-stop-nav"><a href="DuploTrainBaseMotor.html#stop">stop</a></li></ul></li><li id="DuploTrainBaseSpeaker-nav"><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a><ul class='methods'><li data-type="method" id="DuploTrainBaseSpeaker-playSound-nav"><a href="DuploTrainBaseSpeaker.html#playSound">playSound</a></li><li data-type="method" id="DuploTrainBaseSpeaker-playTone-nav"><a href="DuploTrainBaseSpeaker.html#playTone">playTone</a></li></ul></li><li id="DuploTraniBaseSpeedometer-nav"><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li id="Hub-nav"><a href="Hub.html">Hub</a><ul class='methods'><li data-type="method" id="Hub-connect-nav"><a href="Hub.html#connect">connect</a></li><li data-type="method" id="Hub-createVirtualPort-nav"><a href="Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Hub-disconnect-nav"><a href="Hub.html#disconnect">disconnect</a></li><li data-type="method" id="Hub-getDeviceAtPort-nav"><a href="Hub.html#getDeviceAtPort">getDeviceAtPort</a></li><li data-type="method" id="Hub-getDevices-nav"><a href="Hub.html#getDevices">getDevices</a></li><li data-type="method" id="Hub-getDevicesByType-nav"><a href="Hub.html#getDevicesByType">getDevicesByType</a></li><li data-type="method" id="Hub-setName-nav"><a href="Hub.html#setName">setName</a></li><li data-type="method" id="Hub-shutdown-nav"><a href="Hub.html#shutdown">shutdown</a></li><li data-type="method" id="Hub-sleep-nav"><a href="Hub.html#sleep">sleep</a></li><li data-type="method" id="Hub-wait-nav"><a href="Hub.html#wait">wait</a></li><li data-type="method" id="Hub-waitForDeviceAtPort-nav"><a href="Hub.html#waitForDeviceAtPort">waitForDeviceAtPort</a></li><li data-type="method" id="Hub-waitForDeviceByType-nav"><a href="Hub.html#waitForDeviceByType">waitForDeviceByType</a></li></ul></li><li id="HubLED-nav"><a href="HubLED.html">HubLED</a><ul class='methods'><li data-type="method" id="HubLED-setColor-nav"><a href="HubLED.html#setColor">setColor</a></li><li data-type="method" id="HubLED-setRGB-nav"><a href="HubLED.html#setRGB">setRGB</a></li></ul></li><li id="Light-nav"><a href="Light.html">Light</a><ul class='methods'><li data-type="method" id="Light-rampBrightness-nav"><a href="Light.html#rampBrightness">rampBrightness</a></li><li data-type="method" id="Light-setBrightness-nav"><a href="Light.html#setBrightness">setBrightness</a></li></ul></li><li id="LPF2Hub-nav"><a href="LPF2Hub.html">LPF2Hub</a><ul class='methods'><li data-type="method" id="LPF2Hub-createVirtualPort-nav"><a href="LPF2Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="LPF2Hub-setName-nav"><a href="LPF2Hub.html#setName">setName</a></li><li data-type="method" id="LPF2Hub-shutdown-nav"><a href="LPF2Hub.html#shutdown">shutdown</a></li></ul></li><li id="Mario-nav"><a href="Mario.html">Mario</a><ul class='methods'><li data-type="method" id="Mario-createVirtualPort-nav"><a href="Mario.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Mario-setName-nav"><a href="Mario.html#setName">setName</a></li><li data-type="method" id="Mario-shutdown-nav"><a href="Mario.html#shutdown">shutdown</a></li></ul></li><li id="MarioAccelerometer-nav"><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li id="MarioBarcodeSensor-nav"><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li id="MarioPantsSensor-nav"><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li id="MediumLinearMotor-nav"><a href="MediumLinearMotor.html">MediumLinearMotor</a><ul class='methods'><li data-type="method" id="MediumLinearMotor-rotateByDegrees-nav"><a href="MediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MediumLinearMotor-setAccelerationTime-nav"><a href="MediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setBrakingStyle-nav"><a href="MediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MediumLinearMotor-setDecelerationTime-nav"><a href="MediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setMaxPower-nav"><a href="MediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MediumLinearMotor-setSpeed-nav"><a href="MediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MotionSensor-nav"><a href="MotionSensor.html">MotionSensor</a></li><li id="MoveHub-nav"><a href="MoveHub.html">MoveHub</a><ul class='methods'><li data-type="method" id="MoveHub-createVirtualPort-nav"><a href="MoveHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="MoveHub-setName-nav"><a href="MoveHub.html#setName">setName</a></li><li data-type="method" id="MoveHub-shutdown-nav"><a href="MoveHub.html#shutdown">shutdown</a></li></ul></li><li id="MoveHubMediumLinearMotor-nav"><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a><ul class='methods'><li data-type="method" id="MoveHubMediumLinearMotor-rotateByDegrees-nav"><a href="MoveHubMediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setAccelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setBrakingStyle-nav"><a href="MoveHubMediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setDecelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setMaxPower-nav"><a href="MoveHubMediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setSpeed-nav"><a href="MoveHubMediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MoveHubTiltSensor-nav"><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li id="PiezoBuzzer-nav"><a href="PiezoBuzzer.html">PiezoBuzzer</a><ul class='methods'><li data-type="method" id="PiezoBuzzer-playTone-nav"><a href="PiezoBuzzer.html#playTone">playTone</a></li></ul></li><li id="PoweredUP-nav"><a href="PoweredUP.html">PoweredUP</a><ul class='methods'><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-stop-nav"><a href="PoweredUP.html#stop">stop</a></li></ul></li><li id="RemoteControl-nav"><a href="RemoteControl.html">RemoteControl</a><ul class='methods'><li data-type="method" id="RemoteControl-createVirtualPort-nav"><a href="RemoteControl.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="RemoteControl-setName-nav"><a href="RemoteControl.html#setName">setName</a></li><li data-type="method" id="RemoteControl-shutdown-nav"><a href="RemoteControl.html#shutdown">shutdown</a></li></ul></li><li id="RemoteControlButton-nav"><a href="RemoteControlButton.html">RemoteControlButton</a></li><li id="SimpleMediumLinearMotor-nav"><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li id="TachoMotor-nav"><a href="TachoMotor.html">TachoMotor</a><ul class='methods'><li data-type="method" id="TachoMotor-brake-nav"><a href="TachoMotor.html#brake">brake</a></li><li data-type="method" id="TachoMotor-rampPower-nav"><a href="TachoMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TachoMotor-rotateByDegrees-nav"><a href="TachoMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TachoMotor-setAccelerationTime-nav"><a href="TachoMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TachoMotor-setBrakingStyle-nav"><a href="TachoMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TachoMotor-setDecelerationTime-nav"><a href="TachoMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TachoMotor-setMaxPower-nav"><a href="TachoMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TachoMotor-setPower-nav"><a href="TachoMotor.html#setPower">setPower</a></li><li data-type="method" id="TachoMotor-setSpeed-nav"><a href="TachoMotor.html#setSpeed">setSpeed</a></li><li data-type="method" id="TachoMotor-stop-nav"><a href="TachoMotor.html#stop">stop</a></li></ul></li><li id="Technic3x3ColorLightMatrix-nav"><a href="Technic3x3ColorLightMatrix.html">Technic3x3ColorLightMatrix</a><ul class='methods'><li data-type="method" id="Technic3x3ColorLightMatrix-setMatrix-nav"><a href="Technic3x3ColorLightMatrix.html#setMatrix">setMatrix</a></li></ul></li><li id="TechnicColorSensor-nav"><a href="TechnicColorSensor.html">TechnicColorSensor</a><ul class='methods'><li data-type="method" id="TechnicColorSensor-setBrightness-nav"><a href="TechnicColorSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicDistanceSensor-nav"><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a><ul class='methods'><li data-type="method" id="TechnicDistanceSensor-setBrightness-nav"><a href="TechnicDistanceSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicForceSensor-nav"><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li id="TechnicLargeAngularMotor-nav"><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeAngularMotor-gotoAngle-nav"><a href="TechnicLargeAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeAngularMotor-gotoRealZero-nav"><a href="TechnicLargeAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-resetZero-nav"><a href="TechnicLargeAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-rotateByDegrees-nav"><a href="TechnicLargeAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeAngularMotor-setAccelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setBrakingStyle-nav"><a href="TechnicLargeAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeAngularMotor-setDecelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setMaxPower-nav"><a href="TechnicLargeAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeAngularMotor-setSpeed-nav"><a href="TechnicLargeAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicLargeLinearMotor-nav"><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeLinearMotor-gotoAngle-nav"><a href="TechnicLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeLinearMotor-gotoRealZero-nav"><a href="TechnicLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-resetZero-nav"><a href="TechnicLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setMaxPower-nav"><a href="TechnicLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeLinearMotor-setSpeed-nav"><a href="TechnicLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumAngularMotor-nav"><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicMediumAngularMotor-gotoAngle-nav"><a href="TechnicMediumAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicMediumAngularMotor-gotoRealZero-nav"><a href="TechnicMediumAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-resetZero-nav"><a href="TechnicMediumAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-rotateByDegrees-nav"><a href="TechnicMediumAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicMediumAngularMotor-setAccelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setBrakingStyle-nav"><a href="TechnicMediumAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicMediumAngularMotor-setDecelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setMaxPower-nav"><a href="TechnicMediumAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicMediumAngularMotor-setSpeed-nav"><a href="TechnicMediumAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumHub-nav"><a href="TechnicMediumHub.html">TechnicMediumHub</a><ul class='methods'><li data-type="method" id="TechnicMediumHub-createVirtualPort-nav"><a href="TechnicMediumHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="TechnicMediumHub-setName-nav"><a href="TechnicMediumHub.html#setName">setName</a></li><li data-type="method" id="TechnicMediumHub-shutdown-nav"><a href="TechnicMediumHub.html#shutdown">shutdown</a></li></ul></li><li id="TechnicMediumHubAccelerometerSensor-nav"><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li id="TechnicMediumHubGyroSensor-nav"><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li id="TechnicMediumHubTiltSensor-nav"><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a><ul class='methods'><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactCount-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactCount">setImpactCount</a></li><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactHoldoff-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactHoldoff">setImpactHoldoff</a></li><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactThreshold-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactThreshold">setImpactThreshold</a></li></ul></li><li id="TechnicSmallAngularMotor-nav"><a href="TechnicSmallAngularMotor.html">TechnicSmallAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicSmallAngularMotor-gotoAngle-nav"><a href="TechnicSmallAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicSmallAngularMotor-gotoRealZero-nav"><a href="TechnicSmallAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-resetZero-nav"><a href="TechnicSmallAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-rotateByDegrees-nav"><a href="TechnicSmallAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicSmallAngularMotor-setAccelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setBrakingStyle-nav"><a href="TechnicSmallAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicSmallAngularMotor-setDecelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setMaxPower-nav"><a href="TechnicSmallAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicSmallAngularMotor-setSpeed-nav"><a href="TechnicSmallAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicXLargeLinearMotor-nav"><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicXLargeLinearMotor-gotoAngle-nav"><a href="TechnicXLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-gotoRealZero-nav"><a href="TechnicXLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-resetZero-nav"><a href="TechnicXLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicXLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicXLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setMaxPower-nav"><a href="TechnicXLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setSpeed-nav"><a href="TechnicXLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TiltSensor-nav"><a href="TiltSensor.html">TiltSensor</a></li><li id="TrainMotor-nav"><a href="TrainMotor.html">TrainMotor</a><ul class='methods'><li data-type="method" id="TrainMotor-brake-nav"><a href="TrainMotor.html#brake">brake</a></li><li data-type="method" id="TrainMotor-rampPower-nav"><a href="TrainMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TrainMotor-setPower-nav"><a href="TrainMotor.html#setPower">setPower</a></li><li data-type="method" id="TrainMotor-stop-nav"><a href="TrainMotor.html#stop">stop</a></li></ul></li><li id="VoltageSensor-nav"><a href="VoltageSensor.html">VoltageSensor</a></li><li id="WeDo2SmartHub-nav"><a href="WeDo2SmartHub.html">WeDo2SmartHub</a><ul class='methods'><li data-type="method" id="WeDo2SmartHub-setName-nav"><a href="WeDo2SmartHub.html#setName">setName</a></li><li data-type="method" id="WeDo2SmartHub-shutdown-nav"><a href="WeDo2SmartHub.html#shutdown">shutdown</a></li></ul></li></ul><h3 id="global-nav"><a href="global.html">Global</a></h3>
|
|
77
|
-
</nav>
|
|
78
24
|
|
|
79
|
-
<div id="main">
|
|
80
|
-
|
|
81
|
-
<h1 class="page-title">
|
|
82
|
-
MoveHubMediumLinearMotor
|
|
83
|
-
</h1>
|
|
84
|
-
|
|
85
25
|
|
|
86
|
-
|
|
87
26
|
|
|
88
27
|
<section>
|
|
89
|
-
|
|
28
|
+
|
|
29
|
+
<header>
|
|
90
30
|
|
|
91
|
-
|
|
31
|
+
<h2><span class="attribs"><span class="type-signature"></span></span>MoveHubMediumLinearMotor<span class="signature">()</span><span class="type-signature"></span></h2>
|
|
92
32
|
|
|
93
|
-
MoveHubMediumLinearMotor
|
|
94
|
-
|
|
95
|
-
</h2>
|
|
96
|
-
|
|
97
|
-
|
|
98
33
|
|
|
99
|
-
|
|
34
|
+
</header>
|
|
100
35
|
|
|
101
|
-
|
|
36
|
+
<article>
|
|
102
37
|
<div class="container-overview">
|
|
103
|
-
|
|
38
|
+
|
|
104
39
|
|
|
105
40
|
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
<h4 class="name" id="MoveHubMediumLinearMotor"><span class="type-signature"></span>new MoveHubMediumLinearMotor<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
106
48
|
|
|
107
|
-
|
|
108
49
|
|
|
109
|
-
<span class='name-container'>
|
|
110
|
-
<a class="link-icon" href="#MoveHubMediumLinearMotor">
|
|
111
|
-
<svg height="20" width="20" style="fill: black;">
|
|
112
|
-
<use xlink:href="#linkIcon"></use>
|
|
113
|
-
</svg>
|
|
114
|
-
</a>
|
|
115
|
-
<h4 class="name" id="MoveHubMediumLinearMotor">
|
|
116
|
-
<span class="type-signature"></span>new MoveHubMediumLinearMotor<span class="signature">()</span><span class="type-signature"></span>
|
|
117
|
-
</h4>
|
|
118
|
-
</span>
|
|
119
50
|
|
|
120
|
-
|
|
121
51
|
|
|
122
52
|
|
|
123
53
|
|
|
@@ -132,46 +62,42 @@
|
|
|
132
62
|
|
|
133
63
|
<dl class="details">
|
|
134
64
|
|
|
135
|
-
|
|
65
|
+
|
|
136
66
|
|
|
137
|
-
|
|
67
|
+
|
|
138
68
|
|
|
139
|
-
|
|
69
|
+
|
|
140
70
|
|
|
141
|
-
|
|
71
|
+
|
|
142
72
|
|
|
143
|
-
|
|
73
|
+
|
|
144
74
|
|
|
145
|
-
|
|
75
|
+
|
|
146
76
|
|
|
147
|
-
|
|
77
|
+
|
|
148
78
|
|
|
149
|
-
|
|
79
|
+
|
|
150
80
|
|
|
151
|
-
|
|
81
|
+
|
|
152
82
|
|
|
153
|
-
|
|
83
|
+
|
|
154
84
|
|
|
155
|
-
|
|
85
|
+
|
|
156
86
|
|
|
157
|
-
|
|
87
|
+
|
|
158
88
|
|
|
159
|
-
|
|
89
|
+
|
|
160
90
|
<dt class="tag-source">Source:</dt>
|
|
161
|
-
<dd class="tag-source">
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</li>
|
|
166
|
-
</ul>
|
|
167
|
-
</dd>
|
|
168
|
-
|
|
91
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
92
|
+
<a href="devices_movehubmediumlinearmotor.js.html">devices/movehubmediumlinearmotor.js</a>, <a href="devices_movehubmediumlinearmotor.js.html#line29">line 29</a>
|
|
93
|
+
</li></ul></dd>
|
|
94
|
+
|
|
169
95
|
|
|
170
|
-
|
|
96
|
+
|
|
171
97
|
|
|
172
|
-
|
|
98
|
+
|
|
173
99
|
|
|
174
|
-
|
|
100
|
+
|
|
175
101
|
</dl>
|
|
176
102
|
|
|
177
103
|
|
|
@@ -187,18 +113,24 @@
|
|
|
187
113
|
|
|
188
114
|
|
|
189
115
|
|
|
190
|
-
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
191
123
|
</div>
|
|
192
124
|
|
|
193
125
|
|
|
194
|
-
|
|
126
|
+
<h3 class="subsection-title">Extends</h3>
|
|
195
127
|
|
|
196
|
-
|
|
128
|
+
|
|
197
129
|
|
|
198
130
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
131
|
+
<ul>
|
|
132
|
+
<li><a href="TachoMotor.html">TachoMotor</a></li>
|
|
133
|
+
</ul>
|
|
202
134
|
|
|
203
135
|
|
|
204
136
|
|
|
@@ -207,39 +139,35 @@
|
|
|
207
139
|
|
|
208
140
|
|
|
209
141
|
|
|
210
|
-
|
|
142
|
+
|
|
211
143
|
|
|
212
144
|
|
|
213
145
|
|
|
214
146
|
|
|
215
147
|
|
|
216
148
|
|
|
217
|
-
<h3 class="subsection-title">Methods</h3>
|
|
218
149
|
|
|
219
|
-
|
|
220
|
-
|
|
150
|
+
|
|
151
|
+
<h3 class="subsection-title">Methods</h3>
|
|
221
152
|
|
|
153
|
+
|
|
154
|
+
|
|
222
155
|
|
|
223
|
-
|
|
156
|
+
|
|
224
157
|
|
|
225
|
-
|
|
226
|
-
<
|
|
227
|
-
|
|
228
|
-
<use xlink:href="#linkIcon"></use>
|
|
229
|
-
</svg>
|
|
230
|
-
</a>
|
|
231
|
-
<h4 class="name" id="rotateByDegrees">
|
|
232
|
-
<span class="type-signature"></span>rotateByDegrees<span class="signature">(degrees, speed<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise}</span>
|
|
233
|
-
</h4>
|
|
234
|
-
</span>
|
|
158
|
+
|
|
159
|
+
<h4 class="name" id="rotateByDegrees"><span class="type-signature"></span>rotateByDegrees<span class="signature">(degrees, speed<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
160
|
+
|
|
235
161
|
|
|
236
|
-
|
|
162
|
+
|
|
237
163
|
|
|
238
164
|
|
|
239
165
|
|
|
240
|
-
|
|
166
|
+
<div class="description">
|
|
241
167
|
<p>Rotate a motor by a given amount of degrees.</p>
|
|
242
|
-
|
|
168
|
+
</div>
|
|
169
|
+
|
|
170
|
+
|
|
243
171
|
|
|
244
172
|
|
|
245
173
|
|
|
@@ -247,176 +175,157 @@
|
|
|
247
175
|
|
|
248
176
|
|
|
249
177
|
|
|
250
|
-
|
|
251
|
-
|
|
178
|
+
<h5>Parameters:</h5>
|
|
179
|
+
|
|
252
180
|
|
|
253
181
|
<table class="params">
|
|
254
|
-
|
|
182
|
+
<thead>
|
|
255
183
|
<tr>
|
|
256
|
-
|
|
184
|
+
|
|
257
185
|
<th>Name</th>
|
|
258
|
-
|
|
186
|
+
|
|
259
187
|
|
|
260
|
-
|
|
188
|
+
<th>Type</th>
|
|
261
189
|
|
|
262
|
-
|
|
190
|
+
|
|
263
191
|
<th>Attributes</th>
|
|
264
|
-
|
|
192
|
+
|
|
265
193
|
|
|
266
|
-
|
|
194
|
+
|
|
267
195
|
<th>Default</th>
|
|
268
|
-
|
|
196
|
+
|
|
269
197
|
|
|
270
|
-
|
|
198
|
+
<th class="last">Description</th>
|
|
271
199
|
</tr>
|
|
272
|
-
|
|
200
|
+
</thead>
|
|
273
201
|
|
|
274
|
-
|
|
202
|
+
<tbody>
|
|
275
203
|
|
|
276
|
-
<tr>
|
|
277
|
-
|
|
278
|
-
<td class="name"><code>degrees</code></td>
|
|
279
|
-
|
|
280
204
|
|
|
281
|
-
<
|
|
282
|
-
|
|
205
|
+
<tr>
|
|
206
|
+
|
|
207
|
+
<td class="name"><code>degrees</code></td>
|
|
283
208
|
|
|
284
|
-
<span class="param-type">
|
|
285
|
-
number
|
|
286
|
-
</span>
|
|
287
|
-
|
|
288
|
-
|
|
289
209
|
|
|
210
|
+
<td class="type">
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
<span class="param-type">number</span>
|
|
290
214
|
|
|
291
|
-
|
|
292
|
-
</td>
|
|
293
215
|
|
|
294
|
-
|
|
295
|
-
<td class="attributes">
|
|
296
216
|
|
|
217
|
+
</td>
|
|
297
218
|
|
|
298
219
|
|
|
220
|
+
<td class="attributes">
|
|
221
|
+
|
|
299
222
|
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
</td>
|
|
300
227
|
|
|
301
|
-
</td>
|
|
302
|
-
|
|
303
228
|
|
|
304
|
-
|
|
305
|
-
<td class="default">
|
|
306
229
|
|
|
307
|
-
|
|
308
|
-
|
|
230
|
+
<td class="default">
|
|
231
|
+
|
|
232
|
+
</td>
|
|
233
|
+
|
|
309
234
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
</td>
|
|
314
|
-
</tr>
|
|
235
|
+
<td class="description last"><p>How much the motor should be rotated (in degrees).</p></td>
|
|
236
|
+
</tr>
|
|
315
237
|
|
|
316
238
|
|
|
317
|
-
<tr>
|
|
318
|
-
|
|
319
|
-
<td class="name"><code>speed</code></td>
|
|
320
|
-
|
|
321
239
|
|
|
322
|
-
<
|
|
323
|
-
|
|
240
|
+
<tr>
|
|
241
|
+
|
|
242
|
+
<td class="name"><code>speed</code></td>
|
|
324
243
|
|
|
325
|
-
<span class="param-type">
|
|
326
|
-
number
|
|
327
|
-
</span>
|
|
328
|
-
|
|
329
|
-
|
|
330
244
|
|
|
245
|
+
<td class="type">
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
<span class="param-type">number</span>
|
|
331
249
|
|
|
332
|
-
|
|
333
|
-
</td>
|
|
334
250
|
|
|
335
|
-
|
|
336
|
-
<td class="attributes">
|
|
337
|
-
|
|
338
|
-
<optional><br>
|
|
339
251
|
|
|
252
|
+
</td>
|
|
340
253
|
|
|
341
254
|
|
|
255
|
+
<td class="attributes">
|
|
256
|
+
|
|
257
|
+
<optional><br>
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
342
261
|
|
|
262
|
+
|
|
263
|
+
</td>
|
|
343
264
|
|
|
344
|
-
</td>
|
|
345
|
-
|
|
346
265
|
|
|
347
|
-
|
|
348
|
-
<td class="default">
|
|
349
266
|
|
|
350
|
-
|
|
267
|
+
<td class="default">
|
|
268
|
+
|
|
269
|
+
100
|
|
270
|
+
|
|
271
|
+
</td>
|
|
351
272
|
|
|
352
|
-
</td>
|
|
353
|
-
|
|
354
273
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
</td>
|
|
359
|
-
</tr>
|
|
274
|
+
<td class="description last"><p>For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.</p></td>
|
|
275
|
+
</tr>
|
|
360
276
|
|
|
361
277
|
|
|
362
|
-
|
|
278
|
+
</tbody>
|
|
363
279
|
</table>
|
|
364
280
|
|
|
365
281
|
|
|
366
282
|
|
|
367
283
|
|
|
368
284
|
|
|
285
|
+
|
|
369
286
|
<dl class="details">
|
|
370
287
|
|
|
371
|
-
|
|
288
|
+
|
|
372
289
|
|
|
373
|
-
|
|
290
|
+
|
|
374
291
|
|
|
375
|
-
|
|
292
|
+
|
|
376
293
|
<dt class="inherited-from">Inherited From:</dt>
|
|
377
|
-
<dd class="inherited-from">
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
</li>
|
|
382
|
-
</ul>
|
|
383
|
-
</dd>
|
|
384
|
-
|
|
294
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
295
|
+
<a href="TachoMotor.html#rotateByDegrees">TachoMotor#rotateByDegrees</a>
|
|
296
|
+
</li></ul></dd>
|
|
297
|
+
|
|
385
298
|
|
|
386
|
-
|
|
299
|
+
|
|
387
300
|
|
|
388
|
-
|
|
301
|
+
|
|
389
302
|
|
|
390
|
-
|
|
303
|
+
|
|
391
304
|
|
|
392
|
-
|
|
305
|
+
|
|
393
306
|
|
|
394
|
-
|
|
307
|
+
|
|
395
308
|
|
|
396
|
-
|
|
309
|
+
|
|
397
310
|
|
|
398
|
-
|
|
311
|
+
|
|
399
312
|
|
|
400
|
-
|
|
313
|
+
|
|
401
314
|
|
|
402
|
-
|
|
315
|
+
|
|
403
316
|
|
|
404
|
-
|
|
317
|
+
|
|
405
318
|
<dt class="tag-source">Source:</dt>
|
|
406
|
-
<dd class="tag-source">
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
</li>
|
|
411
|
-
</ul>
|
|
412
|
-
</dd>
|
|
413
|
-
|
|
319
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
320
|
+
<a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line142">line 142</a>
|
|
321
|
+
</li></ul></dd>
|
|
322
|
+
|
|
414
323
|
|
|
415
|
-
|
|
324
|
+
|
|
416
325
|
|
|
417
|
-
|
|
326
|
+
|
|
418
327
|
|
|
419
|
-
|
|
328
|
+
|
|
420
329
|
</dl>
|
|
421
330
|
|
|
422
331
|
|
|
@@ -432,30 +341,52 @@
|
|
|
432
341
|
|
|
433
342
|
|
|
434
343
|
|
|
435
|
-
|
|
344
|
+
|
|
345
|
+
<h5>Returns:</h5>
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
<div class="param-desc">
|
|
349
|
+
<p>Resolved upon successful completion of command (ie. once the motor is finished).</p>
|
|
350
|
+
</div>
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
<dl>
|
|
355
|
+
<dt>
|
|
356
|
+
Type
|
|
357
|
+
</dt>
|
|
358
|
+
<dd>
|
|
436
359
|
|
|
360
|
+
<span class="param-type">Promise</span>
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
</dd>
|
|
364
|
+
</dl>
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
437
371
|
|
|
372
|
+
|
|
373
|
+
|
|
438
374
|
|
|
439
|
-
|
|
375
|
+
|
|
440
376
|
|
|
441
|
-
|
|
442
|
-
<
|
|
443
|
-
|
|
444
|
-
<use xlink:href="#linkIcon"></use>
|
|
445
|
-
</svg>
|
|
446
|
-
</a>
|
|
447
|
-
<h4 class="name" id="setAccelerationTime">
|
|
448
|
-
<span class="type-signature"></span>setAccelerationTime<span class="signature">(time)</span><span class="type-signature"> → {Promise}</span>
|
|
449
|
-
</h4>
|
|
450
|
-
</span>
|
|
377
|
+
|
|
378
|
+
<h4 class="name" id="setAccelerationTime"><span class="type-signature"></span>setAccelerationTime<span class="signature">(time)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
379
|
+
|
|
451
380
|
|
|
452
|
-
|
|
381
|
+
|
|
453
382
|
|
|
454
383
|
|
|
455
384
|
|
|
456
|
-
|
|
385
|
+
<div class="description">
|
|
457
386
|
<p>Set the global acceleration time</p>
|
|
458
|
-
|
|
387
|
+
</div>
|
|
388
|
+
|
|
389
|
+
|
|
459
390
|
|
|
460
391
|
|
|
461
392
|
|
|
@@ -463,115 +394,102 @@
|
|
|
463
394
|
|
|
464
395
|
|
|
465
396
|
|
|
466
|
-
|
|
467
|
-
|
|
397
|
+
<h5>Parameters:</h5>
|
|
398
|
+
|
|
468
399
|
|
|
469
400
|
<table class="params">
|
|
470
|
-
|
|
401
|
+
<thead>
|
|
471
402
|
<tr>
|
|
472
|
-
|
|
403
|
+
|
|
473
404
|
<th>Name</th>
|
|
474
|
-
|
|
405
|
+
|
|
475
406
|
|
|
476
|
-
|
|
407
|
+
<th>Type</th>
|
|
477
408
|
|
|
478
|
-
|
|
409
|
+
|
|
479
410
|
|
|
480
|
-
|
|
411
|
+
|
|
481
412
|
|
|
482
|
-
|
|
413
|
+
<th class="last">Description</th>
|
|
483
414
|
</tr>
|
|
484
|
-
|
|
415
|
+
</thead>
|
|
485
416
|
|
|
486
|
-
|
|
417
|
+
<tbody>
|
|
487
418
|
|
|
488
|
-
<tr>
|
|
489
|
-
|
|
490
|
-
<td class="name"><code>time</code></td>
|
|
491
|
-
|
|
492
419
|
|
|
493
|
-
<
|
|
494
|
-
|
|
420
|
+
<tr>
|
|
421
|
+
|
|
422
|
+
<td class="name"><code>time</code></td>
|
|
495
423
|
|
|
496
|
-
<span class="param-type">
|
|
497
|
-
number
|
|
498
|
-
</span>
|
|
499
424
|
|
|
500
|
-
|
|
425
|
+
<td class="type">
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
<span class="param-type">number</span>
|
|
501
429
|
|
|
502
430
|
|
|
503
|
-
|
|
504
|
-
|
|
431
|
+
|
|
432
|
+
</td>
|
|
505
433
|
|
|
506
|
-
|
|
434
|
+
|
|
507
435
|
|
|
508
|
-
|
|
436
|
+
|
|
509
437
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
</td>
|
|
514
|
-
</tr>
|
|
438
|
+
<td class="description last"><p>How long acceleration should last (in milliseconds).</p></td>
|
|
439
|
+
</tr>
|
|
515
440
|
|
|
516
441
|
|
|
517
|
-
|
|
442
|
+
</tbody>
|
|
518
443
|
</table>
|
|
519
444
|
|
|
520
445
|
|
|
521
446
|
|
|
522
447
|
|
|
523
448
|
|
|
449
|
+
|
|
524
450
|
<dl class="details">
|
|
525
451
|
|
|
526
|
-
|
|
452
|
+
|
|
527
453
|
|
|
528
|
-
|
|
454
|
+
|
|
529
455
|
|
|
530
|
-
|
|
456
|
+
|
|
531
457
|
<dt class="inherited-from">Inherited From:</dt>
|
|
532
|
-
<dd class="inherited-from">
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
</li>
|
|
537
|
-
</ul>
|
|
538
|
-
</dd>
|
|
539
|
-
|
|
458
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
459
|
+
<a href="TachoMotor.html#setAccelerationTime">TachoMotor#setAccelerationTime</a>
|
|
460
|
+
</li></ul></dd>
|
|
461
|
+
|
|
540
462
|
|
|
541
|
-
|
|
463
|
+
|
|
542
464
|
|
|
543
|
-
|
|
465
|
+
|
|
544
466
|
|
|
545
|
-
|
|
467
|
+
|
|
546
468
|
|
|
547
|
-
|
|
469
|
+
|
|
548
470
|
|
|
549
|
-
|
|
471
|
+
|
|
550
472
|
|
|
551
|
-
|
|
473
|
+
|
|
552
474
|
|
|
553
|
-
|
|
475
|
+
|
|
554
476
|
|
|
555
|
-
|
|
477
|
+
|
|
556
478
|
|
|
557
|
-
|
|
479
|
+
|
|
558
480
|
|
|
559
|
-
|
|
481
|
+
|
|
560
482
|
<dt class="tag-source">Source:</dt>
|
|
561
|
-
<dd class="tag-source">
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
</li>
|
|
566
|
-
</ul>
|
|
567
|
-
</dd>
|
|
568
|
-
|
|
483
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
484
|
+
<a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line77">line 77</a>
|
|
485
|
+
</li></ul></dd>
|
|
486
|
+
|
|
569
487
|
|
|
570
|
-
|
|
488
|
+
|
|
571
489
|
|
|
572
|
-
|
|
490
|
+
|
|
573
491
|
|
|
574
|
-
|
|
492
|
+
|
|
575
493
|
</dl>
|
|
576
494
|
|
|
577
495
|
|
|
@@ -587,31 +505,53 @@
|
|
|
587
505
|
|
|
588
506
|
|
|
589
507
|
|
|
590
|
-
|
|
508
|
+
|
|
509
|
+
<h5>Returns:</h5>
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
<div class="param-desc">
|
|
513
|
+
<p>Resolved upon successful completion of command (ie. once the motor is finished).</p>
|
|
514
|
+
</div>
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
<dl>
|
|
519
|
+
<dt>
|
|
520
|
+
Type
|
|
521
|
+
</dt>
|
|
522
|
+
<dd>
|
|
591
523
|
|
|
524
|
+
<span class="param-type">Promise</span>
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
</dd>
|
|
528
|
+
</dl>
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
592
535
|
|
|
536
|
+
|
|
537
|
+
|
|
593
538
|
|
|
594
|
-
|
|
539
|
+
|
|
595
540
|
|
|
596
|
-
|
|
597
|
-
<
|
|
598
|
-
|
|
599
|
-
<use xlink:href="#linkIcon"></use>
|
|
600
|
-
</svg>
|
|
601
|
-
</a>
|
|
602
|
-
<h4 class="name" id="setBrakingStyle">
|
|
603
|
-
<span class="type-signature"></span>setBrakingStyle<span class="signature">(style)</span><span class="type-signature"></span>
|
|
604
|
-
</h4>
|
|
605
|
-
</span>
|
|
541
|
+
|
|
542
|
+
<h4 class="name" id="setBrakingStyle"><span class="type-signature"></span>setBrakingStyle<span class="signature">(style)</span><span class="type-signature"></span></h4>
|
|
543
|
+
|
|
606
544
|
|
|
607
|
-
|
|
545
|
+
|
|
608
546
|
|
|
609
547
|
|
|
610
548
|
|
|
611
|
-
|
|
549
|
+
<div class="description">
|
|
612
550
|
<p>Set the braking style of the motor.</p>
|
|
613
551
|
<p>Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.</p>
|
|
614
|
-
|
|
552
|
+
</div>
|
|
553
|
+
|
|
554
|
+
|
|
615
555
|
|
|
616
556
|
|
|
617
557
|
|
|
@@ -619,115 +559,102 @@
|
|
|
619
559
|
|
|
620
560
|
|
|
621
561
|
|
|
622
|
-
|
|
623
|
-
|
|
562
|
+
<h5>Parameters:</h5>
|
|
563
|
+
|
|
624
564
|
|
|
625
565
|
<table class="params">
|
|
626
|
-
|
|
566
|
+
<thead>
|
|
627
567
|
<tr>
|
|
628
|
-
|
|
568
|
+
|
|
629
569
|
<th>Name</th>
|
|
630
|
-
|
|
570
|
+
|
|
631
571
|
|
|
632
|
-
|
|
572
|
+
<th>Type</th>
|
|
633
573
|
|
|
634
|
-
|
|
574
|
+
|
|
635
575
|
|
|
636
|
-
|
|
576
|
+
|
|
637
577
|
|
|
638
|
-
|
|
578
|
+
<th class="last">Description</th>
|
|
639
579
|
</tr>
|
|
640
|
-
|
|
580
|
+
</thead>
|
|
641
581
|
|
|
642
|
-
|
|
582
|
+
<tbody>
|
|
643
583
|
|
|
644
|
-
<tr>
|
|
645
|
-
|
|
646
|
-
<td class="name"><code>style</code></td>
|
|
647
|
-
|
|
648
584
|
|
|
649
|
-
<
|
|
650
|
-
|
|
585
|
+
<tr>
|
|
586
|
+
|
|
587
|
+
<td class="name"><code>style</code></td>
|
|
651
588
|
|
|
652
|
-
<span class="param-type">
|
|
653
|
-
number
|
|
654
|
-
</span>
|
|
655
589
|
|
|
656
|
-
|
|
590
|
+
<td class="type">
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
<span class="param-type">number</span>
|
|
657
594
|
|
|
658
595
|
|
|
659
|
-
|
|
660
|
-
|
|
596
|
+
|
|
597
|
+
</td>
|
|
661
598
|
|
|
662
|
-
|
|
599
|
+
|
|
663
600
|
|
|
664
|
-
|
|
601
|
+
|
|
665
602
|
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
</td>
|
|
670
|
-
</tr>
|
|
603
|
+
<td class="description last"><p>Either BRAKE or HOLD</p></td>
|
|
604
|
+
</tr>
|
|
671
605
|
|
|
672
606
|
|
|
673
|
-
|
|
607
|
+
</tbody>
|
|
674
608
|
</table>
|
|
675
609
|
|
|
676
610
|
|
|
677
611
|
|
|
678
612
|
|
|
679
613
|
|
|
614
|
+
|
|
680
615
|
<dl class="details">
|
|
681
616
|
|
|
682
|
-
|
|
617
|
+
|
|
683
618
|
|
|
684
|
-
|
|
619
|
+
|
|
685
620
|
|
|
686
|
-
|
|
621
|
+
|
|
687
622
|
<dt class="inherited-from">Inherited From:</dt>
|
|
688
|
-
<dd class="inherited-from">
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
</li>
|
|
693
|
-
</ul>
|
|
694
|
-
</dd>
|
|
695
|
-
|
|
623
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
624
|
+
<a href="TachoMotor.html#setBrakingStyle">TachoMotor#setBrakingStyle</a>
|
|
625
|
+
</li></ul></dd>
|
|
626
|
+
|
|
696
627
|
|
|
697
|
-
|
|
628
|
+
|
|
698
629
|
|
|
699
|
-
|
|
630
|
+
|
|
700
631
|
|
|
701
|
-
|
|
632
|
+
|
|
702
633
|
|
|
703
|
-
|
|
634
|
+
|
|
704
635
|
|
|
705
|
-
|
|
636
|
+
|
|
706
637
|
|
|
707
|
-
|
|
638
|
+
|
|
708
639
|
|
|
709
|
-
|
|
640
|
+
|
|
710
641
|
|
|
711
|
-
|
|
642
|
+
|
|
712
643
|
|
|
713
|
-
|
|
644
|
+
|
|
714
645
|
|
|
715
|
-
|
|
646
|
+
|
|
716
647
|
<dt class="tag-source">Source:</dt>
|
|
717
|
-
<dd class="tag-source">
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
</li>
|
|
722
|
-
</ul>
|
|
723
|
-
</dd>
|
|
724
|
-
|
|
648
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
649
|
+
<a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line57">line 57</a>
|
|
650
|
+
</li></ul></dd>
|
|
651
|
+
|
|
725
652
|
|
|
726
|
-
|
|
653
|
+
|
|
727
654
|
|
|
728
|
-
|
|
655
|
+
|
|
729
656
|
|
|
730
|
-
|
|
657
|
+
|
|
731
658
|
</dl>
|
|
732
659
|
|
|
733
660
|
|
|
@@ -743,146 +670,133 @@
|
|
|
743
670
|
|
|
744
671
|
|
|
745
672
|
|
|
746
|
-
|
|
747
|
-
|
|
748
673
|
|
|
749
674
|
|
|
750
|
-
|
|
751
675
|
|
|
752
|
-
<span class='name-container'>
|
|
753
|
-
<a class="link-icon" href="#setDecelerationTime">
|
|
754
|
-
<svg height="20" width="20" style="fill: black;">
|
|
755
|
-
<use xlink:href="#linkIcon"></use>
|
|
756
|
-
</svg>
|
|
757
|
-
</a>
|
|
758
|
-
<h4 class="name" id="setDecelerationTime">
|
|
759
|
-
<span class="type-signature"></span>setDecelerationTime<span class="signature">(time)</span><span class="type-signature"> → {Promise}</span>
|
|
760
|
-
</h4>
|
|
761
|
-
</span>
|
|
762
676
|
|
|
763
|
-
|
|
764
677
|
|
|
765
678
|
|
|
679
|
+
|
|
680
|
+
|
|
766
681
|
|
|
767
|
-
|
|
768
|
-
<p>Set the global deceleration time</p>
|
|
769
|
-
</div>
|
|
682
|
+
|
|
770
683
|
|
|
684
|
+
|
|
685
|
+
<h4 class="name" id="setDecelerationTime"><span class="type-signature"></span>setDecelerationTime<span class="signature">(time)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
<div class="description">
|
|
693
|
+
<p>Set the global deceleration time</p>
|
|
694
|
+
</div>
|
|
771
695
|
|
|
772
696
|
|
|
773
697
|
|
|
774
698
|
|
|
775
699
|
|
|
776
700
|
|
|
777
|
-
|
|
778
|
-
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
<h5>Parameters:</h5>
|
|
705
|
+
|
|
779
706
|
|
|
780
707
|
<table class="params">
|
|
781
|
-
|
|
708
|
+
<thead>
|
|
782
709
|
<tr>
|
|
783
|
-
|
|
710
|
+
|
|
784
711
|
<th>Name</th>
|
|
785
|
-
|
|
712
|
+
|
|
786
713
|
|
|
787
|
-
|
|
714
|
+
<th>Type</th>
|
|
788
715
|
|
|
789
|
-
|
|
716
|
+
|
|
790
717
|
|
|
791
|
-
|
|
718
|
+
|
|
792
719
|
|
|
793
|
-
|
|
720
|
+
<th class="last">Description</th>
|
|
794
721
|
</tr>
|
|
795
|
-
|
|
722
|
+
</thead>
|
|
796
723
|
|
|
797
|
-
|
|
724
|
+
<tbody>
|
|
798
725
|
|
|
799
|
-
<tr>
|
|
800
|
-
|
|
801
|
-
<td class="name"><code>time</code></td>
|
|
802
|
-
|
|
803
726
|
|
|
804
|
-
<
|
|
805
|
-
|
|
727
|
+
<tr>
|
|
728
|
+
|
|
729
|
+
<td class="name"><code>time</code></td>
|
|
806
730
|
|
|
807
|
-
<span class="param-type">
|
|
808
|
-
number
|
|
809
|
-
</span>
|
|
810
731
|
|
|
811
|
-
|
|
732
|
+
<td class="type">
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
<span class="param-type">number</span>
|
|
812
736
|
|
|
813
737
|
|
|
814
|
-
|
|
815
|
-
|
|
738
|
+
|
|
739
|
+
</td>
|
|
816
740
|
|
|
817
|
-
|
|
741
|
+
|
|
818
742
|
|
|
819
|
-
|
|
743
|
+
|
|
820
744
|
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
</td>
|
|
825
|
-
</tr>
|
|
745
|
+
<td class="description last"><p>How long deceleration should last (in milliseconds).</p></td>
|
|
746
|
+
</tr>
|
|
826
747
|
|
|
827
748
|
|
|
828
|
-
|
|
749
|
+
</tbody>
|
|
829
750
|
</table>
|
|
830
751
|
|
|
831
752
|
|
|
832
753
|
|
|
833
754
|
|
|
834
755
|
|
|
756
|
+
|
|
835
757
|
<dl class="details">
|
|
836
758
|
|
|
837
|
-
|
|
759
|
+
|
|
838
760
|
|
|
839
|
-
|
|
761
|
+
|
|
840
762
|
|
|
841
|
-
|
|
763
|
+
|
|
842
764
|
<dt class="inherited-from">Inherited From:</dt>
|
|
843
|
-
<dd class="inherited-from">
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
</li>
|
|
848
|
-
</ul>
|
|
849
|
-
</dd>
|
|
850
|
-
|
|
765
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
766
|
+
<a href="TachoMotor.html#setDecelerationTime">TachoMotor#setDecelerationTime</a>
|
|
767
|
+
</li></ul></dd>
|
|
768
|
+
|
|
851
769
|
|
|
852
|
-
|
|
770
|
+
|
|
853
771
|
|
|
854
|
-
|
|
772
|
+
|
|
855
773
|
|
|
856
|
-
|
|
774
|
+
|
|
857
775
|
|
|
858
|
-
|
|
776
|
+
|
|
859
777
|
|
|
860
|
-
|
|
778
|
+
|
|
861
779
|
|
|
862
|
-
|
|
780
|
+
|
|
863
781
|
|
|
864
|
-
|
|
782
|
+
|
|
865
783
|
|
|
866
|
-
|
|
784
|
+
|
|
867
785
|
|
|
868
|
-
|
|
786
|
+
|
|
869
787
|
|
|
870
|
-
|
|
788
|
+
|
|
871
789
|
<dt class="tag-source">Source:</dt>
|
|
872
|
-
<dd class="tag-source">
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
</li>
|
|
877
|
-
</ul>
|
|
878
|
-
</dd>
|
|
879
|
-
|
|
790
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
791
|
+
<a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line88">line 88</a>
|
|
792
|
+
</li></ul></dd>
|
|
793
|
+
|
|
880
794
|
|
|
881
|
-
|
|
795
|
+
|
|
882
796
|
|
|
883
|
-
|
|
797
|
+
|
|
884
798
|
|
|
885
|
-
|
|
799
|
+
|
|
886
800
|
</dl>
|
|
887
801
|
|
|
888
802
|
|
|
@@ -898,31 +812,51 @@
|
|
|
898
812
|
|
|
899
813
|
|
|
900
814
|
|
|
901
|
-
|
|
815
|
+
|
|
816
|
+
<h5>Returns:</h5>
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
<div class="param-desc">
|
|
820
|
+
<p>Resolved upon successful completion of command (ie. once the motor is finished).</p>
|
|
821
|
+
</div>
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
<dl>
|
|
826
|
+
<dt>
|
|
827
|
+
Type
|
|
828
|
+
</dt>
|
|
829
|
+
<dd>
|
|
902
830
|
|
|
831
|
+
<span class="param-type">Promise</span>
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
</dd>
|
|
835
|
+
</dl>
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
903
839
|
|
|
904
840
|
|
|
905
|
-
|
|
906
841
|
|
|
907
|
-
<span class='name-container'>
|
|
908
|
-
<a class="link-icon" href="#setMaxPower">
|
|
909
|
-
<svg height="20" width="20" style="fill: black;">
|
|
910
|
-
<use xlink:href="#linkIcon"></use>
|
|
911
|
-
</svg>
|
|
912
|
-
</a>
|
|
913
|
-
<h4 class="name" id="setMaxPower">
|
|
914
|
-
<span class="type-signature"></span>setMaxPower<span class="signature">(style)</span><span class="type-signature"></span>
|
|
915
|
-
</h4>
|
|
916
|
-
</span>
|
|
917
842
|
|
|
918
|
-
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
<h4 class="name" id="setMaxPower"><span class="type-signature"></span>setMaxPower<span class="signature">(style)</span><span class="type-signature"></span></h4>
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
919
853
|
|
|
920
854
|
|
|
921
855
|
|
|
922
|
-
|
|
856
|
+
<div class="description">
|
|
923
857
|
<p>Set the max power of the motor.</p>
|
|
924
858
|
<p>Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.</p>
|
|
925
|
-
|
|
859
|
+
</div>
|
|
926
860
|
|
|
927
861
|
|
|
928
862
|
|
|
@@ -930,115 +864,104 @@
|
|
|
930
864
|
|
|
931
865
|
|
|
932
866
|
|
|
933
|
-
|
|
934
|
-
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
<h5>Parameters:</h5>
|
|
870
|
+
|
|
935
871
|
|
|
936
872
|
<table class="params">
|
|
937
|
-
|
|
873
|
+
<thead>
|
|
938
874
|
<tr>
|
|
939
|
-
|
|
875
|
+
|
|
940
876
|
<th>Name</th>
|
|
941
|
-
|
|
877
|
+
|
|
942
878
|
|
|
943
|
-
|
|
879
|
+
<th>Type</th>
|
|
944
880
|
|
|
945
|
-
|
|
881
|
+
|
|
946
882
|
|
|
947
|
-
|
|
883
|
+
|
|
948
884
|
|
|
949
|
-
|
|
885
|
+
<th class="last">Description</th>
|
|
950
886
|
</tr>
|
|
951
|
-
|
|
887
|
+
</thead>
|
|
952
888
|
|
|
953
|
-
|
|
889
|
+
<tbody>
|
|
954
890
|
|
|
955
|
-
<tr>
|
|
956
|
-
|
|
957
|
-
<td class="name"><code>style</code></td>
|
|
958
|
-
|
|
959
891
|
|
|
960
|
-
<
|
|
961
|
-
|
|
892
|
+
<tr>
|
|
893
|
+
|
|
894
|
+
<td class="name"><code>style</code></td>
|
|
962
895
|
|
|
963
|
-
<span class="param-type">
|
|
964
|
-
number
|
|
965
|
-
</span>
|
|
966
896
|
|
|
967
|
-
|
|
897
|
+
<td class="type">
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
<span class="param-type">number</span>
|
|
968
901
|
|
|
969
902
|
|
|
970
|
-
|
|
971
|
-
|
|
903
|
+
|
|
904
|
+
</td>
|
|
972
905
|
|
|
973
|
-
|
|
906
|
+
|
|
974
907
|
|
|
975
|
-
|
|
908
|
+
|
|
976
909
|
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
</td>
|
|
981
|
-
</tr>
|
|
910
|
+
<td class="description last"><p>Either BRAKE or HOLD</p></td>
|
|
911
|
+
</tr>
|
|
982
912
|
|
|
983
913
|
|
|
984
|
-
|
|
914
|
+
</tbody>
|
|
985
915
|
</table>
|
|
986
916
|
|
|
987
917
|
|
|
988
918
|
|
|
989
919
|
|
|
990
920
|
|
|
921
|
+
|
|
991
922
|
<dl class="details">
|
|
992
923
|
|
|
993
|
-
|
|
924
|
+
|
|
994
925
|
|
|
995
|
-
|
|
926
|
+
|
|
996
927
|
|
|
997
|
-
|
|
928
|
+
|
|
998
929
|
<dt class="inherited-from">Inherited From:</dt>
|
|
999
|
-
<dd class="inherited-from">
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
</li>
|
|
1004
|
-
</ul>
|
|
1005
|
-
</dd>
|
|
1006
|
-
|
|
930
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
931
|
+
<a href="TachoMotor.html#setMaxPower">TachoMotor#setMaxPower</a>
|
|
932
|
+
</li></ul></dd>
|
|
933
|
+
|
|
1007
934
|
|
|
1008
|
-
|
|
935
|
+
|
|
1009
936
|
|
|
1010
|
-
|
|
937
|
+
|
|
1011
938
|
|
|
1012
|
-
|
|
939
|
+
|
|
1013
940
|
|
|
1014
|
-
|
|
941
|
+
|
|
1015
942
|
|
|
1016
|
-
|
|
943
|
+
|
|
1017
944
|
|
|
1018
|
-
|
|
945
|
+
|
|
1019
946
|
|
|
1020
|
-
|
|
947
|
+
|
|
1021
948
|
|
|
1022
|
-
|
|
949
|
+
|
|
1023
950
|
|
|
1024
|
-
|
|
951
|
+
|
|
1025
952
|
|
|
1026
|
-
|
|
953
|
+
|
|
1027
954
|
<dt class="tag-source">Source:</dt>
|
|
1028
|
-
<dd class="tag-source">
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
</li>
|
|
1033
|
-
</ul>
|
|
1034
|
-
</dd>
|
|
1035
|
-
|
|
955
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
956
|
+
<a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line67">line 67</a>
|
|
957
|
+
</li></ul></dd>
|
|
958
|
+
|
|
1036
959
|
|
|
1037
|
-
|
|
960
|
+
|
|
1038
961
|
|
|
1039
|
-
|
|
962
|
+
|
|
1040
963
|
|
|
1041
|
-
|
|
964
|
+
|
|
1042
965
|
</dl>
|
|
1043
966
|
|
|
1044
967
|
|
|
@@ -1054,30 +977,30 @@
|
|
|
1054
977
|
|
|
1055
978
|
|
|
1056
979
|
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
980
|
|
|
1060
981
|
|
|
1061
|
-
|
|
1062
982
|
|
|
1063
|
-
<span class='name-container'>
|
|
1064
|
-
<a class="link-icon" href="#setSpeed">
|
|
1065
|
-
<svg height="20" width="20" style="fill: black;">
|
|
1066
|
-
<use xlink:href="#linkIcon"></use>
|
|
1067
|
-
</svg>
|
|
1068
|
-
</a>
|
|
1069
|
-
<h4 class="name" id="setSpeed">
|
|
1070
|
-
<span class="type-signature"></span>setSpeed<span class="signature">(speed, time)</span><span class="type-signature"> → {Promise}</span>
|
|
1071
|
-
</h4>
|
|
1072
|
-
</span>
|
|
1073
983
|
|
|
1074
|
-
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
<h4 class="name" id="setSpeed"><span class="type-signature"></span>setSpeed<span class="signature">(speed, time)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
|
|
1075
996
|
|
|
1076
997
|
|
|
1077
998
|
|
|
1078
|
-
|
|
999
|
+
<div class="description">
|
|
1079
1000
|
<p>Set the motor speed.</p>
|
|
1080
|
-
|
|
1001
|
+
</div>
|
|
1002
|
+
|
|
1003
|
+
|
|
1081
1004
|
|
|
1082
1005
|
|
|
1083
1006
|
|
|
@@ -1085,144 +1008,125 @@
|
|
|
1085
1008
|
|
|
1086
1009
|
|
|
1087
1010
|
|
|
1088
|
-
|
|
1089
|
-
|
|
1011
|
+
<h5>Parameters:</h5>
|
|
1012
|
+
|
|
1090
1013
|
|
|
1091
1014
|
<table class="params">
|
|
1092
|
-
|
|
1015
|
+
<thead>
|
|
1093
1016
|
<tr>
|
|
1094
|
-
|
|
1017
|
+
|
|
1095
1018
|
<th>Name</th>
|
|
1096
|
-
|
|
1019
|
+
|
|
1097
1020
|
|
|
1098
|
-
|
|
1021
|
+
<th>Type</th>
|
|
1099
1022
|
|
|
1100
|
-
|
|
1023
|
+
|
|
1101
1024
|
|
|
1102
|
-
|
|
1025
|
+
|
|
1103
1026
|
|
|
1104
|
-
|
|
1027
|
+
<th class="last">Description</th>
|
|
1105
1028
|
</tr>
|
|
1106
|
-
|
|
1029
|
+
</thead>
|
|
1107
1030
|
|
|
1108
|
-
|
|
1031
|
+
<tbody>
|
|
1109
1032
|
|
|
1110
|
-
<tr>
|
|
1111
|
-
|
|
1112
|
-
<td class="name"><code>speed</code></td>
|
|
1113
|
-
|
|
1114
1033
|
|
|
1115
|
-
<
|
|
1116
|
-
|
|
1034
|
+
<tr>
|
|
1035
|
+
|
|
1036
|
+
<td class="name"><code>speed</code></td>
|
|
1117
1037
|
|
|
1118
|
-
<span class="param-type">
|
|
1119
|
-
number
|
|
1120
|
-
</span>
|
|
1121
1038
|
|
|
1122
|
-
|
|
1039
|
+
<td class="type">
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
<span class="param-type">number</span>
|
|
1123
1043
|
|
|
1124
1044
|
|
|
1125
|
-
|
|
1126
|
-
|
|
1045
|
+
|
|
1046
|
+
</td>
|
|
1127
1047
|
|
|
1128
|
-
|
|
1048
|
+
|
|
1129
1049
|
|
|
1130
|
-
|
|
1050
|
+
|
|
1131
1051
|
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
</td>
|
|
1136
|
-
</tr>
|
|
1052
|
+
<td class="description last"><p>For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.</p></td>
|
|
1053
|
+
</tr>
|
|
1137
1054
|
|
|
1138
1055
|
|
|
1139
|
-
<tr>
|
|
1140
|
-
|
|
1141
|
-
<td class="name"><code>time</code></td>
|
|
1142
|
-
|
|
1143
1056
|
|
|
1144
|
-
<
|
|
1145
|
-
|
|
1057
|
+
<tr>
|
|
1058
|
+
|
|
1059
|
+
<td class="name"><code>time</code></td>
|
|
1146
1060
|
|
|
1147
|
-
<span class="param-type">
|
|
1148
|
-
number
|
|
1149
|
-
</span>
|
|
1150
1061
|
|
|
1151
|
-
|
|
1062
|
+
<td class="type">
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
<span class="param-type">number</span>
|
|
1152
1066
|
|
|
1153
1067
|
|
|
1154
|
-
|
|
1155
|
-
|
|
1068
|
+
|
|
1069
|
+
</td>
|
|
1156
1070
|
|
|
1157
|
-
|
|
1071
|
+
|
|
1158
1072
|
|
|
1159
|
-
|
|
1073
|
+
|
|
1160
1074
|
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
</td>
|
|
1165
|
-
</tr>
|
|
1075
|
+
<td class="description last"><p>How long the motor should run for (in milliseconds).</p></td>
|
|
1076
|
+
</tr>
|
|
1166
1077
|
|
|
1167
1078
|
|
|
1168
|
-
|
|
1079
|
+
</tbody>
|
|
1169
1080
|
</table>
|
|
1170
1081
|
|
|
1171
1082
|
|
|
1172
1083
|
|
|
1173
1084
|
|
|
1174
1085
|
|
|
1086
|
+
|
|
1175
1087
|
<dl class="details">
|
|
1176
1088
|
|
|
1177
|
-
|
|
1089
|
+
|
|
1178
1090
|
|
|
1179
|
-
|
|
1091
|
+
|
|
1180
1092
|
|
|
1181
|
-
|
|
1093
|
+
|
|
1182
1094
|
<dt class="inherited-from">Inherited From:</dt>
|
|
1183
|
-
<dd class="inherited-from">
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
</li>
|
|
1188
|
-
</ul>
|
|
1189
|
-
</dd>
|
|
1190
|
-
|
|
1095
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1096
|
+
<a href="TachoMotor.html#setSpeed">TachoMotor#setSpeed</a>
|
|
1097
|
+
</li></ul></dd>
|
|
1098
|
+
|
|
1191
1099
|
|
|
1192
|
-
|
|
1100
|
+
|
|
1193
1101
|
|
|
1194
|
-
|
|
1102
|
+
|
|
1195
1103
|
|
|
1196
|
-
|
|
1104
|
+
|
|
1197
1105
|
|
|
1198
|
-
|
|
1106
|
+
|
|
1199
1107
|
|
|
1200
|
-
|
|
1108
|
+
|
|
1201
1109
|
|
|
1202
|
-
|
|
1110
|
+
|
|
1203
1111
|
|
|
1204
|
-
|
|
1112
|
+
|
|
1205
1113
|
|
|
1206
|
-
|
|
1114
|
+
|
|
1207
1115
|
|
|
1208
|
-
|
|
1116
|
+
|
|
1209
1117
|
|
|
1210
|
-
|
|
1118
|
+
|
|
1211
1119
|
<dt class="tag-source">Source:</dt>
|
|
1212
|
-
<dd class="tag-source">
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
</li>
|
|
1217
|
-
</ul>
|
|
1218
|
-
</dd>
|
|
1219
|
-
|
|
1120
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1121
|
+
<a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line99">line 99</a>
|
|
1122
|
+
</li></ul></dd>
|
|
1123
|
+
|
|
1220
1124
|
|
|
1221
|
-
|
|
1125
|
+
|
|
1222
1126
|
|
|
1223
|
-
|
|
1127
|
+
|
|
1224
1128
|
|
|
1225
|
-
|
|
1129
|
+
|
|
1226
1130
|
</dl>
|
|
1227
1131
|
|
|
1228
1132
|
|
|
@@ -1238,154 +1142,173 @@
|
|
|
1238
1142
|
|
|
1239
1143
|
|
|
1240
1144
|
|
|
1241
|
-
|
|
1145
|
+
|
|
1146
|
+
<h5>Returns:</h5>
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
<div class="param-desc">
|
|
1150
|
+
<p>Resolved upon successful issuance of the command.</p>
|
|
1151
|
+
</div>
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
|
|
1155
|
+
<dl>
|
|
1156
|
+
<dt>
|
|
1157
|
+
Type
|
|
1158
|
+
</dt>
|
|
1159
|
+
<dd>
|
|
1160
|
+
|
|
1161
|
+
<span class="param-type">Promise</span>
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
</dd>
|
|
1165
|
+
</dl>
|
|
1166
|
+
|
|
1242
1167
|
|
|
1243
1168
|
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
|
|
1244
1174
|
|
|
1245
1175
|
|
|
1246
1176
|
|
|
1247
|
-
<h3 class="subsection-title">Events</h3>
|
|
1248
1177
|
|
|
1249
|
-
|
|
1250
|
-
|
|
1178
|
+
|
|
1179
|
+
<h3 class="subsection-title">Events</h3>
|
|
1251
1180
|
|
|
1181
|
+
|
|
1182
|
+
|
|
1252
1183
|
|
|
1253
|
-
|
|
1184
|
+
|
|
1254
1185
|
|
|
1255
|
-
|
|
1256
|
-
<
|
|
1257
|
-
|
|
1258
|
-
<use xlink:href="#linkIcon"></use>
|
|
1259
|
-
</svg>
|
|
1260
|
-
</a>
|
|
1261
|
-
<h4 class="name" id="event:rotate">
|
|
1262
|
-
<span class="type-signature"></span>rotate<span class="type-signature"> :object</span>
|
|
1263
|
-
</h4>
|
|
1264
|
-
</span>
|
|
1186
|
+
|
|
1187
|
+
<h4 class="name" id="event:rotate">rotate</h4>
|
|
1188
|
+
|
|
1265
1189
|
|
|
1266
|
-
|
|
1190
|
+
|
|
1267
1191
|
|
|
1268
1192
|
|
|
1269
1193
|
|
|
1270
|
-
|
|
1194
|
+
<div class="description">
|
|
1271
1195
|
<p>Emits when a rotation sensor is activated.</p>
|
|
1272
|
-
|
|
1196
|
+
</div>
|
|
1273
1197
|
|
|
1274
1198
|
|
|
1275
1199
|
|
|
1276
1200
|
|
|
1277
1201
|
|
|
1202
|
+
<h5>Type:</h5>
|
|
1203
|
+
<ul>
|
|
1204
|
+
<li>
|
|
1205
|
+
|
|
1206
|
+
<span class="param-type">object</span>
|
|
1278
1207
|
|
|
1279
1208
|
|
|
1280
|
-
|
|
1281
|
-
|
|
1209
|
+
</li>
|
|
1210
|
+
</ul>
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
<h5>Parameters:</h5>
|
|
1217
|
+
|
|
1282
1218
|
|
|
1283
1219
|
<table class="params">
|
|
1284
|
-
|
|
1220
|
+
<thead>
|
|
1285
1221
|
<tr>
|
|
1286
|
-
|
|
1222
|
+
|
|
1287
1223
|
<th>Name</th>
|
|
1288
|
-
|
|
1224
|
+
|
|
1289
1225
|
|
|
1290
|
-
|
|
1226
|
+
<th>Type</th>
|
|
1291
1227
|
|
|
1292
|
-
|
|
1228
|
+
|
|
1293
1229
|
|
|
1294
|
-
|
|
1230
|
+
|
|
1295
1231
|
|
|
1296
|
-
|
|
1232
|
+
<th class="last">Description</th>
|
|
1297
1233
|
</tr>
|
|
1298
|
-
|
|
1234
|
+
</thead>
|
|
1299
1235
|
|
|
1300
|
-
|
|
1236
|
+
<tbody>
|
|
1301
1237
|
|
|
1302
|
-
<tr>
|
|
1303
|
-
|
|
1304
|
-
<td class="name"><code>rotation</code></td>
|
|
1305
|
-
|
|
1306
1238
|
|
|
1307
|
-
<
|
|
1308
|
-
|
|
1239
|
+
<tr>
|
|
1240
|
+
|
|
1241
|
+
<td class="name"><code>rotation</code></td>
|
|
1309
1242
|
|
|
1310
|
-
<span class="param-type">
|
|
1311
|
-
number
|
|
1312
|
-
</span>
|
|
1313
1243
|
|
|
1314
|
-
|
|
1244
|
+
<td class="type">
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
<span class="param-type">number</span>
|
|
1315
1248
|
|
|
1316
1249
|
|
|
1317
|
-
|
|
1318
|
-
|
|
1250
|
+
|
|
1251
|
+
</td>
|
|
1319
1252
|
|
|
1320
|
-
|
|
1253
|
+
|
|
1321
1254
|
|
|
1322
|
-
|
|
1255
|
+
|
|
1323
1256
|
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
</td>
|
|
1328
|
-
</tr>
|
|
1257
|
+
<td class="description last"></td>
|
|
1258
|
+
</tr>
|
|
1329
1259
|
|
|
1330
1260
|
|
|
1331
|
-
|
|
1261
|
+
</tbody>
|
|
1332
1262
|
</table>
|
|
1333
1263
|
|
|
1334
1264
|
|
|
1335
1265
|
|
|
1336
1266
|
|
|
1337
1267
|
|
|
1268
|
+
|
|
1338
1269
|
<dl class="details">
|
|
1339
1270
|
|
|
1340
|
-
|
|
1271
|
+
|
|
1341
1272
|
|
|
1342
|
-
|
|
1273
|
+
|
|
1343
1274
|
|
|
1344
|
-
|
|
1275
|
+
|
|
1345
1276
|
<dt class="inherited-from">Inherited From:</dt>
|
|
1346
|
-
<dd class="inherited-from">
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
</li>
|
|
1351
|
-
</ul>
|
|
1352
|
-
</dd>
|
|
1353
|
-
|
|
1277
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1278
|
+
<a href="TachoMotor.html#event:rotate">TachoMotor#event:rotate</a>
|
|
1279
|
+
</li></ul></dd>
|
|
1280
|
+
|
|
1354
1281
|
|
|
1355
|
-
|
|
1282
|
+
|
|
1356
1283
|
|
|
1357
|
-
|
|
1284
|
+
|
|
1358
1285
|
|
|
1359
|
-
|
|
1286
|
+
|
|
1360
1287
|
|
|
1361
|
-
|
|
1288
|
+
|
|
1362
1289
|
|
|
1363
|
-
|
|
1290
|
+
|
|
1364
1291
|
|
|
1365
|
-
|
|
1292
|
+
|
|
1366
1293
|
|
|
1367
|
-
|
|
1294
|
+
|
|
1368
1295
|
|
|
1369
|
-
|
|
1296
|
+
|
|
1370
1297
|
|
|
1371
|
-
|
|
1298
|
+
|
|
1372
1299
|
|
|
1373
|
-
|
|
1300
|
+
|
|
1374
1301
|
<dt class="tag-source">Source:</dt>
|
|
1375
|
-
<dd class="tag-source">
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
</li>
|
|
1380
|
-
</ul>
|
|
1381
|
-
</dd>
|
|
1382
|
-
|
|
1302
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1303
|
+
<a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line47">line 47</a>
|
|
1304
|
+
</li></ul></dd>
|
|
1305
|
+
|
|
1383
1306
|
|
|
1384
|
-
|
|
1307
|
+
|
|
1385
1308
|
|
|
1386
|
-
|
|
1309
|
+
|
|
1387
1310
|
|
|
1388
|
-
|
|
1311
|
+
|
|
1389
1312
|
</dl>
|
|
1390
1313
|
|
|
1391
1314
|
|
|
@@ -1401,26 +1324,34 @@
|
|
|
1401
1324
|
|
|
1402
1325
|
|
|
1403
1326
|
|
|
1404
|
-
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
|
|
1405
1334
|
|
|
1406
|
-
|
|
1407
|
-
</section>
|
|
1335
|
+
</article>
|
|
1408
1336
|
|
|
1337
|
+
</section>
|
|
1409
1338
|
|
|
1410
1339
|
|
|
1411
1340
|
|
|
1412
|
-
</div>
|
|
1413
1341
|
|
|
1414
|
-
|
|
1342
|
+
</div>
|
|
1415
1343
|
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1344
|
+
<nav>
|
|
1345
|
+
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbsoluteMotor.html">AbsoluteMotor</a></li><li><a href="BaseHub.html">BaseHub</a></li><li><a href="BasicMotor.html">BasicMotor</a></li><li><a href="ColorDistanceSensor.html">ColorDistanceSensor</a></li><li><a href="CurrentSensor.html">CurrentSensor</a></li><li><a href="Device.html">Device</a></li><li><a href="DuploTrainBase.html">DuploTrainBase</a></li><li><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a></li><li><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a></li><li><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li><a href="Hub.html">Hub</a></li><li><a href="HubLED.html">HubLED</a></li><li><a href="LPF2Hub.html">LPF2Hub</a></li><li><a href="Light.html">Light</a></li><li><a href="Mario.html">Mario</a></li><li><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li><a href="MediumLinearMotor.html">MediumLinearMotor</a></li><li><a href="MotionSensor.html">MotionSensor</a></li><li><a href="MoveHub.html">MoveHub</a></li><li><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a></li><li><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li><a href="PiezoBuzzer.html">PiezoBuzzer</a></li><li><a href="PoweredUP.html">PoweredUP</a></li><li><a href="RemoteControl.html">RemoteControl</a></li><li><a href="RemoteControlButton.html">RemoteControlButton</a></li><li><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li><a href="TachoMotor.html">TachoMotor</a></li><li><a href="Technic3x3ColorLightMatrix.html">Technic3x3ColorLightMatrix</a></li><li><a href="TechnicColorSensor.html">TechnicColorSensor</a></li><li><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a></li><li><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a></li><li><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a></li><li><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a></li><li><a href="TechnicMediumHub.html">TechnicMediumHub</a></li><li><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a></li><li><a href="TechnicSmallAngularMotor.html">TechnicSmallAngularMotor</a></li><li><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a></li><li><a href="TiltSensor.html">TiltSensor</a></li><li><a href="TrainMotor.html">TrainMotor</a></li><li><a href="VoltageSensor.html">VoltageSensor</a></li><li><a href="WeDo2SmartHub.html">WeDo2SmartHub</a></li></ul><h3>Events</h3><ul><li><a href="AbsoluteMotor.html#event:absolute">absolute</a></li><li><a href="AbsoluteMotor.html#event:rotate">rotate</a></li><li><a href="ColorDistanceSensor.html#event:ambient">ambient</a></li><li><a href="ColorDistanceSensor.html#event:color">color</a></li><li><a href="ColorDistanceSensor.html#event:colorAndDistance">colorAndDistance</a></li><li><a href="ColorDistanceSensor.html#event:distance">distance</a></li><li><a href="ColorDistanceSensor.html#event:distanceCount">distanceCount</a></li><li><a href="ColorDistanceSensor.html#event:reflect">reflect</a></li><li><a href="ColorDistanceSensor.html#event:rgbIntensity">rgbIntensity</a></li><li><a href="CurrentSensor.html#event:current">current</a></li><li><a href="DuploTrainBase.html#event:button">button</a></li><li><a href="DuploTrainBaseColorSensor.html#event:color">color</a></li><li><a href="DuploTrainBaseColorSensor.html#event:intensity">intensity</a></li><li><a href="DuploTrainBaseColorSensor.html#event:reflect">reflect</a></li><li><a href="DuploTrainBaseColorSensor.html#event:rgb">rgb</a></li><li><a href="DuploTrainBaseSpeedometer.html#event:speed">speed</a></li><li><a href="Hub.html#event:attach">attach</a></li><li><a href="Hub.html#event:button">button</a></li><li><a href="Hub.html#event:detach">detach</a></li><li><a href="Hub.html#event:disconnect">disconnect</a></li><li><a href="LPF2Hub.html#event:button">button</a></li><li><a href="Mario.html#event:button">button</a></li><li><a href="MarioAccelerometer.html#event:accel">accel</a></li><li><a href="MarioAccelerometer.html#event:gest">gest</a></li><li><a href="MarioBarcodeSensor.html#event:barcode">barcode</a></li><li><a href="MarioBarcodeSensor.html#event:rgb">rgb</a></li><li><a href="MarioPantsSensor.html#event:pants">pants</a></li><li><a href="MediumLinearMotor.html#event:rotate">rotate</a></li><li><a href="MotionSensor.html#event:distance">distance</a></li><li><a href="MoveHub.html#event:button">button</a></li><li><a href="MoveHubMediumLinearMotor.html#event:rotate">rotate</a></li><li><a href="MoveHubTiltSensor.html#event:tilt">tilt</a></li><li><a href="PoweredUP.html#event:discover">discover</a></li><li><a href="RemoteControl.html#event:button">button</a></li><li><a href="RemoteControlButton.html#event:remoteButton">remoteButton</a></li><li><a href="TachoMotor.html#event:rotate">rotate</a></li><li><a href="TechnicColorSensor.html#event:ambient">ambient</a></li><li><a href="TechnicColorSensor.html#event:color">color</a></li><li><a href="TechnicColorSensor.html#event:reflect">reflect</a></li><li><a href="TechnicDistanceSensor.html#event:distance">distance</a></li><li><a href="TechnicDistanceSensor.html#event:fastDistance">fastDistance</a></li><li><a href="TechnicForceSensor.html#event:force">force</a></li><li><a href="TechnicForceSensor.html#event:tapped">tapped</a></li><li><a href="TechnicForceSensor.html#event:touch">touch</a></li><li><a href="TechnicLargeAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicLargeAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicLargeLinearMotor.html#event:absolute">absolute</a></li><li><a href="TechnicLargeLinearMotor.html#event:rotate">rotate</a></li><li><a href="TechnicMediumAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicMediumAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicMediumHub.html#event:button">button</a></li><li><a href="TechnicMediumHubAccelerometerSensor.html#event:accel">accel</a></li><li><a href="TechnicMediumHubGyroSensor.html#event:gyro">gyro</a></li><li><a href="TechnicMediumHubTiltSensor.html#event:impactCount">impactCount</a></li><li><a href="TechnicMediumHubTiltSensor.html#event:tilt">tilt</a></li><li><a href="TechnicSmallAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicSmallAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicXLargeLinearMotor.html#event:absolute">absolute</a></li><li><a href="TechnicXLargeLinearMotor.html#event:rotate">rotate</a></li><li><a href="TiltSensor.html#event:tilt">tilt</a></li><li><a href="VoltageSensor.html#event:voltage">voltage</a></li><li><a href="WeDo2SmartHub.html#event:button">button</a></li></ul><h3><a href="global.html">Global</a></h3>
|
|
1346
|
+
</nav>
|
|
1419
1347
|
|
|
1420
|
-
|
|
1421
|
-
<script src="scripts/pagelocation.js"></script>
|
|
1348
|
+
<br class="clear">
|
|
1422
1349
|
|
|
1423
|
-
|
|
1350
|
+
<footer>
|
|
1351
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Fri Apr 26 2024 00:11:37 GMT+0000 (Coordinated Universal Time)
|
|
1352
|
+
</footer>
|
|
1424
1353
|
|
|
1354
|
+
<script> prettyPrint(); </script>
|
|
1355
|
+
<script src="scripts/linenumber.js"> </script>
|
|
1425
1356
|
</body>
|
|
1426
1357
|
</html>
|