ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The following solution worked for me on Ubuntu 16.04, trying to install the Clearpath Robotics ROS Kinetic Libraries.
Step 1 - Check the Sources List has Referenced to the ROS Packages
Within your sources.list
file, ensure you have deb http://packages.ros.org/ros/ubuntu xenial main
.
You can view your sources.list file using the command below in the terminal:
sudo nano /etc/apt/sources.list
If it's not in there, create a new line with the ROS address as above, and then save and exit.
Step 2 - Do a sudo apt-get-update
Bring in the new libraries by executing the following.
sudo apt-get update
At this point, my sudo apt-get update
failed, this was because I was missing a ROS Package Key that needed to be added.
If you do get an error, it may look like this:
W: GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654
W: The repository 'http://packages.ros.org/ros/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
If so, proceed to step 3.
Step 3 - Adding your ROS Key
In your terminal run the following command:
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
Step 4 - Run another sudo apt-get update
As the title suggests, run sudo apt-get update
.
Step 5 - Install ROS Kinetic for the Husky
sudo apt-get install ros-kinetic-husky-desktop
sudo apt-get install ros-kinetic-husky-simulator
This worked for me. Hope it works!