Class BasicDownscaler

Class Documentation

class BasicDownscaler

Small downscaler for finding an amount to downscale for the shuriken mode in order to conserve power

Public Functions

BasicDownscaler(double downscaleCoefficient)

The high the downscale coefficient, the less downscaling it will do with respect to speed https://www.desmos.com/calculator/5xqaxqilmnj

double getDownscale(const MetersPerSecond &speed) const

Public Static Functions

static double basicDownscale(double speed, double coefficient)

The higher the downscale coefficient, the less downscaling it will do with respect to speed https://www.desmos.com/calculator/5xqaxqilmnj