项目作者: eborghi10

项目描述 :
Dockerfiles with ROS and Gazebo
高级语言: Dockerfile
项目地址: git://github.com/eborghi10/gazebo_ros_docker.git
创建时间: 2019-04-29T02:24:26Z
项目社区:https://github.com/eborghi10/gazebo_ros_docker

开源协议:

下载


Dockers: ROS + Gazebo

Available Dockers

  • ROS 1 (Melodic release only) + Gazebo 9
  • ROS 2 + Gazebo 9

Generate docker image

  1. ./build

Optional arguments

  • [-r1|--ros1]: select ROS 1 version (melodic). Enabled by default.
  • [-r2|--ros2]: select ROS 2 version.
  • [-g|--gazebo]: select Gazebo version. Only Gazebo 9 is supported for ROS 2.

Examples

ROS 1 Melodic + Gazebo 11

  1. ./build --gazebo 11

ROS 2 Eloquent + Gazebo 9

  1. ./build --ros2 eloquent

Run docker image

  1. ./run

Optional arguments

  • [-r1|--ros1]: select ROS 1 version (melodic). Enabled by default.
  • [-r2|--ros2]: select ROS 2 version.
  • [-c|--cmd]: run command (default is bash). tmux can be used too.
  • [-ws|--workspace]: select workspace to be mounted from the host.

Note: You don’t need to specify the Gazebo version.

Examples

ROS 1 Melodic + Gazebo 11

  1. ./run --cmd tmux

ROS 2 Eloquent + Gazebo 9

  1. ./run --ros2 eloquent -ws "/home/my_user/my_colcon_ws"

IMPORTANT

  • You need to have installed nvidia-docker2 in your machine in order to make it work ONLY if you have an Nvidia GPU.