It's a sheep, it's a dolly, it's a following robot. Clone Dolly now!
Packages for launching Dolly demo, which uses Gazebo and ROS 2.
Dolly has been tested on:
- ROS 2 version:
- ROS Crystal:
crystal
branch - ROS Dashing:
master
branch
- ROS Crystal:
- Operating system:
- Ubuntu Bionic
- OSX Sierra (thanks, @Karsten1987 !)
Install instructions for Ubuntu Bionic.
-
Install the appropriate ROS 2 version as instructed here.
-
Install
gazebo_ros_pkgs
, which also installs Gazebo. Substitute<distro>
withcrystal
ordashing
:sudo apt install ros-<distro>-gazebo-ros-pkgs
-
Clone Dolly:
mkdir -p ~/ws/src cd ~/ws/src git clone https://github.com/chapulina/dolly
-
Build and install:
cd ~/ws colcon build
-
Setup environment variables (the order is important):
. /usr/share/gazebo/setup.sh . ~/ws/install/setup.bash
-
Launch Dolly in a city (this will take some time to download models):
ros2 launch dolly_gazebo dolly.launch.py world:=dolly_city.world
-
Launch Dolly in an empty world:
ros2 launch dolly_gazebo dolly.launch.py world:=dolly_empty.world
This repository contains 2 packages:
dolly
: Metapackage which provides all other packages.dolly_follow
: Provides node with follow logic.dolly_gazebo
: Robot model, simulation world and launch scripts.
- Make Dolly's model available to RViz