Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

MOOS-IvP-ENSTABretagne Build Status


The moos-ivp-enstabretagne repository is an extension of the MOOS-IvP Autonomy system. This includes MOOS applications, IvP behaviors and mission files for autonomous vehicles of ENSTA Bretagne.

The following vehicles are equipped with this software:

  • Toutatis AUVs
  • Optical AUVs
  • ENSTA Bretagne's boat
  • AUV Saucisse NG


MOOSApp documentation is available by command line:

      Launch the MOOSApp with the given process name.
  --example, -e
      Display example MOOS configuration block.
  --help, -h
      Display this help message.
  --interface, -i
      Display MOOS publications and subscriptions.
      Display all information about the MOOSApp.

Complete documentation can also be found in doc/index.html. Click to access.

Directory Structure

The directory structure for the moos-ivp-enstabretagne is decribed below:

Item Description
bin Directory for generated executable files
build Directory for build object files Script for building moos-ivp-enstabretagne
CMakeLists.txt CMake configuration file for the project
data Directory for storing data
doc Directory for documentation files
lib Directory for generated library files
missions Directory for mission files
README The file you are reading!
scripts Directory for script files
src Directory for source code (app, lib)


MOOS-IvP (typically v14.7.1) is supposed to be installed. More information available on the official website.

Additional packages are required for building moos-ivp-enstabretagne:

sudo apt-get install libtinyxml2-dev libusb-1.0-0-dev mono-runtime libmono-winforms2.0-cil libv4l-dev libopencv-dev libboost1.55-dev libboost-system1.55-dev

Specific configuration is required for Pololu devices. In the project repository:

sudo cp scripts/99-pololu.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo adduser your_username dialout video

Be careful to change your_username.

Octomap is needed for the particle filter:

git clone ; cd octomap/octomap/ ; mkdir build ; cd build ; cmake .. ; sudo make install

If you clone the repository, either use:

git clone --recursive

or if you already cloned, use:

git submodule init ; git submodule update --recursive

Build Instructions

Linux and Mac Users

To build on Linux and Apple platforms, execute the build script within this directory:


To build without using the supplied script, execute the following commands within this directory:

mkdir -p build
cd build
cmake ../
cd ..

Windows Users

To build on Windows platform, open CMake using your favorite shortcut. Then set the source directory to be this directory and set the build directory to the build directory inside this directory.

The source directory is typically next to the question: Where is the source code?
The build directory is typically next to the question: Where to build the binaries?

Alternatively, CMake can be invoked via the command line. However, you must specify your generator. Use cmake --help for a list of generators and additional help.

Environment variables

The moos-ivp-enstabretagne binaries files should be added to your path to allow them to be launched from pAntler. Linux users can edit ~/.bashrc configuration file by adding at the end:

export PATH=$PATH:~/moos-ivp-enstabretagne/bin
export PATH=$PATH:~/moos-ivp-enstabretagne/scripts
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/moos-ivp-enstabretagne/lib

In order for generated IvP Behaviors to be recognized by the IvP Helm, you should add the library directory to the IVP_BEHAVIOR_DIRS environment variable.

New XML documentation is also available by command-line (e.g. typing uJoystick -e). This can work by specifying the MOOS_IVP_ENSTABRETAGNE_PATH environment variable (Linux users, update your ~/.bashrc). For instance:

export MOOS_IVP_ENSTABRETAGNE_PATH="/home/your_username/moos-ivp-enstabretagne"

Linux users may need to run, in the current terminal:

source ~/.bashrc

Generate a new MOOS Application

Please use GenMOOSApp_ENSTABretagne script to generate an empty structure for your new MOOSApp. For instance:

cd ./src/app
GenMOOSApp_ENSTABretagne SimModem u "John Doe"

Do not forget to add your new application to the CMake configuration file: ./src/app/CMakeLists.txt and to update the main documentation page : ./doc/index.html.


To be defined.



ENSTA Bretagne's MOOS-IvP repository: an autonomy platform based on the MOOS middleware






No packages published