1 Star 0 Fork 0

swjtuyang/ros-realsense-d400-snap-pkg

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
generate_snap.sh 603 Bytes
一键复制 编辑 原始数据 按行查看 历史
stevemacenski 提交于 2018-07-26 15:57 . compiling with POSIX shell
#!/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 ../
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/swjtuyang/ros-realsense-d400-snap-pkg.git
git@gitee.com:swjtuyang/ros-realsense-d400-snap-pkg.git
swjtuyang
ros-realsense-d400-snap-pkg
ros-realsense-d400-snap-pkg
main

搜索帮助