Datalog of the Gyro sensor when moving forward and keeping the orientation straight
The data log from the experiment when moving forward and keeping straight with an implementation for Proportional compensation.
- #389
- 10 Jan 2018
- 1
The data log from the experiment when moving forward and keeping straight with an implementation for Proportional compensation.
This course is designed for students, mentors and teachers that are completely new to LEGO Mindstorms EV3 robots and would like to start using them to learn, in classes or at competitions. It is quite different from previously built resources at FLLCasts because it makes no assumption on any previous knowledge and tries to introduce everything step-by-step.
With the set for the course, you also have an SD card. It is important that you understand why and how is the SD Card is used.
This is a disk image containing a Raspbian OS. The image is modified and set up specifically for the Perfect course. It contains all the needed files, libraries and additional tools that we would use in the course. The file is quite large so be prepared to wait some time while downloading.
Checksum: 4d85292f49a9350fcef9f2eb8fd86b77f1c6bd65ce1344848de3e201c9e1d20d
Инструкции за конструиране на прост ЛЕГО модел, съдържащ червени, зелени, сини и жълти тройни греди. Това го прави идеален за управление на роботи чрез цветен код.
Първото ниво от учебната програма по LEGO роботика за ученици от втори, трети и четвърти клас.
Едно, “пътешествие из космоса”, но с роботи. В нивото се изграждат различни конструкции на роботи. Управляват се моторите така, че роботите да извършват прецизни движения около „земята“, „луната“ и „слънцето”. Преодоляваме различни препятствия след като се блъснем в тях благодарение на сензора за допир. Изграждаме и програмираме роботи, които могат да се сражават и защитават стига това да се наложи.
Нека направим програма, при която има движение напред и назад.
After we've download the software we must install it and most importantly configure it. Without propertly configuring the software it would be difficult to use the Cortex Controller.
There comes a time when you need to program the robot to "follow a line, but if another sensor detects something you would like to stop, do some work, and then continue following the line". This is applicable to competition robots as it is applicable to real-life robots.
There comes the State Machine Pattern. An advanced and very powerful concept that allows you to easily implement complex robot behaviours with a simple, well-organized, extensible, bug-free program where the robot could be in 1,2, 10 or 100 states and you will still be able to manage the complexity of the world around the robot.
Example of making turn using only one motor
- The source code of the Menu written in NXT-G. Download and run it.
- download and import the whole Menu myBlock. It might require you to modify it so that it fits to your needs. Any comments on modifications you have made are really welcome.
Program for displaying the value of the sensor on the screen
Program for calibrating including the DisplayLightSensor block
- NXT-G source code of program that draws a smile face on the brick's screen.