DRIVE (C++)#

DriveResponse invertedai::drive(DriveRequest &drive_request, Session *session)#

class DriveRequest#

Public Functions

DriveRequest(const std::string &body_str)#
std::string body_str()#
void update(const InitializeResponse &init_res)#
void update(const DriveResponse &drive_res)#
std::string location() const#
std::vector<AgentState> agent_states() const#
std::vector<AgentAttributes> agent_attributes() const#
std::vector<TrafficLightState> traffic_lights_states() const#
std::vector<std::vector<double>> recurrent_states() const#
bool get_birdview() const#
bool get_infractions() const#
int random_seed() const#
void set_location(const std::string &location)#
void set_agent_states(const std::vector<AgentState> &agent_states)#
void set_agent_attributes(const std::vector<AgentAttributes> &agent_attributes)#
void set_traffic_lights_states(const std::vector<TrafficLightState> &traffic_lights_states)#
void set_recurrent_states(const std::vector<std::vector<double>> &recurrent_states)#
void set_get_birdview(bool get_birdview)#
void set_get_infractions(bool get_infractions)#
void set_random_seed(int random_seed)#
class DriveResponse#

Public Functions

DriveResponse(const std::string &body_str)#
std::string body_str()#
std::vector<AgentState> agent_states() const#
std::vector<bool> is_inside_supported_area() const#
std::vector<std::vector<double>> recurrent_states() const#
std::vector<unsigned char> birdview() const#
std::vector<InfractionIndicator> infraction_indicators() const#
void set_agent_states(const std::vector<AgentState> &agent_states)#
void set_is_inside_supported_area(const std::vector<bool> &is_inside_supported_area)#
void set_recurrent_states(const std::vector<std::vector<double>> &recurrent_states)#
void set_birdview(const std::vector<unsigned char> &birdview)#
void set_infraction_indicators(const std::vector<InfractionIndicator> &infraction_indicators)#