Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
basic_downscaler.hpp
Go to the documentation of this file.
1#ifndef FANG_ROBOTICS_MCB_CHASSIS_ALGORITHMS_BASIC_DOWNSCALERS_HPP
2#define FANG_ROBOTICS_MCB_CHASSIS_ALGORITHMS_BASIC_DOWNSCALERS_HPP
4
5namespace fang::chassis
6{
12 {
13 public:
18 static double basicDownscale(double speed, double coefficient);
19
25 BasicDownscaler(double downscaleCoefficient);
26 double getDownscale (const MetersPerSecond& speed) const;
27
28 private:
29 const double m_downscaleCoefficient;
30 };
31}
32#endif
Definition basic_downscaler.hpp:12
static double basicDownscale(double speed, double coefficient)
Definition basic_downscaler.cpp:10
double getDownscale(const MetersPerSecond &speed) const
Definition basic_downscaler.cpp:20
Definition basic_downscaler.cpp:4
units::velocity::meters_per_second_t MetersPerSecond
Definition units_alias.hpp:27