ntb:build
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ntb:build [2021/04/30 11:23] – [Test the Hardware] ursgraf | ntb:build [2026/11/04 13:33] (current) – [Hardware Configuration Files] ursgraf | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| The same tests as [[..:: | The same tests as [[..:: | ||
| - | The NTB version of the Delta has a target tool point (TCP) with a motor and a magnet. The magnet can be operated as follows | + | The NTB version of the Delta has a target tool point (TCP) with a motor and a magnet. The magnet can be operated as follows: |
| < | < | ||
| - | root@bblue: | + | ost@bblue: |
| - | root@bblue: | + | |
| </ | </ | ||
| - | The TCP motor should turn clockwise with the command | + | The TCP motor should turn clockwise with the commands |
| < | < | ||
| - | ost@bblue:$ sudo rc_test_motors | + | ost@bblue:$ sudo gpioset |
| + | </ | ||
| + | and | ||
| + | < | ||
| + | ost@bblue:$ sudo gpioset | ||
| + | </ | ||
| + | Changing the polarity of MDIR_4A and MDIR_4B will change the direction. In a further shell, configure the pwm signal as follows: | ||
| + | < | ||
| + | ost@bblue:$ echo 1 | sudo tee / | ||
| + | ost@bblue:$ echo 1000000 | sudo tee / | ||
| + | ost@bblue:$ echo 500000 | sudo tee / | ||
| + | ost@bblue:$ echo 1 | sudo tee / | ||
| </ | </ | ||
| + | The counter0 for the TCP encoder does not have to be enabled. Watch the counter with | ||
| + | < | ||
| + | ost@bblue:$ watch -n 0.5 cat / | ||
| + | </ | ||
| + | If you move the axis you should see counter values changing. Check the direction of the encoder. | ||
| + | Turn the TCP clockwise and the encoder values should be positive. If not, change the hardware configuration in // | ||
| ====== Hardware Configuration Files ====== | ====== Hardware Configuration Files ====== | ||
| - | The git repository includes a directory // | + | The git repository includes a directory // |
| + | |||
| + | There is another configuration file which holds the exact positions (x, y, z) of the positions of the blocks together with their thickness. Copy this configuration file which fits to your ntb robot as well. | ||
| < | < | ||
| - | cp robotList/ | + | $ scp delta-ntb/robotList/ |
| + | $ scp delta-ntb/ | ||
| </ | </ | ||
| Replace the ' | Replace the ' | ||
| + | Move the configuration file for the blocks as follows: | ||
| + | |||
| + | < | ||
| + | $ sudo mv delta-sort.conf / | ||
| + | </ | ||
ntb/build.1619774618.txt.gz · Last modified: by ursgraf
