EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
KeyboardInput.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_CONTROL_KEYBOARDINPUT_HPP_
2 #define ORG_EEROS_CONTROL_KEYBOARDINPUT_HPP_
3 
4 #include <string>
5 #include <thread>
7 #include <eeros/core/System.hpp>
8 #include <eeros/hal/Keyboard.hpp>
9 #include <eeros/math/Matrix.hpp>
10 
11 using namespace eeros::math;
12 using namespace eeros::hal;
13 
14 namespace eeros {
15  namespace control {
16 
17  class KeyboardInput: public Block1o<Vector4> {
18  public:
19  KeyboardInput();
20  virtual ~KeyboardInput();
21 
22  Output<Vector<5,bool>>& getIsHomed();
23  Output<bool>& getEsc();
24  Output<bool>& getEmergency();
25  Output<bool>& getReset();
26  Output<bool>& getStart();
27  Output<bool>& getStop();
28  virtual void run();
29 
30  protected:
38  };
39  };
40 };
41 
42 #endif /* ORG_EEROS_CONTROL_KEYBOARDINPUT_HPP_ */
Output< Vector< 5, bool > > isHomed
Definition: KeyboardInput.hpp:31
Output< bool > stop
Definition: KeyboardInput.hpp:36
Output< bool > esc
Definition: KeyboardInput.hpp:32
Definition: Block1o.hpp:12
Definition: Config.hpp:14
Definition: Output.hpp:11
Output< bool > start
Definition: KeyboardInput.hpp:35
Output< bool > reset
Definition: KeyboardInput.hpp:34
Definition: HAL.hpp:16
Keyboard k
Definition: KeyboardInput.hpp:37
Definition: Keyboard.hpp:22
Definition: KeyboardInput.hpp:17
Definition: CoordinateSystem.hpp:9
Output< bool > emergency
Definition: KeyboardInput.hpp:33