Class ExplicitTwisting#
Defined in Program listing for file control/src/Controller/ExplicitTwisting.hpp
-
class ExplicitTwisting : public CommonSMC#
Twisting Controller with an explicit discretization.
Public Functions
-
ExplicitTwisting(SP::ControlSensor sensor)#
Constructor for a nonlinear system or the ActuatorFactory.
- Parameters:
sensor – the ControlSensor feeding the Actuator
-
ExplicitTwisting(SP::ControlSensor sensor, double gain, double beta)#
Constructor for the linear case.
- Parameters:
sensor – the ControlSensor feeding the Actuator
gain – control magnitude
beta – twisting parameter
-
virtual ~ExplicitTwisting()#
destructor
-
virtual void actuate()#
Compute the new control law at each event Here we are using the following formula:
-
virtual void initialize(const NonSmoothDynamicalSystem &nsds, const Simulation &s)#
Initialization.
- Parameters:
nsds – current nonsmooth dynamical system
s – current simulation setup
-
ExplicitTwisting(SP::ControlSensor sensor)#