diff --git a/MAC/APL/APLCommon/src/ChildControl.cc b/MAC/APL/APLCommon/src/ChildControl.cc index fe9556b11b34fbdac6ab10f63ea98037c509f9a0..3ffad058ff2af74c3a0d1be2e691b14e64f52f7c 100644 --- a/MAC/APL/APLCommon/src/ChildControl.cc +++ b/MAC/APL/APLCommon/src/ChildControl.cc @@ -191,7 +191,15 @@ bool ChildControl::startChild (uint16 aCntlrType, ", position=" << position); ParameterSet cntlrSet = wholeSet.makeSubset(position+nodeName+"."); // always add Observation and all its children to the Parset. - cntlrSet.adoptCollection(wholeSet.makeSubset(wholeSet.locateModule("Observation"))); + cntlrSet.adoptCollection(wholeSet.makeSubset( + wholeSet.locateModule("Observation")+"Observation","Observation")); + cntlrSet.adoptCollection(wholeSet.makeSubset( + wholeSet.locateModule("PIC")+"PIC","PIC")); + + // is there a duplicate of the controller info? + string nodePos(cntlrSet.locateModule(nodeName)); + cntlrSet.substractSubset(nodePos+nodeName); + // Add some comment lines and some extra fields to the file cntlrSet.add("prefix", prefix+position+nodeName+"."); cntlrSet.add("_instanceNr", lexical_cast<string>(instanceNr));