Differences

This shows you the differences between two versions of the page.

Link to this comparison view

configuration [2009/07/30 17:57]
hadrien
configuration [2009/07/31 11:02] (current)
hadrien
Line 100: Line 100:
 == Description == == Description ==
 Adds an analogic sensor definition, bind it to a controller plug. Calibration settings are hard-coded for sharp GP2D12 IR sensor. Adds an analogic sensor definition, bind it to a controller plug. Calibration settings are hard-coded for sharp GP2D12 IR sensor.
 +
 +== Syntax ==
 +
 +<​code>​
 +sensor{ name = <​string>,​ controller = <​string>,​ plugID = <​integer>​}
 +</​code>​
 +
 +== Parameters ==
 +^ Parameter ^ Description ^ Parameter type ^ 
 +| name | gives a name to your sensor device | string |
 +| controller | name of the controller of the sensor | string |
 +| plugID | plug number on the controller | integer | 
 +
 +== Example ==
 +<​code>​
 +sensor{
 +  name="​sharp_eye",​
 +  controller="​ssc32Ctl",​
 +  plugID = 1
 +}
 +</​code>​
 +
 +===== SensorControl =====
 +
 +== Description ==
 +Describes a (somehow) mobile sensor, meaning that sensor beam can be rotated and/or moved. Adds an analogic sensor definition, bind it to a controller plug. Calibration settings are hard-coded for sharp GP2D12 IR sensor.
  
 == Syntax == == Syntax ==
 
configuration.txt ยท Last modified: 2009/07/31 11:02 by hadrien
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS La rache Driven by DokuWiki