libcarla/include/carla/multigpu/commands.h

31 lines
550 B
C
Raw Normal View History

2024-10-18 13:19:59 +08:00
// Copyright (c) 2022 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include <cstdint>
namespace carla {
namespace multigpu {
enum MultiGPUCommand : uint32_t {
SEND_FRAME = 0,
LOAD_MAP,
GET_TOKEN,
ENABLE_ROS,
DISABLE_ROS,
IS_ENABLED_ROS,
YOU_ALIVE
};
struct CommandHeader {
MultiGPUCommand id;
uint32_t size;
};
} // namespace multigpu
} // namespace carla