1 Star 0 Fork 1

Peixuan Shu/minigc

forked from 北航集智飞行/minigc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install_dependencies.sh 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
Peixuan Shu 提交于 2024-03-14 12:59 . update install script
#!/bin/sh
# Exit immediately if a command exits with a non-zero status.
set -e
cd ~
# If you use Ubuntu20 and have ROS noetic installed, then tkinter and ROS lib are well installed.
# If you use Ubuntu18 and ROS melodic, whose default python version is 2 rather than 3. Execute the following commands:
sudo apt install python3-pip -y # pip3
sudo apt install python3-tk -y # python3 tkinter
pip3 install rospkg # ros python3 lib
# Install python lib
pip3 install pyyaml
# Install vrpn # change 'noetic' into 'melodic' for ubuntu18:
sudo apt install -y ros-noetic-vrpn-client-ros
# Install mavros # change 'noetic' into 'melodic' for ubuntu18:
sudo apt install ros-noetic-mavros ros-noetic-mavros-extras -y
wget https://gitee.com/shu-peixuan/ros-install-command/raw/c9865c748045a0cce0173fcfcb95729784bd31e5/install_geographiclib_datasets.sh
sudo chmod a+x ./install_geographiclib_datasets.sh
sudo ./install_geographiclib_datasets.sh # this step takes some time
rm install_geographiclib_datasets.sh
# If you use UWB for positioning, then you should build `nlink_parser` (https://www.nooploop.com/download) ROS package for nooploop UWB module:
cd ~
mkdir -p nlink_parser_ws/src
cd nlink_parser_ws/src
git clone --recursive https://gitee.com/shu-peixuan/nlink_parser.git
cd ../
catkin_make
catkin_make
echo "source ~/nlink_parser_ws/devel/setup.bash" >> ~/.bashrc
# If you use want to use 3d view or simulation, then you must build `swarm_sync_sim` (https://gitee.com/bhswift/swarm_sync_sim.git):
sudo apt install ros-noetic-mavros ros-noetic-mavros-extras ros-noetic-robot-state-publisher -y
pip3 install PyQt5
cd ~
git clone https://gitee.com/bhswift/swarm_sync_sim.git
cd swarm_sync_sim/
catkin_make
echo "source ~/swarm_sync_sim/devel/setup.bash" >> ~/.bashrc
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shu-peixuan/minigc.git
[email protected]:shu-peixuan/minigc.git
shu-peixuan
minigc
minigc
master

搜索帮助