Basic If Else

anarki2004 - Custom level - May 23, 2014 from Windows
Play Edit 1 players liked this.

I thought I would attempt to explain how the If-Else gate works. Basically, it goes like such:

If condition X is met, output to 1; otherwise output to 0.

Condition X is defined as any signal >.5 being input to in 1. This can be used to create a great deal of instructions for a robot. Such instructions might include checking for proximity to a specific object or obstacle.

This example includes a vehicle that tests if the front is clear. It would basically read as "If front is clear, allow to proceed; if not, stop"

Downloads: 66 - Level ID: 6406