| 1 | = Ubuntu 20.04, low-latency, non-realtime = |
| 2 | |
| 3 | Start by [https://releases.ubuntu.com/20.04/ installing Ubuntu 20.04]. |
| 4 | |
| 5 | Install Peak CAN card hardware (but do not install a driver, yet): |
| 6 | * PCAN-PCI |
| 7 | * PCAN-PCIe |
| 8 | * PCAN-USB |
| 9 | * PCAN-ISA |
| 10 | |
| 11 | Then install git: |
| 12 | {{{ |
| 13 | sudo apt install git |
| 14 | }}} |
| 15 | |
| 16 | Download the libbarrett source code: |
| 17 | {{{ |
| 18 | cd && git clone -b feature/ubuntu2004 https://git.barrett.com/software/libbarrett |
| 19 | }}} |
| 20 | |
| 21 | Install the libbarrett software dependencies and scripts. This will replace the standard kernel with one compiled for low interrupt latency. This scripts also installs the Peak PCAN driver: |
| 22 | {{{ |
| 23 | cd ~/libbarrett/scripts && ./install_dependencies.sh |
| 24 | }}} |
| 25 | |
| 26 | Compile libbarrett: |
| 27 | {{{ |
| 28 | cd ~/libbarrett && cmake . |
| 29 | make -j$(nproc) |
| 30 | }}} |
| 31 | |
| 32 | Install libbarrett: |
| 33 | {{{ |
| 34 | sudo make install |
| 35 | }}} |
| 36 | |
| 37 | Compile libbarrett example programs: |
| 38 | {{{ |
| 39 | cd ~/libbarrett/examples && cmake . |
| 40 | make -j$(nproc) |
| 41 | }}} |
| 42 | |
| 43 | = Installing ROS = |
| 44 | If your application is based on ROS, you can continue by installing our ROS package: |
| 45 | |
| 46 | {{{ |
| 47 | blah |
| 48 | }}} |