Skip to content
Snippets Groups Projects
Commit b8a4c607 authored by marvin's avatar marvin
Browse files

Added featuremodelCustomButNoSensor.xml

parent 2f84fe8c
1 merge request!6Adapter custombot
......@@ -5,11 +5,12 @@
<feature automatic="unselected" name="Burger"/>
<feature automatic="unselected" name="Waffle"/>
<feature manual="selected" name="WafflePi"/>
<feature automatic="unselected" name="BurgerForAutorace"/>
<feature automatic="selected" name="Sensors"/>
<feature automatic="unselected" name="NO_CHANGE"/>
<feature manual="selected" name="Custom"/>
<feature name="imu"/>
<feature name="lds_lfcd_sensor"/>
<feature name="Pi_Camera"/>
<feature name="lds_lfcd_sensor"/>
<feature name="realsense_R200"/>
<feature name="imu"/>
</configuration>
/**
* TODO description
*/
public refines class Configurator {
public void save() {
Super().addToModuleList("BurgerForAutorace");
Super().save();
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<featureModel>
<properties>
<graphics key="showhiddenfeatures" value="true"/>
<graphics key="legendautolayout" value="true"/>
<graphics key="showshortnames" value="false"/>
<graphics key="layout" value="horizontal"/>
<graphics key="showcollapsedconstraints" value="true"/>
<graphics key="legendhidden" value="false"/>
<graphics key="layoutalgorithm" value="1"/>
</properties>
<struct>
<and mandatory="true" name="ConfiguratorMain">
<alt abstract="true" mandatory="true" name="Templates">
<feature name="Burger"/>
<feature name="Waffle"/>
<feature name="WafflePi"/>
</alt>
<alt abstract="true" mandatory="true" name="Sensors">
<feature name="NO_CHANGE"/>
<and abstract="true" name="Custom">
<feature name="imu"/>
<feature name="lds_lfcd_sensor"/>
<feature name="Pi_Camera"/>
<feature name="realsense_R200"/>
</and>
</alt>
</and>
</struct>
</featureModel>
<?xml version="1.0" encoding="UTF-8"?>
<featureModel>
<properties>
<graphics key="showhiddenfeatures" value="true" />
<graphics key="legendautolayout" value="true" />
<graphics key="showshortnames" value="false" />
<graphics key="layout" value="horizontal" />
<graphics key="showcollapsedconstraints" value="true" />
<graphics key="legendhidden" value="false" />
<graphics key="layoutalgorithm" value="1" />
</properties>
<struct>
<and mandatory="true" name="ConfiguratorMain">
<alt abstract="true" mandatory="true" name="Templates">
<!-- Bot template features go here-->
<feature name="Burger" />
<feature name="Waffle" />
<feature name="WafflePi" />
<feature name="BurgerForAutorace" />
</alt>
<alt abstract="true" mandatory="true" name="Sensors">
<feature name="NO_CHANGE" />
<and abstract="true" name="Custom">
<!-- Sensor features go here-->
<feature name="Pi_Camera" />
<feature name="lds_lfcd_sensor" />
<feature name="realsense_R200" />
<feature name="imu" />
</and>
</alt>
</and>
</struct>
</featureModel>
<?xml version="1.0" encoding="UTF-8"?>
<featureModel>
<properties>
<graphics key="showhiddenfeatures" value="true" />
<graphics key="legendautolayout" value="true" />
<graphics key="showshortnames" value="false" />
<graphics key="layout" value="horizontal" />
<graphics key="showcollapsedconstraints" value="true" />
<graphics key="legendhidden" value="false" />
<graphics key="layoutalgorithm" value="1" />
</properties>
<struct>
<and mandatory="true" name="ConfiguratorMain">
<alt abstract="true" mandatory="true" name="Templates">
<!-- Bot template features go here-->
<feature name="Burger" />
<feature name="Waffle" />
<feature name="WafflePi" />
<feature name="BurgerForAutorace" />
</alt>
<alt abstract="true" mandatory="true" name="Sensors">
<feature name="NO_CHANGE" />
<and abstract="true" name="Custom">
<!-- Sensor features go here-->
<feature name="Pi_Camera" />
<feature name="lds_lfcd_sensor" />
<feature name="realsense_R200" />
<feature name="imu" />
</and>
</alt>
</and>
</struct>
</featureModel>
<?xml version="1.0" encoding="UTF-8"?>
<specification>
<templates name="WafflePi" />
<sensors>
<mode param="Custom" />
</sensors>
</specification>
......@@ -13,6 +13,6 @@
</input>
<output>
<!-- Path to and name of the generated Feature IDE model file. -->
<model type="file" name="modelTEST.xml" path="./../FeatureModelConfigurator/" />
<model type="file" name="model.xml" path="./../FeatureModelConfigurator/" />
</output>
</modelsetup>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment