{
{
}
else if (controller->
NetworkStateGet() != RSINetworkState::RSINetworkStateUNINITIALIZED &&
{
std::ostringstream message;
message << "The Sample Apps are configured to use Phantom Axes, but the network is not in the UNINITIALIZED or SHUTDOWN state.\n"
<< "If you intended to run with hardware, then follow the steps in README.md and /include/SampleAppsHelper.h\n"
<< "Otherwise, shutdown the network before running the sample apps with phantom axes.";
throw std::runtime_error(message.str().c_str());
}
{
if (axisCount < numAxes)
{
std::ostringstream message;
message << "Error! Not enough axes configured. Expected " << numAxes << " axes but only found " << axisCount << " axes."
<< "Please configure the axes in the SampleAppsConfig::ConfigureHardwareAxes function.";
throw std::runtime_error(message.str().c_str());
}
}
else
{
{
}
for (int i = 0; i < numAxes; i++)
{
}
}
}