git clone https://github.com/microsoft/vcpkg ./vcpkg/bootstrap-vcpkg.sh ./vcpkg/vcpkg install miru-config-client
#include "miru/config-client.h"
Option 1: SDK Key
auto client = miru::ConfigClient::createWithSDKKey( "<your-sdk-key>", "<your-client-id>" );
Option 2: Certificate
auto client = miru::ConfigClient::createWithCertificate( "./path/to/ca.pem", "./path/to/cert.pem", "./path/to/key.pem", );
Option 1: Write the config to the filesystem
client->writeConfig( "motion-control-config", "./path/to/config/schema.yaml", "./path/to/place/config.yaml" );
Option 2: Get the config as a struct
auto motion_control_config = client->getConfig( "motion-control-config", "./path/to/config/schema.yaml" );