-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathAirSimClient.h
More file actions
37 lines (30 loc) · 932 Bytes
/
AirSimClient.h
File metadata and controls
37 lines (30 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (C) Microsoft Corporation.
// Copyright (C) 2025 IAMAI CONSULTING CORP
//
// MIT License. All rights reserved.
#pragma once
#include <string>
#include "ASCDecl.h"
#include "Client.h"
#include "Drone.h"
#include "Log.h"
#include "Status.h"
#include "Types.h"
#include "World.h"
namespace microsoft {
namespace projectairsim {
namespace client {
// Client API version
constexpr int kClientAPIVersion = 1;
// Log singleton object. Used by the library and may be used by the client app.
ASC_DECL extern Log log;
// Returns a descriptive string for a Status code
ASC_DECL size_t GetStatusString(Status status, size_t cch_buf_max,
char* buf_out);
template <int cch_msg_max>
size_t GetStatusString(Status status, char (&msg_out)[cch_msg_max]) {
return (GetStatusString(status, cch_msg_max, msg_out));
}
} // namespace client
} // namespace projectairsim
} // namespace microsoft