AllenNeuralDynamics / AllenNeuralDynamics/exa-spim-control

Switch to absolute, not relative move commands

オープン
#25 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
2
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

The ASI stages store relative movements as an integer in units of encoder ticks. Therefore, if we request repeated relative movements of a non-integer encoder tick value, we will accumulate error. Since we move ~20K steps in units of 1[um], it is possible to introduce about 20[um] of error at the end of this movement. This phenomenon is documented in the [MOVEREL](http://asiimaging.com/docs/commands/movrel) command.

The fix is to communicate with the box using absolute movements. Since we don't know when the NI card is outputting triggers, it would be prudent to setup a transaction where we fill up the Tigerbox buffer with as many moves as possible, and then regularly query the buffer size and refill it such that it never goes empty while being externally triggered.

Since the current refactor need not be any more accurate than the existing code, this feature can wait for a while.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。