Skip to content

Commit 1202fbb

Browse files
committed
Remove test input range settings for AUX channels in FileReader
1 parent 8586285 commit 1202fbb

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

Source/Processors/FileReader/FileReader.cpp

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -542,30 +542,6 @@ void FileReader::updateSettings()
542542
};
543543

544544
continuousChannels.add (new ContinuousChannel (channelSettings));
545-
auto name = channelInfo[i].name;
546-
547-
if (channelInfo[i].type == ContinuousChannel::Type::AUX)
548-
{
549-
if (name.equalsIgnoreCase("Eul-Y"))
550-
continuousChannels.getLast()->inputRange = { -360.0f, 360.0f };
551-
else if (name.equalsIgnoreCase("Eul-R"))
552-
continuousChannels.getLast()->inputRange = { -90.0f, 90.0f };
553-
else if (name.equalsIgnoreCase("Eul-P"))
554-
continuousChannels.getLast()->inputRange = { -180.0f, 180.0f };
555-
else if (name.startsWithIgnoreCase("Quat"))
556-
continuousChannels.getLast()->inputRange = { -1.0f, 1.0f };
557-
else if (name.startsWithIgnoreCase("Acc"))
558-
continuousChannels.getLast()->inputRange = { -100.0f, 100.0f };
559-
else if (name.startsWithIgnoreCase("Grav"))
560-
continuousChannels.getLast()->inputRange = { -10.0f, 10.0f };
561-
else if (name.equalsIgnoreCase("Temp"))
562-
continuousChannels.getLast()->inputRange = { -100.0f, 100.0f };
563-
else if (name.startsWithIgnoreCase("Cal"))
564-
continuousChannels.getLast()->inputRange = { -3.0f, 3.0f };
565-
else
566-
continuousChannels.getLast()->inputRange = { -5000.0f, 5000.0f };
567-
}
568-
569545
continuousChannels.getLast()->addProcessor (this);
570546
}
571547

0 commit comments

Comments
 (0)