Using the 'Arm Jogging' example project
When obtaining coordinates to code the arm on the Workcell to move to certain locations, manually moving the arm using the ‘Display Position’ example project may not always give the most accurate coordinates.
To obtain more accurate coordinates, the ‘Arm Jogging’ example project can be used.
There are ‘+’ and ‘-’ buttons for each x, y, and z-axis.
These can be used to move the arm on the Workcell positively or negatively in each axis direction.
Using comments and notes
Using comments in a project not only helps to organize the code, but it also allows a user to plan out the overall goal of the project before beginning.
In addition to comments, notes can be used for larger amounts of information, multiple lines of text, or to provide more in-depth context.
For more information on how to use notes in a VEXcode V5 project, view the this article from the Knowledge Base.
Line Tracker threshold values
Threshold values from sensors, including the Line Trackers, may change depending on lighting conditions.
If your project is not running as intended, check the values being displayed from the Line Trackers to ensure that the threshold values in the code is accurate.
These values may need to be adjusted more than once, depending on the lighting in the room, or the location of the Workcell environment.
Another option is to set the threshold values as variables.
This will allow a user to change the value of the variable, and thus be changed in all other areas of the project.
Using the V5 Brain's screen
Printing information to the V5 Brain’s screen is helpful to obtain different values such as location coordinates, sensor threshold values, or even the color of a detected disk.
The current stack of blocks in some of the example projects contains a list of [Print] blocks used to display different values.
You can disable the current stack of [Print] blocks.
For more information on how to disable and enable blocks, view this article from the Knowledge Base.
You can also delete or change the current stack of [Print] blocks to display specific values of interest.
For more information on how to delete blocks, view this article from the Knowledge Base.