struct PythonGrpcConfigConst

Overview

#include <python_grpc_config.h>

struct PythonGrpcConfigConst {
    // fields

    static constexpr char EngineType[] = "python_grpc";
    static constexpr char EngineSchema[] = "https://neurorobotics.net/engines/engine_python.json#/python_grpc";
    static constexpr std::string_view SimulationTimeRatio = "TimeRatio";
};

Detailed Documentation

Fields

static constexpr std::string_view SimulationTimeRatio = "TimeRatio"

Ratio used by SimulationTime.

The ratio should be passed to the server on initialization. In that way we can communicate to the server what time units are used in the simulation. This will impact the time step passed with runLoop command, as well as the simulation time returned.