Program listing for file control/src/Controller/Twisting.hpp#

 1#ifndef Twisting_H
 2#define Twisting_H
 3
 4#include "CommonSMC.hpp"
 5
 6
 7
 8class Twisting : public CommonSMC
 9{
10private:
11  ACCEPT_SERIALIZATION(Twisting);
12
13protected:
14
15  Twisting() {};
16
17public:
18
19  Twisting(SP::ControlSensor sensor): CommonSMC(TWISTING, sensor) {};
20
21
22  Twisting(SP::ControlSensor sensor, double hControl);
23
24
25  Twisting(SP::ControlSensor sensor, double gain, double beta, double hControl);
26
27
28  virtual ~Twisting();
29
30
31  virtual void actuate();
32
33
34  virtual void setNSdata(double hControl);
35
36  virtual void initialize(const NonSmoothDynamicalSystem & nsds, const Simulation& s);
37};
38#endif