Advanced Hero Competition Robot

Is there a way to use the Vex Code Go website to code the robot arm to go up and down? When I add the code base device there are no coding blocks (like can be used in VR). I have only figured out how to move the robot arm in Drive Mode.

1 Like

Hello @Tina_Dietrich! Great question :slight_smile: yes!

If you go to File > Open Examples, you can open the Competition Advanced template.

This will configure all the motors so the associated blocks will show up in the Toolbox.

Let me know if this helps!

1 Like

@Lauren_Harter Thanks…I was able to get the blocks to show up, but now after connecting the robot, dragging blocks over, and trying to start the program nothing happens. Suggestions?

Hi @Tina_Dietrich! :slight_smile: Would you be able to show me your code?

I got it now! Thanks!

Sure thing! Glad it worked!

The VEX GO students are revisiting last years competition, and now want to try and code the arm. Do you have any suggestions on coding blocks that will lift the arm up and down?

Hi @Tina_Dietrich!

Yes! If you go into the Examples within VEXcode GO, you can actually see there is a template for the competition robot with the arm (also mentioned above).

Once you open that, you’ll then see Motion blocks in the Toolbox that you can use to control the arm.

Let me know if this helps :slight_smile:

1 Like

So…I have the robot connected and the drive tab works and moves the arm, so I’m guessing it’s not the students build. The template is added and they used the 2 blocks below. When they start the program the block blinks for about 10 seconds, but the arm doesn’t actually move, then the blocks stops blinking. Where are they going wrong?

arm

First thing is to make sure the arm motor is definitely plugged into the correct port. For the Competition Advanced template, this is port 2.

Next, if the arm was already in the right port, follow these steps:

  • Make sure the program is not running (i.e. press the Stop button)
  • Manually move the arm to the midway point
  • Now run the program again

Starting the arm in the middle lets us see if the arm is moving the wrong way - is it trying to go down rather than up, or does it not move at all?

1 Like

Thanks @Chris_Calver it was trying to go down so I just switched the motor to reverse. And now it works. Is there another fix besides switching it to reverse?

Great!
No, switching it to reverse is the correct thing to do :+1:

2 Likes

Hi @Tina_Dietrich! Thanks for catching this, I just wanted to update you that we plan on fixing this in the software :slight_smile:

2 Likes