Skip to content

kas-lab/metacontrol_knowrob

Repository files navigation

Docker Tests

metacontrol_knowrob

Metacontrol implementation with the KnowRob framework

Clone

cd ~/
git clone git@github.com:kas-lab/metacontrol_knowrob.git

Running it

In one terminal:

cd ~/metacontrol_knowrob/
docker-compose up

In another terminal:

docker run -it --rm --net knowrob_network --env ROS_MASTER_URI=http://knowrob:11311 ghcr.io/kas-lab/metacontrol_knowrob:main rosrun metacontrol_knowrob metacontrol.py

Run tests

In one terminal:

cd ~/metacontrol_knowrob/
docker-compose up

In another terminal:

docker run -it --rm --net knowrob_network --env ROS_MASTER_URI=http://knowrob:11311 ghcr.io/kas-lab/metacontrol_knowrob:main python -m pytest src/metacontrol_knowrob/test/rules/test_rules.py

Build docker image locally

In one terminal:

cd ~/metacontrol_knowrob/
docker build -t metacontrol_knowrob .

Then use the metacontrol_knowrob image instead of ghcr.io/kas-lab/metacontrol_knowrob:main