EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
SpaceNavigatorInput.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_CONTROL_SPACENAVIGATORINPUT_HPP_
2 #define ORG_EEROS_CONTROL_SPACENAVIGATORINPUT_HPP_
3 
4 #include <string>
5 #include <thread>
7 #include <eeros/core/System.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 SpaceNavigatorInput : public Block1o<Matrix<SPACENAVIGATOR_AXIS_COUNT>> {
18  public:
19  SpaceNavigatorInput(std::string dev);
20  virtual ~SpaceNavigatorInput();
21 
22  virtual void run();
23  virtual void setInitPos(Matrix<SPACENAVIGATOR_AXIS_COUNT> initPos);
26 
27  protected:
31  };
32 
33  };
34 };
35 
36 #endif /* ORG_EEROS_CONTROL_SPACENAVIGATORINPUT_HPP_ */
Definition: SpaceNavigator.hpp:39
Definition: Block1o.hpp:12
Definition: Config.hpp:14
Definition: SpaceNavigatorInput.hpp:17
Output< Matrix< SPACENAVIGATOR_BUTTON_COUNT, 1, bool > > buttonOut
Definition: SpaceNavigatorInput.hpp:29
Definition: Output.hpp:11
SpaceNavigator sn
Definition: SpaceNavigatorInput.hpp:30
Definition: HAL.hpp:16
Output< Matrix< SPACENAVIGATOR_ROT_AXIS_COUNT, 1, double > > rotOut
Definition: SpaceNavigatorInput.hpp:28
Definition: Matrix.hpp:16
Definition: CoordinateSystem.hpp:9