User Tools

Site Tools


getting_started:tutorials:inputdev1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
getting_started:tutorials:inputdev1 [2026/04/12 16:30] – [Reading from a Mouse / Keyboard / XBox Controller / Space Navigator] ursgrafgetting_started:tutorials:inputdev1 [2026/04/12 16:31] (current) – [Reading from a XBox Controller] ursgraf
Line 8: Line 8:
 Open a shell in the build directory of your EEROS library and run  Open a shell in the build directory of your EEROS library and run 
 <code> <code>
-sudo ./examples/block/mouseTest+$ ./examples/block/mouseTest
 </code> </code>
 This examples reads four axis of a mouse together with three buttons and outputs the results periodically. Further, the safety system checks for the middle button to be pressed. This causes a level change. As soon as the button is released the safety system changes back to the first level.\\ This examples reads four axis of a mouse together with three buttons and outputs the results periodically. Further, the safety system checks for the middle button to be pressed. This causes a level change. As soon as the button is released the safety system changes back to the first level.\\
Line 23: Line 23:
 Open a shell in the build directory of your EEROS library and run  Open a shell in the build directory of your EEROS library and run 
 <code> <code>
-sudo ./examples/block/keyboardTest+$ ./examples/block/keyboardTest
 </code> </code>
 Study the code of the example together with the code of the ''KeyboardInput'' block. Study the code of the example together with the code of the ''KeyboardInput'' block.
Line 31: Line 31:
 Open a shell in the build directory of your EEROS library and run  Open a shell in the build directory of your EEROS library and run 
 <code> <code>
-sudo ./examples/block/xBoxTest+$ ./examples/block/xBoxTest
 </code> </code>
 This examples reads and outputs periodically all 8 buttons and 8 axis of a XBox controller. Further, the safety system checks for the button 'X' to be pressed. This causes a level change. As soon as the button is released the safety system changes back to the first level. \\ This examples reads and outputs periodically all 8 buttons and 8 axis of a XBox controller. Further, the safety system checks for the button 'X' to be pressed. This causes a level change. As soon as the button is released the safety system changes back to the first level. \\
Line 41: Line 41:
 Open a shell in the build directory of your EEROS library and run  Open a shell in the build directory of your EEROS library and run 
 <code> <code>
-sudo ./examples/block/spaceNavigatorTest+$ ./examples/block/spaceNavigatorTest
 </code> </code>
 This examples reads and outputs periodically the 3 position and 3 rotation axis together with the state of the 2 buttons of a space navigator mouse. Further, the safety system checks for the left button to be pressed. This causes a level change. As soon as the button is released the safety system changes back to the first level.  This examples reads and outputs periodically the 3 position and 3 rotation axis together with the state of the 2 buttons of a space navigator mouse. Further, the safety system checks for the left button to be pressed. This causes a level change. As soon as the button is released the safety system changes back to the first level. 
getting_started/tutorials/inputdev1.1776004223.txt.gz · Last modified: by ursgraf