{ if ( period_ms != 0) { this->period_ms = period_ms; } else { this->period_ms = 4000; std::cerr << "[Oscillator] Period cannot be set to 0 ms. Setting to " << this->period_ms << std::endl; } }