Class ExplicitLinearSMC¶
Defined in Program listing for file control/src/Controller/ExplicitLinearSMC.hpp
-
class ExplicitLinearSMC : public CommonSMC¶
Public Functions
-
ExplicitLinearSMC(SP::ControlSensor sensor)¶
Constructor.
- Parameters
sensor – the ControlSensor feeding the Actuator
-
ExplicitLinearSMC(SP::ControlSensor sensor, SP::SimpleMatrix B)¶
Constructor.with all data.
- Parameters
sensor – the ControlSensor feeding the Actuator
B – the B matrix
-
virtual ~ExplicitLinearSMC()¶
destructor
-
virtual void initialize(const NonSmoothDynamicalSystem &nsds, const Simulation &s)¶
Initializer.
- Parameters
nsds – current nonsmooth dynamical system
s – current simulation setup
-
virtual void actuate()¶
Compute the new control law at each event Here we are using the following formula: TODO.
-
ExplicitLinearSMC(SP::ControlSensor sensor)¶