Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

calibration-tool.py instructions #19

Closed
roykolak opened this issue May 1, 2016 · 3 comments
Closed

calibration-tool.py instructions #19

roykolak opened this issue May 1, 2016 · 3 comments

Comments

@roykolak
Copy link

roykolak commented May 1, 2016

"Remove accelerometers from the arm and put them on a flat surface that has no inclination"

Not sure if I follow, the accelerometers seem to be attached firmly to the arm joints and are not removable

@NikolasE
Copy link
Collaborator

NikolasE commented May 1, 2016

They are attached firmly, you have to loosen the screws of the horizontal bars that keep the arm together. Then you can remove the sensors. It's rather delicate, be careful not to damage the PCB's.
And yes, don't forget to thang the guys from Dobot that had this genius idea how to calibrate their arm.

@maxosprojects
Copy link
Owner

maxosprojects commented May 1, 2016

Strictly speaking, it is not a hard requirement to calibrate accelerometers but rather a desired procedure to improve accuracy as long as the accelerometers are not poorly soldered to their PCBs (have an inclination of no more than one degree). The accelerometers shipped with dobot are not too accurate themselves - according to the datasheet there is about 3-4% error, which, for 90 degrees range, gives about 2.7-3.6 degrees error.

In my case, for the expected value of 1024 at zero inclination I got 1027, which is ((1027-1024)/500)*90 = 0.54 degree adjustment, where 500 is the output range (~500-1024 are the values accelerometer outputs for angles 90-0). You can see that the adjustment I got for my accelerometers is five to seven times less than accelerometer's error itself. If you add the looseness of all the joints the adjustment becomes negligibly small, so you can ignore the calibration procedure altogether as it won't make much difference.

Updated README.md accordingly with a link to this issue as explanation why and in which cases the calibration may be skipped.

Please close the issue when you feel it is resolved.

@maxosprojects
Copy link
Owner

I assume this issue is resolved. Please re-open if needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants