Connecting the servo controller to the Galileo
You've checked the servo motor controller and the servos; you'll now connect the motor controller up to the Galileo and make sure you can control the servos from it.
Let's now talk to the motor controller. Here are the steps:
Connect Galileo to the motor controller by connecting a mini USB-to-mini USB cable. Connect the cable to the USB host connection on the Galileo, like this:
Download the Linux code from Pololu at www.pololu.com/docs/0J40/3.b. Perhaps the best way is to log onto your Galileo, then type wget http://www.pololu.com/file/download/maestro-linux-100507.tar.gz?file_id=0J315.
Then, move the file using this command:
mv maestro-linux-100507.tar.gz\?file_id\=0J315 maestro-linux-100507.tar.gz
Unpack the file by typing
tar –xzfv maestro_linux_011507.tar.gz
. This will create a directory calledmaestro_linux
. Go to that directory by typingcd maestro_linux
and then typels
, you should see something like this:
The document README.txt
will give...