Instructions for installing/upgrading the AutonomouStuff Binary Driver Pack.
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
sudo apt install ros-$ROS_DISTRO-<driver_name>
<driver_name>
is replaced with the ROS package name of the driver (e.g. delphi-esr
, mobileye-560-660
, neobotix-usboard, etc
).sudo apt update
and sudo apt upgrade
, new versions of the drivers will be downloaded and installed automatically.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
sudo apt-get install ros-$ROS_DISTRO-pacmod ros-$ROS_DISTRO-pacmod3 ros-$ROS_DISTRO-pacmod-game-control
The |
The installation instructions below are provided only for historical purposes and for non-Ubuntu environments. The repository instructions above are highly preferred. |
The file linuxcan.tar.gz should end up in your ~/Downloads directory. If you downloaded to another location, modify the commands below accordingly.
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:
gksudo gedit /etc/modules |
Add pciefd
on a new line at the end of this file then save and close.
The driver pack relies on the can_msgs package for underlying communication.
To download on Ubuntu 14.04: Note: may need to run out
sudo apt-get install ros-indigo-can-msgs |
To download on Ubuntu 16.04:
sudo apt install ros-kinetic-can-msgs |
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.
cd ~ mv ~/Downloads/as_drivers_*.tar.gz . tar xvf as_drivers_*.tar.gz |
Source the new workspace:
echo "source ~/as_drivers/install/setup.bash" >> ~/.bashrc source ~/.bashrc |
Note: Do not catkin_make or catkin build this workspace once installed. This will remove all of the binary drivers from the workspace and only build the open-source packages into the install space. |
Upgrading your driver pack is very similar to first-time installation but with fewer steps. First you will need to remove the existing workspace to avoid conflicts:
cd ~ rm -rf as_drivers/ |
Note: Do not catkin_make or catkin build this workspace once installed. This will remove all of the binary drivers from the workspace and only build the open-source packages into the install space. |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|