Errata Calico Python

From IPRE Wiki

Jump to: navigation, search

This pages lists the issues with the current Learning Computing with Robots: Uses Calico Python + Scribbler or Scribbler2

Errata 2011

  1. 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"...
  2. Page vi: MACOS is usually Mac OSX
  3. Page viii: define IDE
  4. Page 7: maybe mention http://CalicoProject.org/ rather than wiki.roboteducation.org/
  5. Page 12: consider using TIME in forward(SPEED, TIME) ...
  6. Page 51, 53: speak(..., 0) the zero isn't necessary as it is the default
  7. Page 63 (and throughout): bad quotes (Word non-ascii) in example code
  8. 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)
    stop()
  9. Page 76: random and randint relay on importing random; randomNumber() is in Myro
  10. 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
  11. Page 125: getStall() won't work if the robot isn't moving
  12. Consider using int(ask()) instead of int(ask()) or float(ask()) as that makes it more clear what it is doing.
  13. Page 158: "remember to import Graphics" -> should be 'remember to "from Graphics import *"'
  14. Page 158: you can also getColorNames() rather than Google
  15. Page 159: you can use Dot(p)
  16. Page 168: computer.beep() doesn't currently work
  17. Page 176: Point() doesn't have anything to do with the Window, just with objects
  18. Page 176: Polygon() doesn't take a list, just points
  19. Page 184: Can't currently save a single image as a gif, only a list
  20. Page 186: missing quote on "black
  21. Page 187: setRGB(pixel, (0, 0, 0)) should be setRGB(pixel, 0, 0, 0) [can't seem to fix in Graphics/Myro source code!]
  22. Page 218: missing "import copy"?
  23. 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."
Personal tools