GoPiGo Control Panel

Site: GoLabs
Course: GoPiGo Control Panel
Book: GoPiGo Control Panel
Printed by: Guest user
Date: Thursday, 21 November 2024, 2:13 AM

Description

Control the GoPiGo using Scratch with an interactive dashboard.

1. Connect to the GoPiGo

Make sure that the GoPiGo is set up properly and you have the updated software and firmware. If you are not sure about this, follow the guide here.

If the GoPiGo is properly set up, connect to the GoPiGo via the browser or VNC.

The Dexter Industries Image comes installed with Scratch and the Scratch library for the GoPiGo.

2. Start Scratch for Robots

Double-click the “Scratch” icon on the desktop (identified here with the green arrow) to start Scratch for Robots, the program which communicates between the GoPiGo and Scratch.

This will open two windows, a black terminal window called the Scratch Controller and the Scratch for Robots interface. Do NOT close the Scratch Controller, as that will kill all communications between Scratch and the robot!

You can then click on “Open Examples” to find the GoPiGo Control Panel example.

3. Start the GoPiGo Control

Start the control panel by double-clicking the GoPiGo_control_panel.sb file.


4. Start the GoPiGo Control

Double-clicking the control panel example will launch a confirmation window. If you already have Scratch up, now is a good time to save your work as you can only have one instance up and running. Make sure the GoPiGo robot is selected, and click "Start Programming"!

5. Start the GoPiGo Control

Confirm the next window that will pop up and Scratch will start up!

You should see Remote sensor connections enabled popup after loading the example. This means that the program is now connected to the GoPiGo.

6. Running the Program

Press the Green Flag on the top right corner to start the program.

Press the various buttons to control the GoPiGo.

Stop the program once you are done by pressing the Red Flag.


7. Questions?

Have a question? Go check out our support page here or post it on the forums here.