CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
client
ActorSnapshot.h
浏览该文件的文档.
1
// Copyright (c) 2021 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 "
carla/geom/Transform.h
"
10
#include "
carla/geom/Vector3D.h
"
11
#include "
carla/rpc/ActorId.h
"
12
#include "
carla/rpc/ActorState.h
"
13
#include "
carla/sensor/data/ActorDynamicState.h
"
14
15
namespace
carla
{
16
namespace
client {
17
18
struct
ActorSnapshot
{
19
ActorId
id
= 0u;
20
rpc::ActorState
actor_state
;
21
geom::Transform
transform
;
22
geom::Vector3D
velocity
;
23
geom::Vector3D
angular_velocity
;
24
geom::Vector3D
acceleration
;
25
sensor::data::ActorDynamicState::TypeDependentState
state
;
26
};
27
28
}
// namespace client
29
}
// namespace carla
ActorDynamicState.h
ActorId.h
carla::geom::Transform
Definition
geom/Transform.h:23
carla::geom::Vector3D
Definition
geom/Vector3D.h:17
Transform.h
Vector3D.h
carla::rpc::ActorState
ActorState
Definition
rpc/ActorState.h:14
carla::traffic_manager::ActorId
carla::ActorId ActorId
Definition
AtomicActorSet.h:21
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
ActorState.h
carla::client::ActorSnapshot
Definition
ActorSnapshot.h:18
carla::client::ActorSnapshot::angular_velocity
geom::Vector3D angular_velocity
Definition
ActorSnapshot.h:23
carla::client::ActorSnapshot::acceleration
geom::Vector3D acceleration
Definition
ActorSnapshot.h:24
carla::client::ActorSnapshot::state
sensor::data::ActorDynamicState::TypeDependentState state
Definition
ActorSnapshot.h:25
carla::client::ActorSnapshot::actor_state
rpc::ActorState actor_state
Definition
ActorSnapshot.h:20
carla::client::ActorSnapshot::transform
geom::Transform transform
Definition
ActorSnapshot.h:21
carla::client::ActorSnapshot::velocity
geom::Vector3D velocity
Definition
ActorSnapshot.h:22
carla::sensor::data::ActorDynamicState::TypeDependentState
Definition
ActorDynamicState.h:138
制作者
1.10.0