SOLA
Loading...
Searching...
No Matches
amr_order.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_CPPS_AMR_PHYSICAL_AMR_ORDER_H_
18#define DAISI_CPPS_AMR_PHYSICAL_AMR_ORDER_H_
19
20#include "cpps/model/order_states.h"
21#include "utils/structure_helpers.h"
22
23namespace daisi::cpps {
24struct AmrOrder {
25 AmrOrder() = default;
26 AmrOrder(std::string uuid, const util::Position &pick_up_location,
27 const util::Position &delivery_location)
28 : pick_up_location(pick_up_location),
29 delivery_location(delivery_location),
30 order_state(OrderStates::kCreated),
31 uuid(std::move(uuid)) {}
32 util::Position pick_up_location;
33 util::Position delivery_location;
34 OrderStates order_state = OrderStates::kInvalid;
35 std::string uuid;
36};
37} // namespace daisi::cpps
38
39#endif
Definition amr_order.h:24