SOLA
Loading...
Searching...
No Matches
amr_mobility_status.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_MOBILITY_STATUS_H_
18#define DAISI_CPPS_AMR_PHYSICAL_AMR_MOBILITY_STATUS_H_
19
20#include "utils/structure_helpers.h"
21
22namespace daisi::cpps {
23
24enum class AmrMobilityState {
25 kAccelerating,
26 kConstSpeedTraveling,
27 kDecelerating,
28 kStationary,
29 kIdle
30};
31
33 AmrMobilityStatus() = default;
34
35 AmrMobilityState state = AmrMobilityState::kIdle;
36 util::Velocity velocity;
37 util::Position position;
38 util::Acceleration acceleration;
39 util::Duration timestamp = 0.0;
40};
41} // namespace daisi::cpps
42#endif
Definition amr_mobility_status.h:32