dzid26 / StepperServoCAN

Closed loop stepper motor controller with CANbus capabilities. This Project open source hardware and code, support platformio build and upload firmware.
https://shop.retropilot.org/product/stepperservocan
19 stars 5 forks source link

Calibration wraparound "random" value #9

Closed dzid26 closed 1 year ago

dzid26 commented 1 year ago
[ 6113  6275  6433  6604  6760  6919  7087  7253  7416  7576  7736  7904
  8059  8217  8384  8549  8710  8871  9028  9195  9349  9507  9673  9837
  9998 10158 10313 10481 10635 10790 10957 11122 11280 11440 11595 11763
 11915 12073 12238 12402 12562 12720 12875 13042 13195 13354 13520 13684
 13843 14002 14156 14324 14478 14636 14804 14970 15129 15289 15446 15614
 15770 15931 16102 16270 16435 16601 16759 16932 17090 17253 17426 17596
 17759 17924 18084 18256 18413 18576 18748 18917 19083 19248 19407 19579
 19736 19899 20071 20242 20408 20574 20731 20904 21061 21223 21395 21567
 21731 21898 22056 22227 22383 22545 22717 22888 23052 23218 23374 23546
 23701 23862 24033 24205 24369 24533 24691 24863 25017 25178 25351 25520
 25684 25849 26006 26178 26332 26494 26664 26837 27002 27165 27323 27495
 27649 27811 27982 28155 28319 28486 28643 28816 28969 29131 29303 29475
 29642 29810 29970 30142 30297 30457 30630 30802 30970 31139 31298 31472
 31626 31789 31962 32133 32304 32473 32636 32807 32964 33129 33302 33475
 33646 33815 33975 34148 34304 34467 34640 34812 34981 35150 35309 35482
 35637 35800 35973 36144 36312 36481 36640 36812 36967 37129 37299 37470
 37638 37806 37963 38135 38289 38451 38619 38788 38955 39122 39280 39451
 39603 39763 39932 40101 40265 40432 40589 40757 40910 41068 41237 41405
 41569 41735 41891 42060 42209 42368 42535 42704 42867 43033 43189 43356
 43507 43664 43832 44000 44165 44328 44484 44651 44803 44960 45127 45294
 45457 45622 45777 45946 46097 46255 46421 46588 46750 46914 47071 47239
 47392 47550 47717 47884 48047 48214 48371 48544 48697 48859 49027 49198
 49365 49536 49695 49869 50026 50185 50357 50526 50692 50862 51021 51194
 51349 51510 51679 51847 52013 52183 52342 52513 52669 52828 52998 53166
 53332 53500 53658 53828 53983 54142 54312 54480 54643 54811 54968 55137
 55291 55449 55619 55786 55949 56113 56269 56438 56591 56749 56917 57083
 57243 57408 57564 57732 57886 58043 58211 58374 58537 58700 58855 59023
 59176 59335 59501 59666 59826 59991 60145 60315 60467 60625 60792 60959
 61120 61285 61440 61610 61762 61922 62090 62256 62419 62585 62740 62911
 63065 63223 63393 63560 63723 63890 64046 64218 64374 64535 64704 64872
 65039 65204 65364 28835   160   321   492   662   829   996  1153  1326
  1483  1646  1818  1986  2153  2320  2479  2651  2809  2970  3140  3311
  3475  3642  3801  3975  4131  4293  4462  4631  4796  4962  5120  5294
  5449  5610  5778  5946]

It goes ... 65364 28835 160 ....
28835 is incorrect as it represents like ~158deg

dzid26 commented 1 year ago

Recalibration is needed after the upgrade.