Questions tagged [myro]

Myro is a framework for programming robots. It is designed for use in Introductory Computing courses.

Myro (short for My Robot) is a framework for programming robots. It is designed for use in Introductory Computing courses.

Originally written in Python and developed by the Institute for Personal Robots in Education, it is now available for a large list of languages, including Python, Ruby, Scheme, C, C++ and Java.

19 questions
0
votes
1 answer

Java and Myro breakout game program closes early

I'm working with the classic breakout game with java and myro. The program loads the ball and the paddle, but then immediately closes the program. What I want is for the the collection of Myrobricks to appear at the top of the window and then the…
0
votes
1 answer

Locating multiple blobs in an image

For a computer science class, I'm supposed to write a program that will find the position and the size of an unknown number of aliens in a picture like this one: http://www-bcf.usc.edu/~stejada/csci101/Pix/MARS2.jpg. I currently have the following…
0
votes
2 answers

I keep getting ValueError: frequency must be in 37 thru 32767 on Python with Winsound

This is the code I have: import winsound from myro import * def main(): HftM1 = makeSong("REST 1; REST 1; REST 1; REST 1; REST 1; REST 1; REST 1; REST 1; D4 1/6; F4 1/6; D5 2/3; D4 1/6; F4 1/6; D5 2/3; E5 1/2; F5 1/6; E5 1/6; F5 1/6; E5 1/6; C5…
The Professor
  • 51
  • 1
  • 10
-1
votes
2 answers

how to make text a class object in python

this is my entire code: from Graphics import * import random import time from Myro import * pt = Point(100,50) pink = makeColor(200,100,150) black = makeColor(0,0,0) red = makeColor(255, 0, 0) green = makeColor(0, 255, 0) blue = makeColor(0, 0,…
1
2