Template Class Ramp2D¶
Defined in File ramp_2d.hpp
Class Documentation¶
-
template<typename ValueUnit, typename TimeUnit>
class Ramp2D¶ -
Public Functions
-
inline Ramp2D(const Vector2D &initialValue, double rampSpeed)¶
Ramp speed is how much value unit per time unit
-
inline void setSpeed(double speed)¶
The speed of the ramps are only changed if a non-zero delta between the curretn values and target values are different
-
inline bool isTargetReached() const¶
-
inline void update()¶
-
inline Ramp2D(const Vector2D &initialValue, double rampSpeed)¶