Robot library reference

The rone robot contans a number of different libraries to move the robot, to read from sensors and to help keep track of information. This document gives a short overview of the functions you may want to use in this class.

Builtin functions

Builtin functions do not require importing any package. They are called using their name, e.g. abs(2).

The rone library

The rone robots come preloaded with a module named ronethat includes functions for accessing the various peripherals of the robot. These include motors, encoders, accelerometer, gyroscope, LEDs, radio, infrared communications, and buttons. This document outlines the functions and their usage.

The sys library

The sys library contains functions that examine and control the internal behavior of the software running on the robot.

The math library

The math library contains functions for evaluating mathematical functions, such as the square root.

The dict library

The dict library contains functions for examining and manipulating dictionaries.

The string library

The string library contains functions for examining and manipulating strings.

The list library

The list library contains functions for examining and manipulating lists.