CSSE120 – Introduction to Software Development (Robotics sections)
Resources for Robotics in Python
- Create Python API -- describes the Create class and its methods.
Pay attention to its sticky notes.
- Note codes for Create robots -- lists the notes/frequencies the Create can play
- Create Open Interface -- the interface upon which the Create Python API and other API's for the Create are based. If you need to know what is “underneath the hood”, check out this document.
- The Create robot's User Manual (owner's guide)
- How to connect to a Create robot using Bluetooth
- How to install the Create simulator
- Tips for using the Create robots:
- Real robots do real things -- wheels slip, sensors burp, etc.
- The simulator is a model of an idealized world, not the real world.
- If a program is connected to a Robot and running, no OTHER program -- yours or someone else's -- can communicate successfully with that SAME robot.
- So be sure that you don't have a program running in the background that is connected to your robot. Use the Console window's red boxes and double-arrows to kill background programs.
- Try your best to ensure that each run ends by executing
a call to the shutdown method. Without this,
the robot may be left in a mangled state that makes
the next run difficult to connect or have garbage sensor data.
- If you get the red message that includes ser, try:
- Run the program again (trying to connect), several times.
- Be sure you don't have a connection in the background.
- Turn the robot off, count to 10, turn it back on, wait for a beep, and run the program again (several times if necessary) to connect again.
- If all else fails, use a different robot (but the same BAM). Equivalently, turn your robot off for 10 minutes and try again.