Zero Robotics SPHERES Game Programming Guide

This document describes how to use the Sphero robot to program games.


Zero Robotics SPHERES Game Programming Guide - cover page
Category
Industrial Robot
Document type
Other
Language
English
Pages
13
File format
PDF
File size
1.2 MB
Published
16 November, 2023
Updated
16 November, 2023
MD5 checksum
0AF869573FF4563BAA06221EF8A04A02

About this manual

This slideshow guides students through planning a program for the Zero Robotics Middle School game using the SPHERES example. It covers describing movement in sentences, converting those sentences into command lists, adding coordinate information, and building a flow diagram with time counters.

It then shows how to create a new project in the ZR IDE in Game Mode and reminds students to declare and initialize variables before coding. The example uses setPositionTarget, setAttitudeTarget, and coordinate values such as (1.5,0,0) and (2.5,0.5,0).

What's inside

  • Goals
  • Describe your plan using sentences
  • Convert your sentences into a list
  • Add coordinate information
  • Create a flow diagram
  • Create a new program
  • Review

Frequently asked questions

What commands replace the words move and rotate?

The guide says to replace move and rotate with setPositionTarget and setAttitudeTarget.

Which editor should be selected when creating a new program?

Select the Graphical Editor.

What variables does the example say to declare and initialize?

The example lists Counter, Otherposition, Outpost, Pointposx, and Pointposy.

Download PDF (1.2 MB)

Also Manuals