You can use Python to perform the calibration manually, however you will need to be careful to not drive a servo out of range for too long.
Be cautious using the UB.CalibrateServoPosition commands in particular, they allow you to change the servo output to any possible value without any limit checking at all.
For reference the factory set values are:
Maximum: 4000
Minimum: 2000
Startup: 3000
The absolute limits provided by the tuning GUI are:
Maximum: 6000
Minimum: 0
We recommend you do not exceed these absolute limits.
The next steps depend on which servo / connection you are calibrating, I will give the examples for servo #1
3. Start by setting the servo into a position of 3000, this should be approximately central on most servos:
UB.CalibrateServoPosition1(3000)
4. Now slowly increase this number until the servo no longer moves.
Once it stops, or where you can hear it struggling, come back ever so slightly so we are still in the moving range.
For example:
6. Next set the servo back into a position of 3000:
UB.CalibrateServoPosition1(3000)
7. Now slowly decrease this number until the servo no longer moves.
Once it stops, or where you can hear it struggling, come back ever so slightly so we are still in the moving range.
For example:
9. Now move the servo around until it is where you would like it to go when the power is connected.
Make sure you stay between the minimum and maximum set earlier.
If you do not have a preference then 3000 is usually a good number to pick.
For example
piborg
Mon, 09/21/2015 - 17:17
Permalink
Calibrate the servos through serial connection
You can use Python to perform the calibration manually, however you will need to be careful to not drive a servo out of range for too long.
Be cautious using the
UB.CalibrateServoPosition
commands in particular, they allow you to change the servo output to any possible value without any limit checking at all.For reference the factory set values are:
The absolute limits provided by the tuning GUI are:
We recommend you do not exceed these absolute limits.
1. Start by opening
python
.2. Next load the UltraBorg library:
The next steps depend on which servo / connection you are calibrating, I will give the examples for servo #1
3. Start by setting the servo into a position of 3000, this should be approximately central on most servos:
4. Now slowly increase this number until the servo no longer moves.
Once it stops, or where you can hear it struggling, come back ever so slightly so we are still in the moving range.
For example:
5. When you are happy set this value as the maximum like this, replacing
4250
with your value:6. Next set the servo back into a position of 3000:
7. Now slowly decrease this number until the servo no longer moves.
Once it stops, or where you can hear it struggling, come back ever so slightly so we are still in the moving range.
For example:
8. When you are happy set this value as the minimum like this, replacing
1700
with your value:9. Now move the servo around until it is where you would like it to go when the power is connected.
Make sure you stay between the minimum and maximum set earlier.
If you do not have a preference then 3000 is usually a good number to pick.
For example
10. When you are happy set this value as the startup position like this, replacing
2800
with your value:To calibrate other servos replace the
UB.xxx1
names with 2, 3, or 4 as needed for all of the commands.batesm0t3l@outl...
Tue, 09/22/2015 - 09:06
Permalink
Thank u.
Thank u.