Errata Calico Python
From IPRE Wiki
This pages lists the issues with the current Learning Computing with Robots: Uses Calico Python + Scribbler or Scribbler2
[edit]
Errata 2011
- Page vi (and throughout): it might be more clear if the Fluke isn't defined as a dongle, but the USB is. Otherwise, most people will have two dongles to distinguish. Perhaps call it a "board"...
- Page vi: MACOS is usually Mac OSX
- Page viii: define IDE
- Page 7: maybe mention http://CalicoProject.org/ rather than wiki.roboteducation.org/
- Page 12: consider using TIME in forward(SPEED, TIME) ...
- Page 51, 53: speak(..., 0) the zero isn't necessary as it is the default
- Page 63 (and throughout): bad quotes (Word non-ascii) in example code
- Page 68, 100: telling forward(1.0) in a loop doesn't do anything, perhaps:
- for t in timer(3.0):
- if randomNumber() < .5:
- forward(1.0)
- else:
- backward(1.0)
- if randomNumber() < .5:
- stop()
- for t in timer(3.0):
- Page 76: random and randint relay on importing random; randomNumber() is in Myro
- Page 122: sometimes ask("What port?") is used to get a comport, sometimes just a number; should NOT assume "com" as that is a windows-only thing
- Page 125: getStall() won't work if the robot isn't moving
- Consider using int(ask()) instead of int(ask()) or float(ask()) as that makes it more clear what it is doing.
- Page 158: "remember to import Graphics" -> should be 'remember to "from Graphics import *"'
- Page 158: you can also getColorNames() rather than Google
- Page 159: you can use Dot(p)
- Page 168: computer.beep() doesn't currently work
- Page 176: Point() doesn't have anything to do with the Window, just with objects
- Page 176: Polygon() doesn't take a list, just points
- Page 184: Can't currently save a single image as a gif, only a list
- Page 186: missing quote on "black
- Page 187: setRGB(pixel, (0, 0, 0)) should be setRGB(pixel, 0, 0, 0) [can't seem to fix in Graphics/Myro source code!]
- Page 218: missing "import copy"?
- Page 277: "That is, execution of subsequent commands can be done prior to the text being spoken." should be: "That is, execution of subsequent commands can be done while the text is being spoken."
