EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MyControlSystem.hpp
Go to the documentation of this file.
1 #ifndef MYCONTROLSYSTEM_HPP_
2 #define MYCONTROLSYSTEM_HPP_
3 
4 #include <eeros/control/Sum.hpp>
5 #include <eeros/control/D.hpp>
6 #include <eeros/control/Gain.hpp>
11 
13 
14 public:
15  MyControlSystem(double ts);
16 
17  void start();
18  void stop();
19 
32 
33 private:
34  eeros::control::TimeDomain timedomain;
35 };
36 
37 #endif // MYCONTROLSYSTEM_HPP_
eeros::control::Sum< 2 > sum1
Definition: MyControlSystem.hpp:24
eeros::control::D diff1
Definition: MyControlSystem.hpp:23
eeros::control::Gain posController
Definition: MyControlSystem.hpp:25
eeros::control::Gain inertia
Definition: MyControlSystem.hpp:29
void stop()
Definition: MyControlSystem.cpp:70
eeros::control::Gain invMotConst
Definition: MyControlSystem.hpp:30
eeros::control::Gain speedController
Definition: MyControlSystem.hpp:28
Definition: Constant.hpp:12
eeros::control::Constant setpoint
Definition: MyControlSystem.hpp:20
MyControlSystem(double ts)
Definition: MyControlSystem.cpp:5
eeros::control::PeripheralOutput dac
Definition: MyControlSystem.hpp:31
void start()
Definition: MyControlSystem.cpp:66
eeros::control::Constant setpointV
Definition: MyControlSystem.hpp:21
eeros::control::D diff2
Definition: MyControlSystem.hpp:26
eeros::control::Sum< 3 > sum2
Definition: MyControlSystem.hpp:27
Definition: MyControlSystem.hpp:12
Definition: TimeDomain.hpp:12
eeros::control::PeripheralInput enc
Definition: MyControlSystem.hpp:22
Definition: Gain.hpp:10
Definition: PeripheralInput.hpp:13
Definition: PeripheralOutput.hpp:12
Definition: D.hpp:10