-
term$
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
Note: Here you are adding the ROS repos but not actually installing ROS -
term$
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
-
term$
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu
lsb_release -scmain" > /etc/apt/sources.list.d/ros-latest.list'
-
term$
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
-
term$
sudo apt update
-
term$
sudo apt install ros-melodic-moveit-core ros-melodic-moveit-kinematics ros-melodic-moveit-msgs ros-melodic-xacro rosbash ros-melodic-tf-conversions ros-melodic-roscpp ros-melodic-cmake-modules ros-melodic-trac-ik-kinematics-plugin python-catkin-tools liburdf0d liburdf-dev liburdfdom-headers-dev liborocos-kdl1.3 liborocos-kdl-dev libkdl-parser0d libkdl-parser-dev swig
-
term$
sudo apt install libeigen-stl-containers-dev libgeometric-shapes-dev
-
Download Eigen3: http://eigen.tuxfamily.org/index.php?title=Main_Page
(Then navigate to the director to where it was downloaded)- term$
mkdir build && cd $_
- term$
cmake ..
- term$
sudo make install
- term$
-
term$
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/melodic/lib' >> ~/.bashrc
-
term$
echo 'source /opt/ros/melodic/setup.bash' >> ~/.bashrc
-
term$
git clone --recurse-submodules https://github.com/correlllab/MoveIt_StandAlone.git
(This repo) -
term$
cd MoveIt_StandAlone
-
term$
cd MoveIt_StandAlone
-
term$
catkin build