当前位置:   article > 正文

uuv simulator 安装

uuv simulator

参考:Installation - Unmanned Underwater Vehicle Simulator Documentation

uuv_simulator软件包目前已针对kineticlunar和发布melodic。要安装所有软件包,请运行

sudo apt install ros-kinetic-uuv-simulator
sudo apt install ros-lunar-uuv-simulator
sudo apt install ros-melodic-uuv-simulator

对于20.04系统,则不能用这个方法。下面介绍ubuntu20.04系统下uuv simulator的安装方法。

1、首先创建ROS工作区:

  1. source /opt/ros/noetic/setup.bash
  2. mkdir -p ~/catkin_ws/src
  3. cd ~/catkin_ws/
  4. catkin_make

2、下载uuv simulator

  1. cd ~/catkin_ws/src
  2. git clone --branch noetic https://github.com/arturmiller/uuv_simulator.git

3、source然后编译

  1. source /opt/ros/noetic/setup.bash
  2. cd ~/catkin_ws
  3. catkin_make

4、更新~/.bashrc文件

  1. echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
  2. source ~/.bashrc

现在已经安装完毕,接下来输入命令进行测试

roslaunch uuv_gazebo_worlds empty_underwater_world.launch

启动空的水下环境,成功~

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/390846
推荐阅读
相关标签
  

闽ICP备14008679号