eeros_architecture:hal:configuration_file
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| eeros_architecture:hal:configuration_file [2017/06/29 15:41] – [Available Keywords] graf | eeros_architecture:hal:configuration_file [2024/06/10 16:24] (current) – [Available Keywords] ursgraf | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Configuration File ====== | ====== Configuration File ====== | ||
| - | The external hardware is decribed by means of a configuration file in [[http:// | + | The external hardware is decribed by means of a configuration file in [[http:// |
| Let's consider a first example | Let's consider a first example | ||
| < | < | ||
| Line 26: | Line 26: | ||
| " | " | ||
| ], | ], | ||
| + | " | ||
| " | " | ||
| } | } | ||
| Line 39: | Line 40: | ||
| ===== Type ===== | ===== Type ===== | ||
| - | A subdevice must contain a '' | + | A subdevice must contain a '' |
| < | < | ||
| " | " | ||
| Line 57: | Line 58: | ||
| ===== Scale and Range ===== | ===== Scale and Range ===== | ||
| - | Channels carrying an analog signal must be assigned a '' | + | Channels carrying an analog signal |
| + | ===== Safe Value for Analog Output ===== | ||
| + | An analog output can have an associated //safe// value. If a //NAN// of //INF// value would be written to its output, the output value will instead be set to its //safe// value. This helps to guarantee that a drive will not get out of control. //NAN// or //INF// can occur, if a connection between blocks is open, if a block does not run or if an algorithm within a block produces this result due to an error. If the configuration does not specify a //safe// value, it is set to // | ||
| ===== Available Keywords ===== | ===== Available Keywords ===== | ||
| ^ Keyword ^ Type ^ Remarks ^ | ^ Keyword ^ Type ^ Remarks ^ | ||
| | deviceX | object | device, X is the device number | | | deviceX | object | device, X is the device number | | ||
| | library | string | EEROS wrapper library, give full name of library including file ending and version (e.g. *.so.0.1.2) | | | library | string | EEROS wrapper library, give full name of library including file ending and version (e.g. *.so.0.1.2) | | ||
| - | | devHandle | string | device node which will be used for this device/ | + | | devHandle | string | device node which will be used for this device/ |
| | subdeviceY | object | subdevice, group of channels with specific type | | | subdeviceY | object | subdevice, group of channels with specific type | | ||
| | type | string | describes the type of this subdevice group, name has to be the same as the library-name in your wrapper library | | | type | string | describes the type of this subdevice group, name has to be the same as the library-name in your wrapper library | | ||
| | channelZ | object | describes one channel of this type | | | channelZ | object | describes one channel of this type | | ||
| | signalId | string | unique signal id for this channel, with this name you can claim the signal in your EEROS application | | | signalId | string | unique signal id for this channel, with this name you can claim the signal in your EEROS application | | ||
| - | | inverted | bool | invert value of this channel (working | + | | inverted | bool | invert value of this channel (for digital in/outputs) | |
| | scale | object/ | | scale | object/ | ||
| | range | object/ | | range | object/ | ||
| Line 78: | Line 81: | ||
| | scale | double | scale value to set scale of scalable in-/output directly, do not mix with scale object! | | | scale | double | scale value to set scale of scalable in-/output directly, do not mix with scale object! | | ||
| | offset | double | offset value to set offset of scalable in-/output directly | | | offset | double | offset value to set offset of scalable in-/output directly | | ||
| + | | safe | double | safe value, used for scalable outputs| | ||
| | unit | string | unit of this in-/output, used for scalable in-/ | | unit | string | unit of this in-/output, used for scalable in-/ | ||
| + | | additionalArguments | string | used for communicating with ROS, see [[hardware_libraries# | ||
eeros_architecture/hal/configuration_file.1498743674.txt.gz · Last modified: 2017/06/29 15:41 by graf