CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
multigpu
commands.h
浏览该文件的文档.
1
// Copyright (c) 2022 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#pragma once
8
9
#include <cstdint>
10
11
namespace
carla
{
12
namespace
multigpu {
13
14
enum
MultiGPUCommand
: uint32_t {
15
SEND_FRAME
= 0,
16
LOAD_MAP
,
17
GET_TOKEN
,
18
ENABLE_ROS
,
19
DISABLE_ROS
,
20
IS_ENABLED_ROS
,
21
YOU_ALIVE
22
};
23
24
struct
CommandHeader
{
25
MultiGPUCommand
id
;
26
uint32_t
size
;
27
};
28
29
}
// namespace multigpu
30
}
// namespace carla
carla::multigpu::MultiGPUCommand
MultiGPUCommand
Definition
commands.h:14
carla::multigpu::SEND_FRAME
@ SEND_FRAME
Definition
commands.h:15
carla::multigpu::ENABLE_ROS
@ ENABLE_ROS
Definition
commands.h:18
carla::multigpu::GET_TOKEN
@ GET_TOKEN
Definition
commands.h:17
carla::multigpu::DISABLE_ROS
@ DISABLE_ROS
Definition
commands.h:19
carla::multigpu::LOAD_MAP
@ LOAD_MAP
Definition
commands.h:16
carla::multigpu::YOU_ALIVE
@ YOU_ALIVE
Definition
commands.h:21
carla::multigpu::IS_ENABLED_ROS
@ IS_ENABLED_ROS
Definition
commands.h:20
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
carla::multigpu::CommandHeader
Definition
commands.h:24
carla::multigpu::CommandHeader::size
uint32_t size
Definition
commands.h:26
carla::multigpu::CommandHeader::id
MultiGPUCommand id
Definition
commands.h:25
制作者
1.10.0