AppyBuilder
  • AppyBuilder Introduction
  • Release Notes
  • Terms of Service
  • AppyBuilder Editors
    • Design Editor
    • Blocks Editor
    • Components
  • Live Testing
  • Components
    • Reference
      • User Interface
        • Button
        • Checkbox
        • Chronometer
        • DatePicker
        • FloatingButton
        • GalleryViewer
        • GridView
        • Image
        • Label
        • ListPicker
        • ListPickerCustom
        • ListView
        • ListViewCustom
        • Notifier
        • PasswordTextBox
        • ProgressBar
        • RatingBar
        • Slider
        • Spinner
        • Switch
        • TextBox
        • Toggler
        • WebViewer
        • TimePicker
        • LinedTextBox
      • Effects
        • Decoration
        • Sidebar
        • Snackbar
      • Layout
        • Horizontal Arrangement
        • Horizontal Scroll Arrangement
        • Table Arrangement
        • Vertical Arrangement
        • Vertical Scroll Arrangement
      • Drawing and Animation
        • Ball
        • Canvas
        • Image Sprite
      • Maps
        • Circle
        • FeatureCollection
        • LineString
        • Map
        • Marker
        • Polygon
        • Rectangle
      • Media
        • Camcorder
        • Camera
        • ImagePicker
        • Player
        • Sound
        • SoundRecorder
        • SpeechRecognizer
        • TextToSpeech
        • VideoPlayer
        • YandexTranslate
      • Connectivity
        • ActivityStarter
        • BluetoothClient
        • NetworkManager
        • Web
        • WiFiManager
      • LegoMindStorms
        • Ev3ColorSensor
        • Ev3Commands
        • Ev3GyroSensor
        • Ev3Motors
        • Ev3Sound
        • Ev3TouchSensor
        • Ev3UI
        • Ev3UltraSonicSensor
        • NxtDirectCommands
        • NxtDrive
        • NxtLightSensor
        • NxtTouchSensor
        • Ev3ColorSensor
      • Storage
        • Airtable
        • File
        • FirebaseDB
        • FTPManager
        • FusionTableControl
        • TinyDB
        • TinyWebDB
      • Sensors
        • Accelerometersensor
        • BarcodeScanner
        • BatteryManager
        • Clock
        • Gyroscopesensor
        • LightSensor
        • LocationSensor
        • MagneticFieldSensor
        • MemoryInfo
        • NearField
        • OrientationSensor
        • Pedometer
        • ProximitySensor
        • PressureSensor
        • SoundSensor
        • TemperatureSensor
        • ProximitySensor
      • Social
        • ContactPicker
        • EmailPicker
        • PhoneCall
        • PhoneNumberPicker
        • Sharing
        • Texting
        • Twitter
      • Experimental
        • CloudDB
      • Visualization
        • GoogleMap
        • XYChart
      • Advanced
        • KitchenSink
        • OneSignalPush
        • PushNotification
        • SQLite
      • Monetize
        • AdAmazon
        • AdAmazonInterstitial
        • AdMob
        • AdMobInterstitial
        • AdMobRewardedVideo
        • InAppBilling
        • MMediaInterstitial
  • Tutorials
    • Openstreet Map
    • OneSignalPush
    • Creating E-book
    • Basic
      • Simulating Progress Bar
      • Creating Splash Screen
      • Adding Privacy Policy
      • Package Name
      • Beginner - Talk to Me app
      • Beginner Tutorial
    • Animation
      • Animation & Collision Part I
      • Animation & Collision Part II
    • Monetization
      • AdMob Banner
      • AdMob Interstitial
      • AdMob Rewarded Video
      • Increasing Monetization Revenue
    • Using RadioButtons
    • keystore
    • Firebase - Advanced
  • Extensions
  • Concept Cards
    • Bouncing Sprites
    • Sprite Timed Movement
    • Sprite Movement on Timer
    • Adding Sound
    • Speech Recognition
    • Random Numbers
    • Fling Movement
    • Movement with Sensors
    • Drawing on Canvas
    • Multiple Screens
    • Creating Custom Colors
    • Movement with Buttons
    • Shaking Phone
    • Collision Detection
    • Dragging A Sprite
  • Advanced
    • Source File Structure
  • Code Editor
Powered by GitBook
On this page
  • Properties
  • BluetoothClient
  • MotorPorts
  • WheelDiameter
  • ReverseDirection
  • EnableSpeedRegulation
  • StopBeforeDisconnect
  • TachoCountChangedEventEnabled
  • Methods
  • RotateIndefinitely (number power)
  • RotateInTachoCounts (number power, number tachoCounts, boolean useBrake)
  • RotateInDuration (number power, number milliseconds, boolean useBrake)
  • RotateInDistance (number power, number distance, boolean useBrake)
  • RotateSyncIndefinitely (number power, number turnRatio)
  • RotateSyncInDistance (number power, number distance, number turnRatio, boolean useBrake)
  • RotateSyncInDuration (number power, number milliseconds, number turnRatio, boolean useBrake)
  • RotateSyncInTachoCounts (number power, number tachoCounts, number turnRatio, boolean useBrake)
  • Stop (boolean useBrake)
  • ToggleDirection ()
  • ResetTachoCount ()
  • GetTachoCount ()
  1. Components
  2. Reference
  3. LegoMindStorms

Ev3Motors

A component that provides both high- and low-level interfaces to a LEGO MINDSTORMS EV3 robot, with functions that can control the motors.

Properties

BluetoothClient

The BluetoothClient component that should be used for communication. Must be set in the Designer

MotorPorts

The motor ports that the motors are connected to. The ports are specified by a sequence of port letters. Must be set in the Designer

WheelDiameter

The diameter of the wheels attached on the motors in centimeters.

ReverseDirection

It specifies if the direction of the motors is reversed.

EnableSpeedRegulation

The robot adjusts the power to maintain the speed if speed regulation is enabled.

StopBeforeDisconnect

Whether to stop the motor before disconnecting.

TachoCountChangedEventEnabled

Whether the TachoCountChanged event should fire when the angle is changed.

Methods

RotateIndefinitely (number power)

Start to rotate the motors.

RotateInTachoCounts (number power, number tachoCounts, boolean useBrake)

Rotate the motors in a number of tacho counts.

RotateInDuration (number power, number milliseconds, boolean useBrake)

Rotate the motors in a period of time.

RotateInDistance (number power, number distance, boolean useBrake)

Rotate the motors in a distance.

RotateSyncIndefinitely (number power, number turnRatio)

Start to rotate the motors at the same speed.

RotateSyncInDistance (number power, number distance, number turnRatio, boolean useBrake)

Rotate the motors at the same speed for a distance in cm.

RotateSyncInDuration (number power, number milliseconds, number turnRatio, boolean useBrake)

Rotate the motors at the same speed in a period of time.

RotateSyncInTachoCounts (number power, number tachoCounts, number turnRatio, boolean useBrake)

Rotate the motors at the same speed in a number of tacho counts.

Stop (boolean useBrake)

Stop the motors of the robot.

ToggleDirection ()

Toggle the direction of motors.

ResetTachoCount ()

Set the current tacho count to zero.

GetTachoCount ()

Get the current tacho count.

PreviousEv3GyroSensorNextEv3Sound

Last updated 7 years ago