-
Notifications
You must be signed in to change notification settings - Fork 0
API setAbsDistance
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Mit setAbsDistance wird die Sollposition in absoluten Koordinaten für einen Motor gesetzt. Das Kommando startet nicht die Bewegung, diese muss mit startMoving ausgelöst werden. Die Angabe der Sollposition erfolgt in Schritten.
setAbsDistanceAll hat die gleiche Funktion, nur dass hier die Sollpositionen für alle Motoren gleichzeitig gesetzt werden.
Die Motoren sind als Konstanten definiert.
setAbsDistance sets the target position of a motor in absolute coordinates. The command doesn't start the motor at all, startMoving starts a motor with all set parameters. The units of the target position are steps.
setAbsDistanceAll is the same, but it sets the target position for all motors.
Use the motor constants.
1. Einleitung
1.1 Schrittmotoren
1.2 Servos
1.3 Endlagenschalter & Notaus
1.4 I²C-Bus
1.5 Stromversorgung
1.6 Anschlüsse
2. Inbetriebnahme der Hardware
2.1 Maintenance Mode
2.2 Firmware update
3. Arduino & ftDuino
3.1 Installation der Bibliothek
3.2 Programmieren mit dem Arduino/ftDuino
3.3 Beispielprogramme
4. ROBOPro
4.1 Installation der Bibliothek
4.2 Programmieren unter ROBOPro