Hi everyone
We have formed vex robotic club last month. Can anyone help on Block coding please . Where we can find some resources so that we can code our Vex v5 robot and also the Vex vr block coding??
Hi everyone
We have formed vex robotic club last month. Can anyone help on Block coding please . Where we can find some resources so that we can code our Vex v5 robot and also the Vex vr block coding??
This article explains the various types of blocks:
This is the documentation for VEXCode V5 Blocks (an exhaustive list of all blocks and what they do):
This article explains how to program in the competition template (robot must be programmed in competition template for use in competitions):
The vexcode blocks app has many examples for you. Just go to the menu and find examples. You can select an example program that covers what you are trying to learn.
Make sure to also set up each device on your robot in the program. This is done in the upper-right corner when the setup menu is opened by clicking this button:
The motors can be programmed individually or set up as either a drivetrain or in motor groups. The drivetrain option acts as a template, making the drivetrain motors easier to program by adding blocks like “drive forward.” The motor groups allow you to group motors so if, for example” motor 1 spins clockwise , motor 2 spins clockwise, making programming more concise and easier to code and edit.
Be aware of the fact that some programming blocks only appear in the menu after the device they are relevant to has been added, meaning that you should set up your robot’s devices before making the rest of your program to get all of the blocks you need for your program.
Good luck!
Regarding motor groups, the bot has two motors that spin in opposite directions. While this occurs and works as intended on red cartridges, when I use green, no matter if i use rpms or percentages, the motors are still slow. I tested on motors that werent connected to anything and the issue persisted. Any recommendations on how to get the speed back up?
Is this issue only presenting itself when the motors are on a robot or does it also appear when they don’t have to spin anything?
Due to their internal gearing, red cartridges have a higher torque output than green cartridges while having a slower outputted speed than green cartridges. If the object to be spun is too hard for the green-cartridged motor to spin, however, that will result in the object spinning slower because the motor would be struggling to spin the object.
If the green-cartridged motors still spin slowly without having a significant load to spin, then I am not aware of what would cause such an issue.
The issue remained when i had motors that werent connected to my mechanism. The issue was resolved when i used the green cartiges but in the program i selected red gears, the program still let me spin at 200 rpm. Its weird