Writing configuration files

From The Player Project

Jump to: navigation, search
(Driver-independent options)
Line 36: Line 36:
* '''name''' (string) : The name of the driver to instantiate, as it was provided to DriverTable::AddDriver(). This option is mandatory.
* '''name''' (string) : The name of the driver to instantiate, as it was provided to DriverTable::AddDriver(). This option is mandatory.
-
* '''plugin''' (string) : The name of a shared library (i.e., a "plugin") that contains the driver. This shared library will be loaded before attempting to instantiate the driver. See Writing a Player driver for more information on writing and using driver plugins.
+
* '''plugin''' (string) : The name of a shared library (i.e., a "plugin") that contains the driver. This shared library will be loaded before attempting to instantiate the driver. See [[Writing a Player driver]] for more information on writing and using driver plugins.  If you are using a built-in driver, you do not need to use this option.
* '''provides''' (tuple of strings): The device address(es) through which the driver can be accessed. This option is mandatory.
* '''provides''' (tuple of strings): The device address(es) through which the driver can be accessed. This option is mandatory.
* '''requires''' (tuple of strings): The device address(es) to which the driver will subscribe.
* '''requires''' (tuple of strings): The device address(es) to which the driver will subscribe.
Line 109: Line 109:
</pre>
</pre>
That is, take input from position2d:0 and treat it as odometry, and take input from map:0 and treat is a laser map. No key necessary for laser:0, because amcl only supports one laser interface.
That is, take input from position2d:0 and treat it as odometry, and take input from map:0 and treat is a laser map. No key necessary for laser:0, because amcl only supports one laser interface.
 +
==Types==
==Types==
The following types are supported for option values:
The following types are supported for option values:

Revision as of 16:50, 31 January 2011

Personal tools