Instructions for installing/upgrading the AutonomouStuff Binary Driver Pack.
AS Ubuntu Drivers Repository
sudo apt update && sudo apt install apt-transport-https
sudo sh -c 'echo "deb [trusted=yes] https://s3.amazonaws.com/autonomoustuff-repo/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/autonomoustuff-public.list'
sudo apt update
- Once you've updated apt, you can install any of the ROS binary drivers with:
sudo apt install ros-$ROS_DISTRO-<driver_name>
- Where
<driver_name>
is replaced with the ROS package name of the driver (e.g.delphi-esr
,mobileye-560-660
,neobotix-usboard, etc
).
- When you run
sudo apt update
andsudo apt upgrade
, new versions of the drivers will be downloaded and installed automatically. - The following command will install all available drivers from AutonomouStuff (see note below about kvaser_interface):
sudo apt install ros-$ROS_DISTRO-kvaser-interface ros-$ROS_DISTRO-delphi-esr ros-$ROS_DISTRO-delphi-srr ros-$ROS_DISTRO-kartech-linear-actuator ros-$ROS_DISTRO-mobileye-560-660 ros-$ROS_DISTRO-neobotix-usboard ros-$ROS_DISTRO-ibeo-lux ros-$ROS_DISTRO-ibeo-scala
- If PACMod is needed:
sudo apt-get install ros-$ROS_DISTRO-pacmod ros-$ROS_DISTRO-pacmod3 ros-$ROS_DISTRO-pacmod-game-control
Info | ||
---|---|---|
| ||
The |
Warning | ||
---|---|---|
| ||
The installation instructions below are provided only for historical purposes and for non-Ubuntu environments. The repository instructions above are highly preferred. |
Installation:
- Download and install Kvaser linuxcan (SDK) (NOTE: This step is only required on releases before v2.0.0 unless you plan to use Kvaser linuxcan instead of SocketCAN):
- Download from the Kvaser Downloads page.
- For Ubuntu 14.04 (Trusty Tahr), download version 5.14.0.
- For Ubuntu 16.04 (Xenial Xerus), download the latest version.
The file linuxcan.tar.gz should end up in your ~/Downloads directory. If you downloaded to another location, modify the commands below accordingly.
Code Block language bash theme Midnight linenumbers true cd /usr/src sudo mv ~/Downloads/linuxcan.tar.gz . sudo tar xvf linuxcan.tar.gz cd linuxcan sudo make sudo make install
If you have a Kvaser PCIe card, you will also need to do the following:
Code Block language bash theme Midnight linenumbers true gksudo gedit /etc/modules
Add
pciefd
on a new line at the end of this file then save and close.- Reboot your machine.
- Download from the Kvaser Downloads page.
- Download and install prerequisites and the Driver Pack.
The driver pack relies on the can_msgs package for underlying communication.
To download on Ubuntu 14.04: Note: may need to run out
Code Block language bash theme Midnight linenumbers true sudo apt-get install ros-indigo-can-msgs
To download on Ubuntu 16.04:
Code Block language bash theme Midnight linenumbers true sudo apt install ros-kinetic-can-msgs
- You will need to get the download link for the Driver Pack from AutonomouStuff support. If you have purchased hardware that requires an AutonomouStuff binary ROS driver and you did not receive the Binary Driver Pack, please contact support@autonomoustuff.com.
Once downloaded, it is assumed that the file will be in your ~/Downloads directory. If you downloaded to another location, modify the commands below accordingly.
Code Block language bash theme Midnight linenumbers true cd ~ mv ~/Downloads/as_drivers_*.tar.gz . tar xvf as_drivers_*.tar.gz
Source the new workspace:
Code Block language bash theme Midnight linenumbers true echo "source ~/as_drivers/install/setup.bash" >> ~/.bashrc source ~/.bashrc
- Configure other workspaces to work with the Driver Pack.
- If you have other ROS workspaces, you will need to make the as_drivers workspace the lowest level in your workspace chain. For more information on workspace chaining, see this article on the ROS Wiki.
...