(Build)
(Build)
Line 11: Line 11:
  
 
Install libpcan
 
Install libpcan
<br><br>
+
 
 
Install libpcanbasic
 
Install libpcanbasic
<br><br>
+
 
 
Install libBHand
 
Install libBHand
<br><br>
 
unzip AllegroHand<br>
 
cd AllegroHand<br>
 
mkdir build<br>
 
cd build<br>
 
cmake ..<br>
 
make<br>
 
make install<br>
 
cd bin
 
./handTest
 
  
  ../../../bin
+
  unzip AllegroHand<br>
 +
cd AllegroHand<br>
 +
mkdir build<br>
 +
cd build<br>
 +
cmake ..<br>
 +
make<br>
 +
make install<br>
 +
cd bin
 +
./handTest
 +
 
  
 
You will need to replace the encoder offsets and directions and the motor directions in the array at the top of the main.cpp file. These offsets can be found on the offsets and directions table on your Allegro Hand Wiki page (front page - scroll down).
 
You will need to replace the encoder offsets and directions and the motor directions in the array at the top of the main.cpp file. These offsets can be found on the offsets and directions table on your Allegro Hand Wiki page (front page - scroll down).

Revision as of 16:54, 9 December 2014

Download

File:MyAllegroHand Linux Project and Source.zip


Git Repo

https://github.com/simlabrobotics/allegro_hand_linux


Build

Install libpcan

Install libpcanbasic

Install libBHand

unzip AllegroHand
cd AllegroHand
mkdir build
cd build
cmake ..
make
make install
cd bin ./handTest


You will need to replace the encoder offsets and directions and the motor directions in the array at the top of the main.cpp file. These offsets can be found on the offsets and directions table on your Allegro Hand Wiki page (front page - scroll down).


If you have any questions, feel free to ask.





Whos here now:   Members 0   Guests 1   Bots & Crawlers 0