Basics
All of our robots are programming in C++, so a basic familiarity with it is required. The following concepts are required to be able to program a robot:
- Variables
- Datatypes
- Operators
- Scope
- Control Flow
- Functions
- Header files
- Classes and Objects
If you are unfamiliar with C++, we recommend that you look at this tutorial. The tutorial itself is quite long, and not all of it will be needed for the basics of robotics, so we recommend that you read these excepts first:
- Introduction to objects and variables
- Variable assignment and initialization
- Introduction to fundamental data types
- Introduction to literals and operators
- Comments
- Introduction to functions
- Introduction to local scope
- Introduction to if statements
- Introduction to loops and while statements
- Introduction to the preprocessor
- Header files
- Header Guards
- Welcome to object oriented programming
- Classes and class members
Of course, we highly recommend that you try to read the whole tutorial, but this should be enough to get you started.