This repository has been archived by the owner on Sep 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Setting up the Dynamixels on a new computer
Kyle Combes edited this page Nov 15, 2017
·
1 revision
Before running OARS code to control the Dynamixels, you must first install the official Robotis DynamixelSDK library.
- Open up a terminal, but don't
cd
into the OARS Git repo. We want to keep this code separate. - Run
git clone https://github.com/ROBOTIS-GIT/DynamixelSDK.git
to clone the DynamixelSDK repository. - Make sure the necessary compiling prerequisites are installed by running
sudo apt-get install -y build-essential
. - Now run
cd DynamixelSDK/c/build/
- Inside the
build
folder are a bunch of different folders for different platforms and processor architectures. If you're on Linux, rununame -m
. - Now
cd
into the correct folder for your computer. If you're on a Linux laptop, it'll probably mean runningcd linux64
. If you're on an ODROID, Raspberry Pi, or the like (with an ARM processor), it'll mean runningcd linux_sbc
("sbc" stands for single-board computer). - Run
make
to compile the driver. - Run
sudo make install
to copy the compiled library to the libraries folder on your computer (/usr/local/lib
on Linux).
You should now be able to run the OARS code and talk to the Dynamixels. If you're having trouble, you should make sure you're trying to connect using the right serial port in the OARS code (you can list all of the USB devices available on your computer by running ls /dev/ | grep USB
).