Changes between Version 66 and Version 67 of UserGuideGit
- Timestamp:
- Nov 16, 2017, 1:07:05 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuideGit
v66 v67 167 167 This position should be reached when servos pulses are 1500µs (1500µs is the neutral pulse of hobby servos). It may vary a little bit, and you can fine tune this value by scanning the mechanical range of the servo, and take the middle value (neutral_pulse = (min_pulse + max_pulse) / 2). A little servo tester can be helpful. 168 168 169 In the above position, ''SNP'' are all 90°, as it is standard servo neutral position for 1500µs.169 In the above position, ''SNP'' are all 0°, as it is standard servo neutral position for 1500µs. 170 170 171 171 Looking how '''Py4bot''' internally manages angles ([[UserGuideGit#a3DoFleg]]), we can see that in this position, ''JNP'' are: … … 179 179 Another thing to tune is the ratio between pulse variation and real servo displacement. This ratio varies a lot from a brand to another. And even for a same model, it varies from a servo to another. This is especially true for low cost servos. 180 180 181 Offsets and ratios are defined in the {{{SERVO_CALIBRATION}}} table. This table also has a ''' pulse90''' param, to fine tune the ''SNP'' (it is not always possible to mount the servo so 1500µs is the perfect ''JNP'').181 Offsets and ratios are defined in the {{{SERVO_CALIBRATION}}} table. This table also has a '''neutral''' param, to fine tune the ''SNP'' (it is not always possible to mount the servo so 1500µs is the perfect ''JNP''). 182 182 183 183 Here is how to use '''{{{py4bot-gui-servocal.py}}}'''.
