2. A Trash Sorting Robot#
A simple robot that sorts trash into appropriate bins can be used to introduce many of the concepts that we will teach in this class.
In this chapter we introduce the main concepts that will be covered in this book using a simple trash sorting robot as an example. Imagine, if you will, a trash sorting facility that has installed a robot at one of its conveyer belts to help out with the sorting of trash, in order to increase the proportion of trash that can be sustainably recycled. Imagine also that you are tasked with creating the software that will govern the robot’s actions. How would you go about this? Even this simple robot will be sufficiently rich to tease out the main sense-think-act cycle that govern most if not all robot control systems.
Let us think about the robot’s workings and role in a bit more detail. The robot is presented with items of trash, one at a time, on a conveyor belt. Depending on the category of the item (state), e.g., paper, metal, etc., the robot’s task is to move the item (actions) into the appropriate bin. Sensors are used to measure certain characteristics (sensing) of a given item of trash, and these sensor measurements are then used to infer the item’s category (simple perception). Using these inferences, the robot chooses an action (planning) to place the item in an appropriate bin. The robot can refine its model of the world based on data acquired during operation (learning), and this new model can be used to improve operation over time.
For now, we will abstract away many details of real-world robotics problems. We will not consider the geometric or physical aspects of robot motion, and we will assume that the robot is able to move items from the conveyor belt to the commanded bin without error. On the other hand, we will explicitly consider uncertainty associated to the problem of classifying items of trash into their appropriate categories, and how this uncertainty affects decision making when choosing actions (i.e., destination bins for items of trash). This will allow us to introduce some basic concepts from probability and decision theory that will be used throughout the book.