Commit 45e6bac4 authored by Jussi Lindgren's avatar Jussi Lindgren

applications/demos/ssvep-mind-shooter:

 * Added scenario information and links to the documentation page
 * Updated box names
modules/xml:
 * Changed a silent fail in .xml reading to print an error message
parent b1ca0e12
......@@ -192,7 +192,7 @@
</Box>
<Box>
<Identifier>(0x33cc7b54, 0x6d6b5526)</Identifier>
<Name>Spectral analysis - GPL</Name>
<Name>Spectral analysis</Name>
<AlgorithmClassIdentifier>(0x84218ff8, 0xa87e7995)</AlgorithmClassIdentifier>
<Inputs>
<Input>
......@@ -466,7 +466,7 @@
</Box>
<Box>
<Identifier>(0x539ee68b, 0x60654464)</Identifier>
<Name>Temporal filter - GPL</Name>
<Name>Temporal filter</Name>
<AlgorithmClassIdentifier>(0xb4f9d042, 0x9d79f2e5)</AlgorithmClassIdentifier>
<Inputs>
<Input>
......@@ -555,7 +555,7 @@
</Box>
<Box>
<Identifier>(0x5a0a993a, 0x53e06555)</Identifier>
<Name>Temporal filter - GPL</Name>
<Name>Temporal filter</Name>
<AlgorithmClassIdentifier>(0xb4f9d042, 0x9d79f2e5)</AlgorithmClassIdentifier>
<Inputs>
<Input>
......@@ -1081,7 +1081,9 @@
<Comments>
<Comment>
<Identifier>(0x1c66e0c4, 0x284e18b5)</Identifier>
<Text>You can browse each box' documentation by selecting the box and pressing &lt;b&gt;F1&lt;/b&gt;</Text>
<Text>You can browse each box' documentation by selecting the box and pressing &lt;b&gt;F1&lt;/b&gt;
This scenario set is documented in 'http://openvibe.inria.fr/using-the-ssvep-mind-shooter-scenarios/'</Text>
<Attributes>
<Attribute>
<Identifier>(0x473d9a43, 0x97fc0a97)</Identifier>
......@@ -1198,7 +1200,7 @@ of the average of all channels.
<Attributes>
<Attribute>
<Identifier>(0x790d75b8, 0x3bb90c33)</Identifier>
<Value>Jozef Legény</Value>
<Value>Jozef Legeny</Value>
</Attribute>
<Attribute>
<Identifier>(0x8c1fc55b, 0x7b433dc2)</Identifier>
......@@ -1210,7 +1212,7 @@ of the average of all channels.
</Attribute>
<Attribute>
<Identifier>(0xf36a1567, 0xd13c53da)</Identifier>
<Value></Value>
<Value>http://openvibe.inria.fr/using-the-ssvep-mind-shooter-scenarios/</Value>
</Attribute>
<Attribute>
<Identifier>(0xf6b2e3fa, 0x7bd43926)</Identifier>
......
......@@ -630,4 +630,30 @@ documentation page.</Text>
<NumChildren>0</NumChildren>
</VisualisationWidget>
</VisualisationTree>
<Attributes>
<Attribute>
<Identifier>(0x790d75b8, 0x3bb90c33)</Identifier>
<Value>Jozef Legeny</Value>
</Attribute>
<Attribute>
<Identifier>(0x8c1fc55b, 0x7b433dc2)</Identifier>
<Value>1.0</Value>
</Attribute>
<Attribute>
<Identifier>(0x9f5c4075, 0x4a0d3666)</Identifier>
<Value>SSVEP Configuration</Value>
</Attribute>
<Attribute>
<Identifier>(0xf36a1567, 0xd13c53da)</Identifier>
<Value>http://openvibe.inria.fr/using-the-ssvep-mind-shooter-scenarios/</Value>
</Attribute>
<Attribute>
<Identifier>(0xf6b2e3fa, 0x7bd43926)</Identifier>
<Value>SSVEP</Value>
</Attribute>
<Attribute>
<Identifier>(0xf8034a49, 0x8b3f37cc)</Identifier>
<Value>Inria</Value>
</Attribute>
</Attributes>
</OpenViBE-Scenario>
\ No newline at end of file
......@@ -1764,4 +1764,30 @@
<NumChildren>0</NumChildren>
</VisualisationWidget>
</VisualisationTree>
<Attributes>
<Attribute>
<Identifier>(0x790d75b8, 0x3bb90c33)</Identifier>
<Value>Jozef Legeny</Value>
</Attribute>
<Attribute>
<Identifier>(0x8c1fc55b, 0x7b433dc2)</Identifier>
<Value>1.0</Value>
</Attribute>
<Attribute>
<Identifier>(0x9f5c4075, 0x4a0d3666)</Identifier>
<Value>SSVEP Training - Acquisition</Value>
</Attribute>
<Attribute>
<Identifier>(0xf36a1567, 0xd13c53da)</Identifier>
<Value>http://openvibe.inria.fr/using-the-ssvep-mind-shooter-scenarios/</Value>
</Attribute>
<Attribute>
<Identifier>(0xf6b2e3fa, 0x7bd43926)</Identifier>
<Value>SSVEP</Value>
</Attribute>
<Attribute>
<Identifier>(0xf8034a49, 0x8b3f37cc)</Identifier>
<Value>Inria</Value>
</Attribute>
</Attributes>
</OpenViBE-Scenario>
......@@ -1782,4 +1782,30 @@
<NumChildren>0</NumChildren>
</VisualisationWidget>
</VisualisationTree>
<Attributes>
<Attribute>
<Identifier>(0x790d75b8, 0x3bb90c33)</Identifier>
<Value>Jozef Legeny</Value>
</Attribute>
<Attribute>
<Identifier>(0x8c1fc55b, 0x7b433dc2)</Identifier>
<Value>1.0</Value>
</Attribute>
<Attribute>
<Identifier>(0x9f5c4075, 0x4a0d3666)</Identifier>
<Value>SSVEP Generic Stimulator - Training</Value>
</Attribute>
<Attribute>
<Identifier>(0xf36a1567, 0xd13c53da)</Identifier>
<Value>http://openvibe.inria.fr/using-the-ssvep-mind-shooter-scenarios/</Value>
</Attribute>
<Attribute>
<Identifier>(0xf6b2e3fa, 0x7bd43926)</Identifier>
<Value>SSVEP</Value>
</Attribute>
<Attribute>
<Identifier>(0xf8034a49, 0x8b3f37cc)</Identifier>
<Value>Inria</Value>
</Attribute>
</Attributes>
</OpenViBE-Scenario>
......@@ -4949,4 +4949,30 @@
<NumChildren>0</NumChildren>
</VisualisationWidget>
</VisualisationTree>
<Attributes>
<Attribute>
<Identifier>(0x790d75b8, 0x3bb90c33)</Identifier>
<Value>Jozef Legeny</Value>
</Attribute>
<Attribute>
<Identifier>(0x8c1fc55b, 0x7b433dc2)</Identifier>
<Value>1.0</Value>
</Attribute>
<Attribute>
<Identifier>(0x9f5c4075, 0x4a0d3666)</Identifier>
<Value>SSVEP CSP Training</Value>
</Attribute>
<Attribute>
<Identifier>(0xf36a1567, 0xd13c53da)</Identifier>
<Value>http://openvibe.inria.fr/using-the-ssvep-mind-shooter-scenarios/</Value>
</Attribute>
<Attribute>
<Identifier>(0xf6b2e3fa, 0x7bd43926)</Identifier>
<Value>SSVEP</Value>
</Attribute>
<Attribute>
<Identifier>(0xf8034a49, 0x8b3f37cc)</Identifier>
<Value>Inria</Value>
</Attribute>
</Attributes>
</OpenViBE-Scenario>
\ No newline at end of file
......@@ -10334,4 +10334,30 @@ during non-stimulated periods.</Text>
<NumChildren>0</NumChildren>
</VisualisationWidget>
</VisualisationTree>
<Attributes>
<Attribute>
<Identifier>(0x790d75b8, 0x3bb90c33)</Identifier>
<Value>Jozef Legeny</Value>
</Attribute>
<Attribute>
<Identifier>(0x8c1fc55b, 0x7b433dc2)</Identifier>
<Value>1.0</Value>
</Attribute>
<Attribute>
<Identifier>(0x9f5c4075, 0x4a0d3666)</Identifier>
<Value>SSVEP - Classifier Training CSP</Value>
</Attribute>
<Attribute>
<Identifier>(0xf36a1567, 0xd13c53da)</Identifier>
<Value>http://openvibe.inria.fr/using-the-ssvep-mind-shooter-scenarios/</Value>
</Attribute>
<Attribute>
<Identifier>(0xf6b2e3fa, 0x7bd43926)</Identifier>
<Value>SSVEP</Value>
</Attribute>
<Attribute>
<Identifier>(0xf8034a49, 0x8b3f37cc)</Identifier>
<Value>Inria</Value>
</Attribute>
</Attributes>
</OpenViBE-Scenario>
\ No newline at end of file
......@@ -7120,27 +7120,27 @@
<Attributes>
<Attribute>
<Identifier>(0x790d75b8, 0x3bb90c33)</Identifier>
<Value></Value>
<Value>Jozef Legeny</Value>
</Attribute>
<Attribute>
<Identifier>(0x8c1fc55b, 0x7b433dc2)</Identifier>
<Value></Value>
<Value>1.0</Value>
</Attribute>
<Attribute>
<Identifier>(0x9f5c4075, 0x4a0d3666)</Identifier>
<Value></Value>
<Value>SSVEP Online Test - Shooter</Value>
</Attribute>
<Attribute>
<Identifier>(0xf36a1567, 0xd13c53da)</Identifier>
<Value></Value>
<Value>http://openvibe.inria.fr/using-the-ssvep-mind-shooter-scenarios/</Value>
</Attribute>
<Attribute>
<Identifier>(0xf6b2e3fa, 0x7bd43926)</Identifier>
<Value></Value>
<Value>SSVEP</Value>
</Attribute>
<Attribute>
<Identifier>(0xf8034a49, 0x8b3f37cc)</Identifier>
<Value></Value>
<Value>Inria</Value>
</Attribute>
</Attributes>
</Attributes>
</OpenViBE-Scenario>
\ No newline at end of file
......@@ -5519,4 +5519,30 @@ configuration scenario.</Text>
<NumChildren>0</NumChildren>
</VisualisationWidget>
</VisualisationTree>
<Attributes>
<Attribute>
<Identifier>(0x790d75b8, 0x3bb90c33)</Identifier>
<Value>Jozef Legeny</Value>
</Attribute>
<Attribute>
<Identifier>(0x8c1fc55b, 0x7b433dc2)</Identifier>
<Value>1.0</Value>
</Attribute>
<Attribute>
<Identifier>(0x9f5c4075, 0x4a0d3666)</Identifier>
<Value>SSVEP Performance Test</Value>
</Attribute>
<Attribute>
<Identifier>(0xf36a1567, 0xd13c53da)</Identifier>
<Value>http://openvibe.inria.fr/using-the-ssvep-mind-shooter-scenarios/</Value>
</Attribute>
<Attribute>
<Identifier>(0xf6b2e3fa, 0x7bd43926)</Identifier>
<Value>SSVEP</Value>
</Attribute>
<Attribute>
<Identifier>(0xf8034a49, 0x8b3f37cc)</Identifier>
<Value>Inria</Value>
</Attribute>
</Attributes>
</OpenViBE-Scenario>
\ No newline at end of file
......@@ -50,6 +50,12 @@ boolean CReader::processData(const void* pBuffer, const uint64 ui64BufferSize)
static_cast<const char*>(pBuffer),
static_cast<const int>(ui64BufferSize),
false);
if(l_eStatus!=XML_STATUS_OK) {
XML_Error l_oErrorCode = XML_GetErrorCode(m_pXMLParser);
// Although printf() is not too elegant, this component has no context to use e.g. LogManager -> printf() is better than a silent fail.
printf("processData(): expat error %d on the line %d of the input .xml\n", l_oErrorCode, XML_GetCurrentLineNumber(m_pXMLParser) );
}
return (l_eStatus==XML_STATUS_OK);
}
......
Markdown is supported
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