PcloudStimProd: ambienceHighVal is now a negtrin threshold
This commit is contained in:
@@ -308,14 +308,16 @@ std::cout << __func__ << ": $$$$$$$ Created PcloudIntensityStimulusBuffer" << st
|
||||
}
|
||||
else if (qualeIfaceApi == "pcloudAmbience")
|
||||
{
|
||||
// Parse ambienceHighVal from stimBuffApiParams
|
||||
// Parse ambienceHighVal from qualeIfaceApiParams (temporary, undocumented)
|
||||
const std::vector<std::string> ambienceHighValParamNames = {
|
||||
"high-value",
|
||||
"high-val"
|
||||
"negtrin-intolerable-threshold",
|
||||
"negtrin-intolerable",
|
||||
"intolerable-threshold",
|
||||
"intolerable"
|
||||
};
|
||||
int ambienceHighValInt = device::DeviceAttachmentSpec
|
||||
::parseOptionalParamAsIntWithSynonyms(
|
||||
deviceAttachmentSpec->stimBuffApiParams,
|
||||
deviceAttachmentSpec->qualeIfaceApiParams,
|
||||
ambienceHighValParamNames, 116);
|
||||
uint32_t ambienceHighVal = static_cast<uint32_t>(ambienceHighValInt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user