This is out of control!

lesson-header-BI

When things don't work as planned, you have to find ways to get them back on track.

How do you usually debug things?

Build a Delivery Cart.

student-02

This Delivery Cart really needs to be fixed. But first, you’ll have to build it.

If you have enough time, build your own design.

Play this program in order to try out your cart. 

SPIKE Kickstart your business Out of order Step03-program - en-gb
student-03

It should stop right at the marker. Does it?

If not, fix your program.

This programming stack will make your cart run straight into the marker.

You’ll have to change the distance parameter to a value greater than 0.

SPIKE Kickstart your business Out of order Step03-Hint - en-gb

Does it follow this path?

Look at the video.

Play the second programming stack and make a list of the 3 bugs that you’ll have to fix.

The cart turns in the wrong direction when the Distance Sensor detects the marker.

Inserting a sound or a note into your programming stack can help you to detect bugs. If the cart makes all of the correct movements until you hear a sound, it means that the errors are ’below’ the sound tile in the stack.

Adjust your program.

student-05

Make changes to your program so that the cart follows this path.

Use the comment tool to describe your program’s key actions.

Think about how you did.

Kyle-Kate-Reflect.png

What did you do well? Is there anything that you could’ve done better?

Hopefully your cart is fixed for good!