Using the Drive Tab in VEXcode GO

VEXcode GO gives you the ability to drive the VEX GO Code Base robot directly from your device using a virtual remote control.

GO_Code_Base-1.png

The following article will cover:

Note: Drive Mode is not available on iPads running iOS 12.


Access the Drive tab in VEXcode GO

Connected_to_device.jpeg

To access the Drive tab in VEXcode GO, first ensure the VEX GO Brain is connected to your device. For more information on connecting the Brain to your device, view the connection article from the Knowledge Base that matches your device.

Drive_tab.jpeg

Next, select the Drive tab. VEXcode GO will switch from coding mode to the driving mode.


Drive Mode

Once in Drive mode, you can drive your VEX GO Code Base using the joysticks at the bottom of the screen.

Note: Be sure to follow the motor connections within the Code Base build. The left drive motor goes in Port 4 and right drive motor goes into Port 1

You can change the type of joystick control for your robot by switching the Drive Mode to one of four different options:

  • Tank Drive
  • Left Arcade
  • Right Arcade
  • Split Arcade

Tank Drive

Tank_drive_callout.jpeg

Tank drive uses both joysticks. Select the Tank Drive icon. Two joysticks will be visible.

Tank_drive.jpeg

The left joystick will move the left motor forward when moved up, and the left motor backwards when it is moved down. The right joystick works in the same way for the right motor.

  • To move your Code Base forward, move both joysticks up.
  • To move backward, move both joysticks down.
  • To turn your Code Base to the right, move your left joystick up and/or the right joystick down.
  • To turn your Code Base to the left, move the right joystick up and/or the left joystick down.

Left Arcade

Left_arcade_callout.jpeg

The left arcade only uses one joystick. Select the left arcade icon. The left joystick will be visible.

Left_arcade.jpeg

  • To move your Code Base forward, move the joystick up.
  • To move your Code Base backward, move the joystick down.
  • To turn your Code Base to the right, move the joystick to the right.
  • To turn your Code Base left, move the joystick to the left.

Right Arcade

right_arcade_callout.jpeg

The Right arcade only uses one joystick. Select the Right arcade icon. The Right joystick will be visible.

right_arcade.jpeg

  • To move your Code Base forward, move the joystick up.
  • To move your Code Base backward, move the joystick down.
  • To turn your Code Base to the right, move the joystick to the right.
  • To turn your Code Base to the left, move the joystick to the left.

Split Arcade

split_arcade_callout.jpeg

The Split arcade uses two joysticks. Select the Split arcade icon. Both joysticks will be visible.

split_arcade.jpeg

  • To move your Code Base forward, move the left joystick up.
  • To move your Code Base backward, move the left joystick down.
  • To turn your Code Base to the right, move the right joystick to the right.
  • To turn your Code Base left, move the right joystick to the left.

Direction Icons

port_2.jpeg

The Remote Interface also has Direction icons. These are two sets of green and red arrows.

The left set of arrows controls either the LED Bumper or a motor depending on which is plugged into Smart Port 2. The right set of arrows controls either the Electromagnet or a motor depending which is plugged into Smart Port 3.

The Smart Port 2 arrows make:

  • LED Bumper turn green (green arrow)
  • LED Bumper turn red (red arrow)
  • Spin the motor in Smart Port 2 forward with the green arrow (similar to using the VEX GO Switch)
  • Spin the motor in Smart Port 2 in reverse with the red arrow (similar to using the VEX GO Switch)

If no arrows are pressed, the LED Bumper turns off or the motor stops spinning.

port_3.jpeg

The Smart Port 3 arrows make:

  • The Electromagnet boost (green arrow)
  • The Electromagnet drop (red arrow)
  • Spin the motor in Smart Port 3 forward with the green arrow (similar to using the VEX GO Switch)
  • Spin the motor in Smart Port 3 in reverse with the red arrow (similar to using the VEX GO Switch)

If no Arrows are pressed, the Electromagnet is not activated or the motor stops spinning.

2020-11-01_16-04-43A.jpg

Changing the settings in the middle boxes selects what kind of device you have in Smart Port 2 and 3.

2020-11-01_16-04-43C.jpg

Note: There is also a timer you can use to measure your drive time.

The Remote Interface will allow you to control two Drive motors and also control up to two additional motors using the Direction icons.


Sensor Display

sensor_data.jpeg

The Drive tab display also has a set of feedbacks and measurements for the VEX GO Sensors.

2020-11-01_13-19-12p.jpg

These include feedback from the:

  • Brain
  • Drivetrain
  • LED Bumper
  • Eye Sensor

Brain: The Sensor display provides feedback from the Brain for the percent battery charge and the onboard accelerometer with readings for acceleration in the X-axis, the Y-axis, and the Z-axis.

2020-11-01_13-14-36Dt.jpg

Drivetrain: The Sensor Display for the Drivetrain provides measurement for velocity, heading, and rotation.

2020-11-01_16-46-29.jpg

LED Bumper: The Sensor Display for the LED Bumper indicates whether the LED Bumper is pressed (TRUE) or not (FALSE).

2020-11-01_16-45-50.jpg

rainbow-circle-graphic__1_.jpg

Eye Sensor: The Sensor Display for the Eye Sensor indicates whether an object is found, if the sensor has detected the colors red, blue, or green, the brightness of the light the sensor is measuring, and the degree hue of color the sensor is measuring.