SOLA
Loading...
Searching...
No Matches
request.h
1// Copyright 2023 The SOLA authors
2//
3// This file is part of DAISI.
4//
5// DAISI is free software: you can redistribute it and/or modify it under the terms of the GNU
6// General Public License as published by the Free Software Foundation; version 2.
7//
8// DAISI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
9// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10// Public License for more details.
11//
12// You should have received a copy of the GNU General Public License along with DAISI. If not, see
13// <https://www.gnu.org/licenses/>.
14//
15// SPDX-License-Identifier: GPL-2.0-only
16
17#ifndef DAISI_PATH_PLANNING_CONSENSUS_CENTRAL_MESSAGE_REQUEST_H_
18#define DAISI_PATH_PLANNING_CONSENSUS_CENTRAL_MESSAGE_REQUEST_H_
19
20#include <cstdint>
21#include <tuple>
22#include <vector>
23
24#include "solanet/serializer/serialize.h"
25
26namespace daisi::path_planning::consensus {
28struct Request {
30 uint32_t request_id;
32 std::vector<std::tuple<float, float, double>>
35};
36} // namespace daisi::path_planning::consensus
37
38#endif // DAISI_PATH_PLANNING_CONSENSUS_CENTRAL_MESSAGE_REQUEST_H_
Request message from a pickup station to the central server.
Definition request.h:28
std::vector< std::tuple< float, float, double > > intersection_times
Definition request.h:33
uint64_t earliest_possible_start_ms
Earliest possible time at which the AGV can start.
Definition request.h:31
uint32_t request_id
Per station unique request id to match requests and responses.
Definition request.h:30