Table of Contents

Setting up remote access to Open Ease.

Things one needs to install

Open Ease and Knowrob.

Download knowrob_addons from the following source. If you already have some knowrob_addons, you need to replace them:

https://github.com/asilx/knowrob_addons

Same goes for the knowrob_robcog package:

https://github.com/andreihaidu/knowrob_robcog

Starting it


1. Manually shutdown mongo Server. Otherwise Open Ease won't start. In a terminal, type:

mongo 				;; starts the mongo console
use admin 			;; gives you admin rights
db.shutdownServer()	        ;; shuts down the db server

2. Start Open Ease by running the script. Navigate to the location of the script (usally /docker/scripts) and run:

./start-webrob

3. launch this:

roslaunch knowrob_roslog_launch knowrob.launch 

4. go to open ease in a browser. You should be here:

http://localhost/user/sign-in

Log in with your data or admin if it's your local Open Ease. After that it will jump back to localhost. Add /remote to it like this:

http://localhost/remote

Now you should be able to select an Episode, start Emacs, a rosnode within it, and ask some prolog quires.

Troubleshooting

- Mongo: If it doesn't work to access Open Ease from Emacs after this, you might need to remove the mongo_db. If you remove mongo data all the episode data will be gone. So be careful.

- Gradle: If gradle is complaining about not being able to find knowrob_robcog dependencies, it might be the case that your gradle cache was emptied. Either by you, or some software. If you are working with ros-indigo, you might need to set the $ROS_MAVEN_REPOSITORY to https://github.com/rosjava/rosjava_mvn_repo/raw/indigo instead of master, since a lot of dependencies got moved around an therefore might not be found anymore. (apache common, codec, etc…) Also make sure your Rosjava is sourced.