Class LinearSMCOT2#

Defined in Program listing for file control/src/Controller/LinearSMCOT2.hpp

class LinearSMCOT2 : public CommonSMC#

Public Functions

LinearSMCOT2(SP::ControlSensor sensor)#

Constructor.

Parameters:

sensor – the ControlSensor feeding the Actuator

virtual ~LinearSMCOT2()#

destructor

virtual void initialize(const NonSmoothDynamicalSystem &nsds, const Simulation &s)#

initialize actuator data.

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.

virtual void setTimeDiscretisation(const TimeDiscretisation &td)#

This is derived in child classes if they need to copy the TimeDiscretisation associated with this Sensor.

Parameters:

td – the TimeDiscretisation for this Sensor