// SPDX-License-Identifier: GPL-3.0-or-later // Copyright 2019 Juan Palacios #pragma once #include #include #include namespace Utils::Common { /// Normalizes points into temperature and percentage ranges. /// @note Temperature normalization is only performed when needed. /// @param tempRange target temperature range /// @param speedRange target speed range void normalizePoints( std::vector> &points, std::pair tempRange, std::pair speedRange = std::make_pair(units::concentration::percent_t(0), units::concentration::percent_t(100))); } // namespace Utils::Common