-
Notifications
You must be signed in to change notification settings - Fork 2
Servo mode
Kanta HORIO edited this page Nov 5, 2020
·
6 revisions
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
enable | 0-1 | 1:Enable, 0:Disable |
Always
Turns on/off the servo mode (position tracking mode). To avoid sudden movement, the current position at the moment of activation is set to the target position.
It is not possible to send other motor control commands such as /run
or /goTo
while operating in this mode.
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
kP | 0.0- | Proportional control gain |
kI | 0.0- | Integral control gain |
kD | 0.0- | Differential control gain |
Always
Adjusts the PID control gain.
Argument | Initial value |
---|---|
kP | 0.06 |
kI | 0 |
kD | 0 |
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
Always
/servoParam (int)motorID (float)kP (float)kI (float)kD
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
kP | 0.0- | Proportional control gain |
kI | 0.0- | Integral control gain |
kD | 0.0- | Differential control gain |
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
position | -2,097,152 - 2,097,151 | target position |
Always
Sets the target position in servo mode.
Argument | Range | Description |
---|---|---|
position[1-4] | -2,097,152 - 2,097,151 | target position |
Always
Sets the target positions of the servo mode for all 4 axes at once.
- home
- Tutorial
-
Connections and settings
- Power supply and Motor
- Sensor and Switch
- Network and DIP switch
- Setup with a microSD card
- Example parameter values for example steppers
- Function description
- OSC command reference
- Technical information