message: simplify polling in BeginStep, poll with 1.0 seconds unless user sets it otherwise
diff: @@ -456,30 +456,15 @@ StepStatus BP4Reader::CheckForNewSteps(float timeoutSeconds)
  if (timeoutSeconds < 0.0)
  {
  - timeoutSeconds = 2144448000.0f; // int-friendly 68 years
  + timeoutSeconds = std::numeric_limits<float>::max();
  }
  - uint64_t pollTime_ms;
  - if (m_BP4Deserializer.m_BeginStepPollingFrequencyIsSet)
  + float pollSecs = m_BP4Deserializer.m_BeginStepPollingFrequencySecs;
  + if (pollSecs > timeoutSeconds)
  {
  - pollTime_ms = static_cast<uint64_t>(
  - m_BP4Deserializer.m_BeginStepPollingFrequencySecs * 1000.f);
  - std::cout << "-- Polling with user set frequency " << pollTime_ms
  - << " msec" << std::endl;
  - }
  - else
  - {
  - // set poll to 1/100 of timeout
  - pollTime_ms = static_cast<uint64_t>((timeoutSeconds * 1000.0f) / 100);
  - if (pollTime_ms < 1000)
  - {
  - pollTime_ms = 1000; // min 1 second polling time
  - }
  - if (pollTime_ms > 10000)
  - {
  - pollTime_ms = 10000; // max 10 seconds polling time
  - }
  + pollSecs = timeoutSeconds;
  }
  + uint64_t pollTime_ms = static_cast<uint64_t>(pollSecs * 1000.f);
  /* Poll */
  double waited = 0.0;
  