next up previous contents
Next: 7.31 passthrough Up: 7. Device Drivers Previous: 7.29 nomad   Contents

Subsections


7.30 p2os

Authors

Brian P. Gerkey gerkey(at)stanford.edu,Kasper Støy,James McKenna

Synopsis

Many robots made by ActivMedia, such as the Pioneer series and the AmigoBot, are controlled by a microcontroller that runs a special embedded operating system called P2OS (on older robots it is called PSOS). The host computer talks to the P2OS microcontroller over a standard RS232 serial line. Player includes a driver that offer access to the various P2OS-mediated devices, logically splitting up the devices' functionality.

Interfaces / Configuration requests

Although all the P2OS interaction is actually done in a single thread, the different P2OS devices are accessed through different Player drivers, each supporting a different interface and supporting some subset of configuration requests:

Configuration file options

The configuration file options listed in Table 7.2 control how Player communicates with P2OS. Any option can be specified for any of the drivers listed in the previous section; if an option is specified for more than one driver, the value given last will be used.


Table: Configuration file options for the p2os_* drivers.
Name Type Default Meaning
port string "/dev/ttyS0" The serial port to be used
radio integer 0 Nonzero if a radio modem is being used; zero for a direct serial link


Notes


next up previous contents
Next: 7.31 passthrough Up: 7. Device Drivers Previous: 7.29 nomad   Contents
2004-06-02