Wrightstown High School Robotics

What Is Coding and How Do We Use It?

Home Coding Mechanics Strategy Gear Ratio Calculator

What Is Coding?

Coding is the process of transforming computer instructions into a form that a computer can understand. It involves writing instructions to communicate with machines. The Coding Style that we use is called C++ which is logical coding.
We can break Programming into two main parts, Theory and Practice.
Theory:
When you know everything but nothing works.
Practice:
When you don't know anything yet everything works.
Programming:
In Programming we combine theory and practice; Nothing works, and we don't know why.


What Do We Use to Code?

We use Visual Studio Code, with the extension called PROS. The Pros extension was made by college students at Purdue University. PROS is an open-source C/C++ development platform for VEX V5. C/C++ programming is known for its logical nature and emphasis on functions. When using PROS, you write code to interact with sensors, motors, and other components of the VEX robot.

WHS Robotics uses Pros due to the fact that it has more built in functions. This makes it easier to make your robot do more complicated tasks. For example, in autonomous we can make your robot turn while driving. Not only that, but we can also have a self correcting autonomous, meaning that if your robot gets hit by an object or another robot, it can sense the impact and correct its course of action.