Module 4. Robotics Coding and Driving
Robotics Coding and Driving
Lessons
1. Introduction
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 http://ev3lessons.com/en/Lessons.html?tab=beginner http://ev3lessons.com/en/Lessons.html?tab=intermediate https://www.lego.com/en-us/mindstorms Building Instructions & Program Descriptions https://education.lego.com/en-au/support/mindstorms-ev3/building-instructions Appendix: Samples Logic Math https://www.youtube.com/watch?v=bOM9uNP9TUI Multitasking http://www.stemcentric.com/ev3-multithreading Stall Detect https://builderdude35.com/2017/10/12/a-new-method-for-detecting-motor-stall-ev3-rotation-sensor/ Bridge Layer https://www.youtube.com/watch?v=oUJ4L4kmbHw Inspirational Kyle Markland https://www.youtube.com/watch?v=G7JAs3PhDlA Introducing to C-Programming for Beginners https://www.youtube.com/watch?v=hk0OoYWZfSM