Installing Moose Software


To get started with the Moose, make sure you have a working ROS installation set up on your computer. The physical Moose robot comes ROS pre-configured, but if you are working on your own computer you may need to follow the instructions on the ROS wiki to get set up.

Add Clearpath Debian Package Repository

Before you can install the Moose packages, you need to configure Ubuntu’s APT package manager to add Clearpath’s package server. You can do this by running the following commands in the terminal:

  1. First install the authentication key for the repository:

wget -O - | sudo apt-key add -
  1. Add the debian sources for the repository:

sudo sh -c 'echo "deb $(lsb_release -cs) main" > /etc/apt/sources.list.d/clearpath-latest.list'
  1. Update your computer’s package cache:

sudo apt-get update

Installing the Packages

Now that your computer is configured to use Clearpath’s deb repository, you can install the Moose packages needed for this tutorial by running the following command:

sudo apt-get install ros-melodic-moose-desktop

Installing from Source

The source code for the base Moose packages is available on GitHub. We recommend installing the software through apt, as described above. But if you want to modify Moose’s behaviour, or simply learn more about how the robot is configured, you can check out and build the packages yourself. These instructions assume you are at least somewhat familiar with building ROS packages using the Catkin build system.

First create a workspace directory and initialize it:

mkdir ~/moose_ws
cd ~/moose_ws
mkdir src
catkin_init_workspace src

Next clone the Moose repositories using git:

cd ~/moose_ws/src
git clone
git clone
git clone

Note that there are three separate git repositories being cloned:

Git repository

ROS Packages



  • moose_control

  • moose_description

  • moose_msgs

Common packages for the Moose platform, including messages and robot description. These packages are relevant to all workspaces, including simulation, desktop, or use on the robot itself.


  • moose_gazebo

  • moose_simulator

Packages essential for running moose simulations. Requires the packages from the moose repository.


  • moose_desktop

  • moose_viz

Packages for controlling & monitoring the physical robot and/or simulation. Requires the packages from the moose repository

Now install additional ROS dependencies:

cd ~/moose_ws
rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y

Finally build the workspace:

cd ~/moose_ws

You can now source your workspace’s in order to make use of the packages you just built:

cd ~/moose_ws
source devel/setup.bash

To test that everything worked, try running the Moose simulation that we’ll be using in the next portion of this tutorial:

roslaunch moose_gazebo moose_world.launch