Common (C++)#

class Session#

Public Functions

inline explicit Session(net::io_context &ioc, ssl::context &ctx)#
void set_api_key(const std::string &api_key)#
void connect()#
void shutdown()#
const std::string request(const std::string &mode, const std::string &body_str, const std::string &url_params)#

Public Members

const char *host_ = "api.inverted.ai"#
const char *port_ = "443"#
const int version_ = 11#

struct AgentState#

Public Members

double x#
double y#
double orientation#
double speed#
struct AgentAttributes#

Public Members

double length#
double width#
double rear_axis_offset#
struct TrafficLightState#

Public Members

std::string id#
std::string value#
struct InfractionIndicator#

Public Members

bool collisions#
bool offroad#
bool wrong_way#
struct StaticMapActor#

Public Members

int actor_id#
int agent_type#
double x#
double y#
double orientation#
double length#
double width#
int dependant#
struct Point2d#

Public Members

double x#
double y#