| Code from | Links | ||||
|---|---|---|---|---|---|
| Exception Handling | donuts01.cpp , simple non-error checking 'donuts' example | ||||
| donuts02.cpp , simple error checking 'donuts' example without exception handling. | |||||
| donuts03.cpp , simple 'donuts' example with exception handling - try/throw/catch. | |||||
| donuts04.cpp , simple 'donuts' example with multiple throws and multiple catches. | |||||
| dbz01.cpp , divide-by-zero example - shows how to declare a function prototype with a throw list and how to throw from the function and catch in calling code. | |||||
| dbz02.cpp , similar program with empty throw list to illustrate default behavior. | |||||
| Simple Robot Movement, Using Bumpers | bumpermove.cpp , moves robot 2.5 meters one way, turns around, then 2.5 meters the other way. No try/catch. | ||||
| bumperzig.cpp , Zig-zag movement. No try/catch. | |||||
| bumpersquare.cpp , 2.5 meter square movement. No try/catch. | |||||
| avoid.cpp , Random motion with some built-in obstacle avoidance. | |||||
| Boost and Player/Stage Signal/Multithread |
boost-ex.tar.gz, a gzipped tar file of Boost-Signals, Boost-Threads, and Player/Stage code based on 05/26 and 05/28 lectures. | ||||
| README-BOOST.txt, a readme file with some explanations of how to get. | |||||