Skip to content
/ rai Public
forked from MarcToussaint/rai

Robotic AI bare code. This is designed as shared submodule of other projects. Try other repos that expose clearer interfaces (rai-python, robotics-course) first.

License

Notifications You must be signed in to change notification settings

squarra/rai

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAI bare code

This repo contains core sources related to Robotics & AI. Users are not recommended to use this repo alone. Please have a look at example projects that use this bare code as a submodule and expose and explain some subset of functionalities. Esp. the robotic python lib, which now co-installs C++ headers and a compiled shared lib.

'bare code' means that this repo contains only sources, a minimal Ubuntu-specific build system, and development tests. It is mostly used as submodule in other integrated projects, with their own out-of-source build system.

Brief history

Parts of the code have there origin at around 2004 (Edinburgh). The code grew over the years to a large repo with many projects from all lab members, but a somewhat consistent scope of code shared between projects. This repo includes a selection of the code shared between projects and contains a set of representations and methods for Robotics, ML and AI. As the functionality is diverse I don't even try to explain.

Repos wrapping rai:

Documentation

The there is no proper documentation of the full rai code. I recommend starting with

Building

git clone [email protected]:squarra/rai.git
cmake -B build
cmake --build build -j 6

Running tests

  • gnuplot is required (sudo dnf install gnuplot)
  • rai-robotModels is required next to where you cloned this repo
  • shapenet data is going to be required for the shapenet tests
  • there are some hardcoded paths to other repos which I could not find online
cmake -B build -DBUILD_TESTS=ON
cmake --build build -j 6
cd build
ctest # run all tests
ctest -R test_name # run a specific test

On Fedora I have to change my XDG_SESSION_TYPE

XDG_SESSION_TYPE=x11 ctest

Other

Format the Makefile

cmake-format -i --line-width 120 CMakeLists.txt 

About

Robotic AI bare code. This is designed as shared submodule of other projects. Try other repos that expose clearer interfaces (rai-python, robotics-course) first.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 79.8%
  • C 17.5%
  • Jupyter Notebook 0.9%
  • GAP 0.7%
  • SWIG 0.3%
  • Python 0.2%
  • Other 0.6%