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/28 09:11] – kalberer | 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 ^ Remarks ^ | + | ^ Keyword |
- | | device | device node | | + | | deviceX | object |
+ | | library | string | EEROS wrapper library, give full name of library including file ending and version (e.g. *.so.0.1.2) | | ||
+ | | devHandle | string | ||
+ | | 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 | | ||
+ | | 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 | | ||
+ | | inverted | bool | invert value of this channel (for digital in/outputs) | | ||
+ | | scale | object/ | ||
+ | | range | object/ | ||
+ | | id | string | used to name each scale and range array element, every scale element needs a range element with the same id | | ||
+ | | minIn | double | minimum input value, used to set scale or range of scalable in-/ | ||
+ | | maxIn | double | maximum input value, used to set scale or range of scalable in-/outputs | | ||
+ | | minOut | double | minimum input value, used to set scale or range of scalable in-/outputs | | ||
+ | | maxOut | double | maximum output value, used to set scale or range of scalable in-/outputs | | ||
+ | | 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 | | ||
+ | | safe | double | safe value, used for scalable outputs| | ||
+ | | 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.1498633896.txt.gz · Last modified: 2017/06/28 09:11 by kalberer