...

/

Letting Edward Go Free

Letting Edward Go Free

Bid farewell to Edward by automating its tasks.

Previously, we provided Edward with the capability to travel on a straight path until the path ended. It was accomplished by making a simple while loop with the stopping condition of a blockade and moving otherwise as shown in the widget below.

Press + to interact
while goal_not_achieved():
move()

Turning at a bend

The code we wrote worked fine. However, the paths we have to travel won't always be straight. There will be bumps, hurdles, and bends, and we need to prepare Edward for that. ... ...