Custom Movement Panel

Thumbnail

How To Add This Control To Your Project

  1. Load the most recent release of EZ-Builder
  2. Press the Project tab from the top menu bar of EZ-Builder
  3. Press Add Control from the button ribbon bar of EZ-Builder
  4. Choose the Scripting category tab
  5. Press the Custom Movement Panel icon to add the control to your project
If your robot requires a movement/motor controller that is not supported, use this control. You may assign EZ-Script commands to different directions. Also, there are EZ-Script functions available to you to obtain the current selected speed of both Left and Right wheels. You may modify the speed using SetSpeed(value). The speed values may be altered by any joystick style control that affects speed, such as the Joystick in Mobile Interface or a physical joystick using the Joystick Control.

Available EZ-Script functions to obtain the current speed are...
GetSpeed( )
Returns the global Movement Speed value
Speed is between 0 and 255
The speed can be viewed in the Script Variable Viewer
Example: $x = GetSpeed()

GetSpeedLeft( )
Returns the global Movement Speed value of Left wheel
Speed is between 0 and 255
The speed can be viewed in the Script Variable Viewer
Example: $x = GetSpeedLeft()

GetSpeedRight( )
Returns the global Movement Speed value of Right wheel
Speed is between 0 and 255
The speed can be viewed in the Script Variable Viewer
Example: $x = GetSpeedRight()