diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..0dcfcdb41ace182180679e0bf62a2c6484e6392d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/.cproject +/.project diff --git a/install_wolf.sh b/install_wolf.sh index 2c6cc344ad5e7e680039fe2b9178311a768a977f..fed07e38edcedf9e6c0d3a8bf733c65347d0ba1e 100755 --- a/install_wolf.sh +++ b/install_wolf.sh @@ -18,6 +18,7 @@ fi RUN_PATH=$PWD # UBUNTU +sudo apt install -y lsb-core UBUNTU_DISTRO=$(lsb_release -rs); if [ $UBUNTU_DISTRO == "16.04" ]; then if [ $VERBOSE == "true" ]; then @@ -52,7 +53,8 @@ fi if [ $VERBOSE == "true" ]; then echo "Installing dependencies via apt install..." fi -sudo apt install -y dh-autoreconf cmake build-essential libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev git libboost-all-dev libyaml-cpp-dev wget unzip + +sudo apt install -y git wget unzip dh-autoreconf cmake build-essential libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev git libboost-all-dev libyaml-cpp-dev wget unzip # Eigen @@ -128,7 +130,7 @@ if [ $VERBOSE == "true" ]; then echo "Cloning wolf core..." fi cd $WOLF_PATH -git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git +git clone https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_lib/wolf.git cd wolf git pull @@ -160,7 +162,7 @@ if [ $INSTALL_IMU == "y" ]; then echo "Cloning plugin imu..." fi cd $WOLF_PATH - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/imu.git + git clone https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_lib/plugins/imu.git cd imu git pull @@ -196,7 +198,7 @@ if [ $INSTALL_GNSS == "y" ]; then echo "Installing plugin gnss dependencies..." fi cd $DEPS_PATH - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/gauss_project/gnss_utils.git + git clone https://gitlab.iri.upc.edu/mobile_robotics/gauss_project/gnss_utils.git cd gnss_utils git submodule update --init mkdir -p build && cd build @@ -209,7 +211,7 @@ if [ $INSTALL_GNSS == "y" ]; then echo "Cloning plugin gnss..." fi cd $WOLF_PATH - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/gnss.git + git clone https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_lib/plugins/gnss.git cd gnss git pull @@ -286,7 +288,7 @@ if [ $INSTALL_LASER == "y" ]; then fi cd $DEPS_PATH sudo ldconfig - git clone ssh://git@gitlab.iri.upc.edu:2202/labrobotica/algorithms/laser_scan_utils.git + git clone https://gitlab.iri.upc.edu/labrobotica/algorithms/laser_scan_utils.git cd laser_scan_utils mkdir -p build && cd build cmake -DCMAKE_BUILD_TYPE=Release .. @@ -300,7 +302,7 @@ if [ $INSTALL_LASER == "y" ]; then fi cd $WOLF_PATH sudo ldconfig - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/laser.git + git clone https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_lib/plugins/laser.git cd laser git pull @@ -357,7 +359,7 @@ if [ $INSTALL_VISION == "y" ]; then echo "Cloning plugin vision..." fi cd $WOLF_PATH - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/vision.git + git clone https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_lib/plugins/vision.git cd vision git pull @@ -406,7 +408,7 @@ if [ $INSTALL_VISION == "y" ]; then echo "Cloning plugin apriltag..." fi cd $WOLF_PATH - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/apriltag.git + git clone https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_lib/plugins/apriltag.git cd apriltag git pull @@ -448,7 +450,7 @@ if [ $INSTALL_IMU == "y" ]; then echo "Cloning plugin bodydynamics..." fi cd $WOLF_PATH - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/bodydynamics.git + git clone https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_lib/plugins/bodydynamics.git cd bodydynamics git pull