There are several ways of installing and using this software, based on your preferences:
- From ubuntu packages
- With Nix
- From source
Nix
Build
You can build this package with:
nix build .#state-observation
and its documentation with
nix build .#state-observation.doc
Develop
This package provides a nix flake. To get started, simply use
nix develop .#state-observation
to enter a developement shell with all dependencies available, then
mkdir build
cmake -B build $cmakeFlags
cmake --build build -j8
Ubuntu LTS (22.04, 24.04, 26.04)
You must first setup our package mirror:
curl -1sLf \
'https://dl.cloudsmith.io/public/mc-rtc/stable/setup.deb.sh' \
| sudo -E bash
You can also choose the head mirror which will have the latest version of this package:
curl -1sLf \
'https://dl.cloudsmith.io/public/mc-rtc/stable/setup.deb.sh' \
| sudo -E bash
You can then install the package:
sudo apt install libstate-observation-dev
# Install documentation
sudo apt install libstate-observation-doc
Manually build from source
To compile you need the following tools:
Building
git clone --recursive https://github.com/jrl-umi3218/state-observation
cd state-observation
mkdir build
cd build
cmake [options] ..
make && make intall