Class square_waveform
Defined in File periodic_waveform.hpp
Inheritance Relationships
Base Type
public rcppsw::control::base_waveform
(Class base_waveform)
Class Documentation
-
class square_waveform : public rcppsw::control::base_waveform
Given the current time, outputs the current value of a square wave according to configured parameters:
value = amplitude * signof(sin(2pi* frequency * time + phase)) + offset.
Can be used to create step functions as well.