I recently started using orocos and I have a few questions while working with properties.
Every orocos component can have its own configuration file to store properties. I only have a few simple examples of such files.
Now, I was wondering if it is possible to create more complex configuration files, to store an array of properties.
The following example should clarify the object model:
- SensorCollection (holds an array of "Sensor" objects)
- Sensor 0
- Sensor 1
- Sensor n
SensorCollection is a container object to manage all Sensor objects. Each sensor has a few properties to configure a PulseTrainGenerator. Because I don't want each Sensor to have its own configuration file, it would be handy to create a configuration file for all sensor objects.
Question 1: Is their any way to build such a property file ?
Question 2: If so, how do you iterate these arrays in the code ?
Thanks in advance !