- Getting Started
- Aldebaran Nao
- Advanced Tutorials
The main concept of RAPP Platform is based on the cloud robotics concept. Currently, the RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots. The ROS nodes provide generic functionalities, such as Image processing, Audio processing, Speech-to-text and Text-to-speech, Ontology & Database operations, and other procedures.
Querying available services through the API with a
service controller is normally the first step.
However, before doing that we have to configure the parameters which are needed to connect to the platform:
It saves the parameters of the RAPP platform.
The parameters are the following:
- IP/domain: use an IP (e.g.,
18.104.22.168) or a domain (e.g.,
- Port: default port is
- Authentication token: needed to authorise access to the platform service
- Protocol: optional: you can choose between
httpsprotocols. Will default to HTTP.
In every application you create, you must define the platform endpoint, by creating a
platform object and using the parameters above.
Alternatively, you can use a
yaml configuration file and load the parameters from it.
It loads the parameters of the platform from a file.
Methods of the class
std::string rapp::config::load_auth_token(std::string filename): Return
tokenparameter from file.
rapp::cloud::platform rapp::config::load_yaml_config(std::string filename): Return a
platformvariable fill with
You can see an example in
To build the example, follow the next steps:
- Go to your project path (in our case
Build your project:
mkdir build cd build cmake .. make
- If build was succesful you will now have an executable
configin the folder
- Run your executable