CARLA
载入中...
搜索中...
未找到
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Recorder
CarlaRecorderKinematics.h
浏览该文件的文档.
1
// Copyright (c) 2020 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 <sstream>
10
#include <vector>
11
12
#pragma pack(push, 1)
13
struct
CarlaRecorderKinematics
14
{
15
uint32_t
DatabaseId
;
16
FVector
LinearVelocity
;
17
FVector
AngularVelocity
;
18
19
void
Read
(std::istream &InFile);
20
21
void
Write
(std::ostream &OutFile);
22
};
23
#pragma pack(pop)
24
25
class
CarlaRecorderActorsKinematics
26
{
27
public
:
28
29
void
Add
(
const
CarlaRecorderKinematics
&InObj);
30
31
void
Clear
(
void
);
32
33
void
Write
(std::ostream &OutFile);
34
35
private
:
36
37
std::vector<CarlaRecorderKinematics>
Kinematics
;
38
};
CarlaRecorderActorsKinematics
Definition
CarlaRecorderKinematics.h:26
CarlaRecorderActorsKinematics::Clear
void Clear(void)
Definition
CarlaRecorderKinematics.cpp:27
CarlaRecorderActorsKinematics::Add
void Add(const CarlaRecorderKinematics &InObj)
Definition
CarlaRecorderKinematics.cpp:32
CarlaRecorderActorsKinematics::Write
void Write(std::ostream &OutFile)
Definition
CarlaRecorderKinematics.cpp:37
CarlaRecorderActorsKinematics::Kinematics
std::vector< CarlaRecorderKinematics > Kinematics
Definition
CarlaRecorderKinematics.h:37
CarlaRecorderKinematics
Definition
CarlaRecorderKinematics.h:14
CarlaRecorderKinematics::LinearVelocity
FVector LinearVelocity
Definition
CarlaRecorderKinematics.h:16
CarlaRecorderKinematics::Write
void Write(std::ostream &OutFile)
Definition
CarlaRecorderKinematics.cpp:11
CarlaRecorderKinematics::AngularVelocity
FVector AngularVelocity
Definition
CarlaRecorderKinematics.h:17
CarlaRecorderKinematics::Read
void Read(std::istream &InFile)
Definition
CarlaRecorderKinematics.cpp:18
CarlaRecorderKinematics::DatabaseId
uint32_t DatabaseId
Definition
CarlaRecorderKinematics.h:15
制作者
1.10.0