您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

35 行
1.5 KiB

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# ros_tcp_endpoint repository https://github.com/Unity-Technologies/ROS-TCP-Endpoint.git
cd $DIR/ROS/src
git clone -b main https://github.com/Unity-Technologies/ROS-TCP-Endpoint.git ros_tcp_endpoint
# moveit_msgs repository https://github.com/ros-planning/moveit_msgs.git
cd $DIR/ROS/src
git clone https://github.com/ros-planning/moveit_msgs.git
# Robotiq repository https://github.com/ros-industrial/robotiq.git
git init $DIR/ROS/src/robotiq
cd $DIR/ROS/src/robotiq
git remote add origin https://github.com/ros-industrial/robotiq.git
git config core.sparseCheckout true
echo "robotiq_2f_140_gripper_visualization/*" >> .git/info/sparse-checkout
echo "LICENSE" >> .git/info/sparse-checkout
echo ".gitignore" >> .git/info/sparse-checkout
echo "CONTRIBUTING.md" >> .git/info/sparse-checkout
echo ".travis.yml" >> .git/info/sparse-checkout
git pull --depth=1 origin kinetic-devel
# Universal Robot repository https://github.com/ros-industrial/universal_robot
git init $DIR/ROS/src/universal_robot
cd $DIR/ROS/src/universal_robot
git remote add origin https://github.com/ros-industrial/universal_robot
git config core.sparseCheckout true
echo "ur_description/*" >> .git/info/sparse-checkout
echo "ur_gazebo/*" >> .git/info/sparse-checkout
echo ".gitignore" >> .git/info/sparse-checkout
echo "CONTRIBUTING.md" >> .git/info/sparse-checkout
echo ".travis.yml" >> .git/info/sparse-checkout
git pull --depth=1 origin melodic-devel