This line is not needed, because the call to ObstacleLayer::onInitialize() has already called setupDynamicReconfigure().