Module 4. Robotics Coding and Driving

Robotics Coding and Driving


2. Recap Module 3

The logic behind summarizing your points: Do you remember building a tower with playing cards when you were a child? Every time you added a new card on top, you carefully adjusted and aligned all the other cards under it. It helped you build a tall and stable tower. The principle applies to our project […]

3. Ramping up Speed

1.1. Why Ramp Up? Ramping up speed is very helpful when running fast-paced programs Usually, if the robot starts up with high speed, then there would be a small jolt in the beginning. The jolt may change the position of the robot. With the ramp up, it would start up slowly and increase speed over […]

4. Alignment

Review: Motor Movements In FIRST LEGO League, teams need to figure out where to start in base: Jigs: a LEGO ruler/wall that your robot can align against them in base Inch marks: Use the inch marks to pick a starting spot for each run Words: Base has words. If you aren’t near an inch mark, […]

5. Stall detection

3.1. What is Stall Detection and Why Use It? Stall detection is a program that stops your motor when the motor gets stuck. If you are an FLL team, you usually have to grab your robot and get a touch penalty if your robot stalls. When you use stall detection techniques, your robot will move […]

6. Arrays

4.1. Why Use Arrays? Simplify programs by storing multiple related values in a single variable Can be used with loops to make compact and useful programs Are useful for making a custom calibration program (see NXT Light Sensor in EV3 on our contributed lessons tab) 4.2. What is an array? An array is a variable […]

7. Challenge solutions

Lesson 1 C1: Lesson 4 arrays C1: C2: References Building Instructions & Program Descriptions Appendix: Samples Logic Math Multitasking Stall Detect Bridge Layer Inspirational Kyle Markland Introducing to C-Programming for Beginners