31 std::shared_ptr<PathPlanningLoggerNs3> logger);
37 void findConsensusImpl(
const PointTimePairs &points,
double seconds_earliest_start,
38 std::function<
void(uint32_t,
double)> success_cb,
39 std::function<
void(uint32_t)> fail_cb);
40 void recvTopicMessageImpl(
const std::string &topic,
const std::string &msg);
48 std::unique_ptr<solanet::Network>
52 std::shared_ptr<PathPlanningLoggerNs3> logger_;
54 uint32_t next_request_id_ = 0;
57 struct CurrentRequest {
59 std::function<void(uint32_t,
double)> success_cb;
60 std::function<void(uint32_t)> fail_cb;
61 std::vector<std::tuple<float, float, double>> intersection_times;
64 std::unordered_map<uint32_t, CurrentRequest>