RAPP Platform Wiki  v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
 All Files Pages
? NOTE: Under development!

If you do not want to setup / install the RAPP Platform, or even use the ready-to-deploy ova file we provide, but you want to use some of its functionalities, you can do so by invoking the RAPP Platform services in our already deployed instance.

The IP address of this instance is 155.207.19.229 and you can invoke any HOP service using the following url:

155.207.19.229:9001/hop/HOP_SRV_NAME

You can find the HOP service names here. Also since we use authentication you must set a RAPP Platform application token if you want to utilize the RAPP Platform API.

Below are examples of calling deployed services, using curl cli (note that the token is passed as header parameter in the call - in the API case this is done automatically):

ontology_subclasses_of

```bash curl -X POST -d 'json={"ontology_class":"Oven", "recursive": true}' -H "Accept-Token:rapp_token" 155.207.19.229:9001/hop/ontology_subclasses_of ```

will respond with

```http {"results":["http://knowrob.org/kb/knowrob.owl#Oven","http://knowrob.org/kb/knowrob.owl#MicrowaveOven","http://knowrob.org/kb/knowrob.owl#RegularOven","http://knowrob.org/kb/knowrob.owl#ToasterOven"],"error":""} ```

face_detection

```bash curl -v -X POST -F "json={"fast"=true}" -F "file=@lenna.jpg" -H "Accept-Token:rapp_token" 155.207.19.229:9001/hop/face_detection ```

will respond with

```http {"faces":[{"up_left_point":{"x":95.0,"y":89.0},"down_right_point":{"x":171.0,"y":165.0}}],"error":""} ```

You might have to read these specifications on how to do valid POST requests to the Web Services