(Created page with "==CAN Device Set up== 1. Install necessary packages. sudo apt-get install cmake gcc g++ libpopt-dev 2. Download, build, and install PCAN-USB driver for Linux: [http://www.p...")
 
(Blanked the page)
Line 1: Line 1:
==CAN Device Set up==
 
1. Install necessary packages.
 
sudo apt-get install cmake gcc g++ libpopt-dev
 
  
2. Download, build, and install PCAN-USB driver for Linux: [http://www.peak-system.com/fileadmin/media/linux/index.htm#download peak-linux-driver]. '''Note:''' v8.8.0 tested.
 
tar -xzvf peak-linux-driver-x.x.tar.gz
 
cd peak-linux-driver-x.x
 
make NET=NO
 
sudo make install
 
sudo modprobe pcan
 
 
3. Download, build, and install PCAN-Basic API for Linux: [http://www.peak-system.com/fileadmin/media/linux/index.htm#download peak-basic-api]. '''Note:''' v4.2.0 is tested.
 
tar -xzvf PCAN_Basic_Linux-x.x.x.tar.gz
 
cd PCAN_Basic_Linux-x.x.x/pcanbasic
 
make
 
sudo make install
 
 
4. Download, build, and install Grasping Library for Linux, "libBHand": [[Grasping_Library_for_Linux]]
 
 
==Linux Project==
 
1. Build Allegro Hand Project using cmake "out of source build" style.<br>
 
Clone or Download linux project
 
'''linux :''' [https://github.com/simlabrobotics/allegro_hand_linux_v4.git linux-project v4]
 
cd allegro_hand_linux
 
mkdir build
 
cd build
 
cmake ..
 
make
 
make install
 
 
2. Connect PCAN-USB and Allegro Hand (make sure to power off Allegro Hand)
 
 
3. Start the grasping program: "grasp"
 
./bin/grasp
 
 
4. Power on Allegro Hand.
 
 
5. Use keyboard command to move Allegro Hand!!!!
 
*[[BHand library API]]
 

Revision as of 18:24, 3 July 2019





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