sudo apt-get install python3-wstool python3-catkin-tools protobuf-compiler autoconf
sudo apt-get install ros-noetic-cmake-modules
sudo apt-get install ros-noetic-image-proc
sudo apt-get install ros-noetic-depth-image-proc
# Setup catkin workspace
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin init
catkin config --extend /opt/ros/noetic # Change `melodic` to your ROS distro
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
catkin config --merge-devel
# Add workspace to bashrc.
echo 'source ~/catkin_ws/devel/setup.bash' >> ~/.bashrc
# Clone repo 选择了feature/noetic_fixes分支
cd ~/catkin_ws/src
git clone https://github.com/MIT-SPARK/Kimera-Semantics.git --branch feature/noetic_fixes
# Install dependencies from rosinstall file using wstool
wstool init # Use unless wstool is already initialized
# Optionally add Kimera-Semantics to the rosinstall file
# wstool scrape
# For ssh:
#wstool merge Kimera-Semantics/install/kimera_semantics_ssh.rosinstall
# For https: 选择了这个
wstool merge Kimera-Semantics/install/kimera_semantics_https.rosinstall
# Download and update all dependencies
wstool update
# Compile code
catkin build kimera_semantics_ros
# Refresh workspace
source ~/catkin_ws/devel/setup.bash
roscore
roslaunch kimera_semantics_ros kimera_semantics.launch play_bag:=true
rviz -d $(rospack find kimera_semantics_ros)/rviz/kimera_semantics_gt.rviz
原文地址:https://blog.csdn.net/qq_41746268/article/details/134668203
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.7code.cn/show_20630.html
如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱:suwngjj01@126.com进行投诉反馈,一经查实,立即删除!