The SUTURO Knowledge stack is based on KnowRob, a knowledge processing system, which provides functionalities to represent knowledge and reasoning methods. We are using it to store, represent and infer rich information about the robots state and its environment.
Follow the installation guide to set up the SUTURO Knowledge system on your computer.
TODO: Provide updated installation guide
There is a number of README files formatted in markup description that are part of the SUTURO Knowledge repository. They document the organization of the knowledge modules, their different sub-components and what interfaces they provide.
The documentation is also deployed to the SUTURO Knowledge Website
-
Emacs
If you want to edit Prolog with Emacs, use the following command in in thesrc
directory:find -iname '*.pl' -exec etags --lang=prolog {} +
This will generate a TAGS file that Emacs can use to jump to the definition of a predicate.
You can also specify paths to be searched betweenfind
and-iname
.
The following for example indexes everything from the folder 3 levels up:find ../../.. -iname '*.pl' -exec etags --lang=prolog {} +
-
Visual Studio Code
Install theVSC-Prolog
extension to get syntax highlighting and code completion for Prolog in VS Code.
To run the (incomplete) unit tests defined in the varoius .plt
files, use
rosrun knowrob knowrob-test.sh suturo_knowledge
Instead of suturo_knowledge you can also use the absolute path to the file. For this $(pwd)
is helpful: rosrun knowrob knowrob-test.sh "$(pwd)"/shape_workaround.plt
.