*/
}
private static IConfig1D createDummyConfig1D(int _nbActuators, int _nbSensors, int _nbRanges) {
Config1DImpl nc = new Config1DImpl();
nc.setName("TST_NouvelleConfigAuto");
nc.setScanNumber(666);
nc.setTimebaseList(new ArrayList<ITimebase>());
TimebaseImpl tb = new TimebaseImpl();
tb.setName("timebase01");
tb.setEnabled(true);
nc.getTimebaseList().add(tb);
// Sensors
for (int i = 0; i < _nbSensors; i++) {
ISensor s = new SensorImpl();
s.setName("/mon/sensor/" + i);
s.setEnabled(i % 2 == 1);
nc.getSensorsList().add(s);
}
// Dimension
Dimension1DImpl dim = new Dimension1DImpl();
dim.setTrajectoriesList(new ArrayList<ITrajectory1D>());
nc.setDimensionX(dim);
dim.setRangesXList(new ArrayList<IRange1D>());
for (int i = 0; i < _nbRanges; i++) {
IRange1D r = new Range1DImpl();
r.setDimension(dim);