MARSIM仿真平台部署安装及FUEL部署-Ubuntu20.04

注意

看了作者链接发现不能复制,原因可能是缺少公钥,需要添加

参考

bash 复制代码
https://blog.csdn.net/Liumy93/article/details/130158527?fromshare=blogdetail&sharetype=blogdetail&sharerId=130158527&sharerefer=PC&sharesource=m0_56093217&sharefrom=from_link

安装步骤流程

bash 复制代码
sudo apt-get install libglfw3-dev libglew-dev
bash 复制代码
mkdir -p marsim_ws/src
cd marsim_ws/src
git clone -b ubuntu20 https://github.com/hku-mars/MARSIM.git
cd ..
catkin_make

成功后截图

运行效果

bash 复制代码
source devel/setup.bash
roslaunch test_interface single_drone_avia.launch
bash 复制代码
source devel/setup.bash
roslaunch test_interface single_drone_mid360_dynobs.launch
bash 复制代码
source devel/setup.bash
roslaunch exploration_manager exploration.launch

这里发现Fuel需要安装现在需要安装

bash 复制代码
git clone -b v2.7.1 https://github.com/stevengj/nlopt.git
cd nlopt
mkdir build
cd build
cmake ..
make
sudo make install
bash 复制代码
sudo apt-get install libarmadillo-dev
bash 复制代码
cd ${YOUR_WORKSPACE_PATH}/src
git clone git@github.com:HKUST-Aerial-Robotics/FUEL.git
cd ../ 
catkin_make

换成

bash 复制代码
git clone https://github.com/HKUST-Aerial-Robotics/FUEL.git
bash 复制代码
source devel/setup.bash && roslaunch exploration_manager rviz.launch
bash 复制代码
source devel/setup.bash && roslaunch exploration_manager exploration.launch

发现MARSIM和FUEL放在一个工作空间了冲突,无法运行

bash 复制代码
mkdir -p ~/fuel_ws/src
cd ~/fuel_ws/src
# 放 FUEL
mv ~/marsim_ws/src/FUEL .
cd ..
catkin_make

现在运行了发现是这样的
再试一下:

在FUEL里面改动:

发现如果要改动:

map_generator/resource文件夹添加点云图片

simulator.xml里面修改

bash 复制代码
  <!-- Change office.pcd to specify the exploration environment -->
  <!-- We provide office.pcd, office2.pcd, office3.pcd and pillar.pcd in this repo -->
  <node pkg ="map_generator" name ="map_pub" type ="map_pub" output = "screen" args="$(find map_generator)/resource/office.pcd"/>    

exploration.launch里面增加:

bash 复制代码
    <arg name="box_min_x" value="-10.0"/>
    <arg name="box_min_y" value="-15.0"/>
    <arg name="box_min_z" value=" 0.0"/>
    <arg name="box_max_x" value="10.0"/>
    <arg name="box_max_y" value="15.0"/>
    <arg name="box_max_z" value=" 2.0"/>

怎么创建一个点云环境教程

bash 复制代码
  rosrun map_generator click_map

保存

bash 复制代码
  rosrun map_generator map_recorder ~/

发现是自己问题,不是断开运行的

开终端运行

bash 复制代码
source devel/setup.bash && roslaunch exploration_manager rviz.launch

再开终端运行

bash 复制代码
source devel/setup.bash && roslaunch exploration_manager exploration.launch
相关推荐
神筆&『馬良』13 小时前
Foundation_pose在自己的物体上复现指南:实现任意物体6D位姿检测(利用realsense_D435i和iphone_16pro手机)
目标检测·ubuntu·机器人·视觉检测
liuniu081814 小时前
VMware虚拟机安装ubuntu2022
ubuntu·ros
xfddlm16 小时前
边缘计算_ubuntu环境下使用瑞芯微RK3576NPU推理LLM
人工智能·ubuntu·边缘计算
EHagSJVNpTY16 小时前
MATLAB 中基于最大重叠离散小波变换的心电信号处理探索
ubuntu
.小墨迹17 小时前
apollo学习之借道超车的速度规划
linux·c++·学习·算法·ubuntu
技术路上的探险家18 小时前
Ubuntu下Docker与NVIDIA Container Toolkit完整安装教程(含国内源适配)
linux·ubuntu·docker
无证驾驶梁嗖嗖19 小时前
用Plex打造随身私人影院告别影音杂乱,必须加上cpolar突破地域限制!
ubuntu
Sheep Shaun19 小时前
揭开Linux的隐藏约定:你的第一个文件描述符为什么是3?
linux·服务器·ubuntu·文件系统·缓冲区
生活很暖很治愈19 小时前
Linux——环境变量PATH
linux·ubuntu
予枫的编程笔记20 小时前
【Linux入门篇】Ubuntu和CentOS包管理不一样?apt与yum对比实操,看完再也不混淆
linux·人工智能·ubuntu·centos·linux包管理·linux新手教程·rpm离线安装