Build the Software
The building of the software is exactly the same as in Build the Software with the exception that the necessary scripts are slightly different. Fetch them on your cross development system with
$ git clone https://github.com/eeduro/eeduro-scripts.git eeduro $ cd eeduro/delta-ntb
Use the scripts therein.
Test the Hardware
The same tests as Test the Hardware can be performed on this robot. Additionally, the following two tests must be performed.
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 (run as root):
root@bblue:$ cd /sys/class/leds root@bblue:$ echo 1 > red/brightness
The TCP motor should turn clockwise with the command
ost@bblue:$ sudo rc_test_motors -m 4 -d 1
Check the direction of the encoder.
Turn the TCP clockwise and the encoder values should be positive. If not, change the hardware configuration in HwConfigBBBlue.json.
Hardware Configuration Files
The git repository includes a directory robotList. There you can find the hardware configuration files for all ntb robots. While most of the configuration is the same for all robots, encoder resolution can differ. Please copy the right configuration file from this directory before downloading to the robot. Also copy the configuration file which fits to your ntb robot.
$ scp delta-ntb/robotList/HwConfigBBBlue.000x.json firstname.lastname@example.org:bin/HwConfigBBBlue.json $ scp delta-ntb/robotList/delta-sort.000x.conf email@example.com:bin/delta-sort.conf
Replace the 'x' with the proper number.