Install Ros(Melodic)

Installing from source

sudo dnf install gcc-c++ python-rosdep python3-rosinstall_generator python-wstool python-rosinstall @buildsys-build python2-empy gtest-devel console-bridge-devel poco-devel

sudo pip install -U rosdep rosinstall_generator wstool rosinstall
sudo pip install --upgrade setuptools
sudo rosdep-2.7 init
rosdep-2.7 update
# sudo dnf remove python3-rosinstall_generator
sudo dnf install python2-rosinstall_generator python2-wstool cmake
rosinstall_generator-2.7 desktop_full --rosdistro melodic --deps --tar > melodic-desktop-full.rosinstall
wstool init -j8 src melodic-desktop-full.rosinstall
rosinstall_generator-2.7 navigation --rosdistro melodic --deps --wet-only --tar > melodic-navigation.rosinstall
rosinstall_generator-2.7 ar_track_alvar --rosdistro melodic --deps --wet-only --tar > melodic-ar_track_alvar.rosinstall
wstool merge -t src melodic-navigation.rosinstall
wstool merge -t src melodic-ar_track_alvar.rosinstall
cd src
git clone https://git.fawkesrobotics.org/fawkes_msgs.git
cd ..
wstool update -t src
./src/catkin/bin/catkin_make_isolated --install --install-space=/opt/ros/melodic \
  -DCMAKE_BUILD_TYPE=Release -DENABLE_PRECOMPILED_HEADERS=OFF

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*