代码拉取完成,页面将自动刷新
#!/bin/bash
# if shouldn't use snap master branch
if [ -z "$1" ]; then
branch=master
else
branch=$1
fi
# make workspace
mkdir -p snap_ws/src
cd snap_ws && catkin_init_workspace
cd src
# add all the necessary things to it
git clone -b 2.0.3-stable https://github.com/SteveMacenski/realsense.git
git clone -b v2.10.3 https://github.com/IntelRealSense/librealsense.git
git clone -b $branch https://github.com/SteveMacenski/ros-realsense-d400-snap-pkg.git
cd ../
# move snap and hooks to right place
cp -r src/ros-realsense-d400-snap-pkg/snap .
# build the snap
snapcraft
# go back to root
cd ../
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。