buddyboss-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/robochamp/public_html/wp-includes/functions.php on line 6121The post Programming #101: The Line Follower Principle appeared first on International Robotics Championship.
]]>The Switch Line Folllower requires the use of loops and switches and wiggles a lot due to sharp turns.

The switch block is used to represent the if/else logic of the algorithm. This is where the decision to do one action or the other action is done. In the case of the line follower, this is where the robot will know if it will turn left or right.
The loop block is used to tell the robot how many times the action will be performed. For the line follower, the switch block is inside the loop block and the robot will perform the color reading according to the number of times indicated in the loop block.

The pseudocode for this kind of follower is as follows:

This is a sample program for a switch line follower. The sensor will check if it senses black or white. If it reads white (> 50), the robot will turn right sharply. If it reads black (< 50), the robot will turn left sharply. This action is placed inside a loop and the programmer can dictate how long the robot should perform this action.
The other line follower to be discussed is the Proportional Line Follower. It is more sophisticated than the switch line follower because it uses Math Blocks and Data Wires. With the use of these blocks, the robot can take readings and do corrections based on the readings.

The Math block is used to perform mathematical operations such as addition, subtraction, multiplication and division.
The data wire is used to take an output data from one block and used it as input data in another block.

The pseudocode for the Proportional Line Follower can look like this:
This is a sample program:

These two Line Followers are the most commonly used. Aside from these two, what other kind of line follower do you know or have you created by yourself?
Sources:
https://ev3lessons.com/en/ProgrammingLessons/advanced/LineFollower.pdf
https://ev3lessons.com/en/ProgrammingLessons/advanced/ProportionalLineFollower.pdf
The post Programming #101: The Line Follower Principle appeared first on International Robotics Championship.
]]>The post Physics #101: The Forces Implied in Kicking appeared first on International Robotics Championship.
]]>So what is the science, or more specifically the physics, behind soccer? You will find that forces is one of the principles that you have probably learned from school by now. But just to recap:
Contact force is the type that result when two interacting objects are perceived to be physically contacting with each other. Examples are the following: Frictional force, Tensional force, Normal force, Air resistance force and Applied forces.
Action-at-a-distance force, on the other hand, are those types of forces that result even when the two interacting objects are not in physical contact with each other, yet are able to exert a push or pull despite their physical separation. Examples are Gravitational force, Electrical force and Magnetic force.
Now, let’s see what forces are applied on soccer ball.


When the soccer ball is at rest, the only forces acting upon it are the gravitational force and normal force which are equal and opposite in direction. Since the forces are balanced, the object remains at rest.
Following the Newton’s First Law of Motion, the Law of Inertia, the object will stay at rest or uniform in motion unless acted upon by an unbalanced force. In other words, to make the ball move initially, an applied force which is the kick should be applied. How hard the person kicks the ball will dictate the initial velocity and the angle of the trajectory (curved path).

Now, all this is explained in the situation in which we have gravity. In the first mission though, things are a bit different: the gravitational force is missing! Complete the first mission of Stage 1 and, based on your experience, try to write down how does an object behave when kicked in an environment where there is no gravity.
Source: https://www.physicsclassroom.com
The post Physics #101: The Forces Implied in Kicking appeared first on International Robotics Championship.
]]>