These are the programs for our boxing robots and their Joysticks. They are made for a game of two fighters with their respective joysticks, fighting until one is knocked out or its "heart" touch sensor is punched by the other robot. The fighters require the two "leg" motors to be connected on ports B and C and the hand medium motors on port D. The touch sensors should be connected on port 1, however keep in mind that the game may be better without them. The distance sensor has no purpose in the program as it is used only for aesthetics. The joysticks require the motor for forward and backward to be connected on port B and the motor for left and right to be connected on port A. The touch sensor operates the hands and must be connected on port 4.
- 29 Oct 2018
The block has the following parameters from left to right:
- Degrees – the degrees the front wheels of the car will turn;
- Power – the power of the car;
- Limited/Unlimited – if the value is marked by a tick, the car will move for an unlimited period of time; if the value is marked by an x, the car will move for the specified number of rotations;
- Rotations – the number of rotations the car will make.
- 09 Mar 2018
This is an EV3-G block for displaying the values of array cells in an EV3-G program.
The project contains two programs, which are demos of the blocks for displaying Boolean and numeric arrays.
You can import that blocks in your programs. They are designed to show you in real time what are the values in your array and let you go to the next bit of your program. The blocks operate with the UP and DOWN brick buttons to iterate through the array. And the CENTER brick button to advance to the program.
The blocks are very useful for students to show them in real time what values they have stored in their arrays. Because there is no easy way to see real-time what the values are in the array even if it contains only a few elements.
The block shows you how many elements there are in the arrays and the values in the following way:
- 21 Jan 2018
The experiment contains a plot of the Curren Power of Motors B and C and the values of the Gyro Sensor when the robot is moving with a power of 100%. What you could see is that it is not actually moving with a power of 100% because the current power is about 75-80%.
- 10 Jan 2018
Proportional implementation for keeping the LEGO Mindstorms robot straight. The program will take the value of the Mindstorms Gyro sensor and will apply this value to the steering block. This will make the robot steer in a direction that would put the robot in a straight position again.
- 10 Jan 2018
In this program, we return the robot to a straight orientation at the end of the program. If there is not enough time for the Mindstorms Gyro sensor the correct the orientation of the robot before the end of the program, then we should do it at the end.
- 10 Jan 2018
- 01 Feb 2015