getting_started:tutorials:oneaxis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:tutorials:oneaxis [2019/10/14 16:10] – [Control a Single Motor] graf | getting_started:tutorials:oneaxis [2023/04/13 11:29] (current) – [Build Application] ursgraf | ||
---|---|---|---|
Line 13: | Line 13: | ||
D is the damping factor and we choose it as 0.9. | D is the damping factor and we choose it as 0.9. | ||
- | |||
- | |||
=====Experimental Setup===== | =====Experimental Setup===== | ||
- | A maxon motor controller (50V / 5A) delivers the necessary power. | + | The motor we use has the following properties: |
| **Properties** | | **Properties** | ||
Line 28: | Line 26: | ||
* [[oneaxis_bbb|]] | * [[oneaxis_bbb|]] | ||
* [[oneaxis_cb20|]] | * [[oneaxis_cb20|]] | ||
+ | |||
=====Build Application===== | =====Build Application===== | ||
- | - Install EEROS and necessary hardware libraries as described in [[getting_started: | + | - Proceed with [[getting_started: |
- | - Build [[getting_started: | + | - After cloning the project, |
+ | - [[getting_started:deploy|]] to the target system if necessary. | ||
=====Test Application===== | =====Test Application===== | ||
Line 44: | Line 44: | ||
$ sudo ./ | $ sudo ./ | ||
</ | </ | ||
+ | The application logs the motor position once per second. By activating the emergency button, the safety system will immediately switch to an emergency state. Deactivating this button causes the system to switch back to running mode. | ||
+ | |||
+ | ===== Develop your own Application Further ===== | ||
+ | For further development we recommend to use an integrated development environment as described in [[getting_started: | ||
+ | |||
=====Implementation===== | =====Implementation===== | ||
Line 51: | Line 56: | ||
==== Safety System ==== | ==== Safety System ==== | ||
Safety levels and events are declared in '' | Safety levels and events are declared in '' | ||
- | [{{ : | + | [{{ : |
Two critical inputs are defined: " | Two critical inputs are defined: " |
getting_started/tutorials/oneaxis.txt · Last modified: 2023/04/13 11:29 by ursgraf