@flightpath/flightpath 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file flightpath/mavlink_commands.proto (package flightpath, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file flightpath/mavlink_commands.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_flightpath_mavlink_commands: GenFile = /*@__PURE__*/
|
|
12
|
+
fileDesc("CiFmbGlnaHRwYXRoL21hdmxpbmtfY29tbWFuZHMucHJvdG8SCmZsaWdodHBhdGgqmQEKBk1hdkNtZBIXChNNQVZfQ01EX1VOU1BFQ0lGSUVEEAASIAocTUFWX0NNRF9OQVZfUkVUVVJOX1RPX0xBVU5DSBAUEhcKE01BVl9DTURfTkFWX1RBS0VPRkYQFhIYChNNQVZfQ01EX0RPX1NFVF9NT0RFELABEiEKHE1BVl9DTURfQ09NUE9ORU5UX0FSTV9ESVNBUk0QkAMqwgIKC01hdk1vZGVGbGFnEh0KGU1BVl9NT0RFX0ZMQUdfVU5TUEVDSUZJRUQQABIlCiFNQVZfTU9ERV9GTEFHX0NVU1RPTV9NT0RFX0VOQUJMRUQQARIeChpNQVZfTU9ERV9GTEFHX1RFU1RfRU5BQkxFRBACEh4KGk1BVl9NT0RFX0ZMQUdfQVVUT19FTkFCTEVEEAQSIAocTUFWX01PREVfRkxBR19HVUlERURfRU5BQkxFRBAIEiMKH01BVl9NT0RFX0ZMQUdfU1RBQklMSVpFX0VOQUJMRUQQEBIdChlNQVZfTU9ERV9GTEFHX0hJTF9FTkFCTEVEECASJgoiTUFWX01PREVfRkxBR19NQU5VQUxfSU5QVVRfRU5BQkxFRBBAEh8KGk1BVl9NT0RFX0ZMQUdfU0FGRVRZX0FSTUVEEIABQm4KDmNvbS5mbGlnaHRwYXRoQhRNYXZsaW5rQ29tbWFuZHNQcm90b1ABogIDRlhYqgIKRmxpZ2h0cGF0aMoCCkZsaWdodHBhdGjiAhZGbGlnaHRwYXRoXEdQQk1ldGFkYXRh6gIKRmxpZ2h0cGF0aGIGcHJvdG8z");
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* MavCmd represents MAVLink command IDs from the MAV_CMD enum.
|
|
16
|
+
* Reference: https://mavlink.io/en/messages/common.html#MAV_CMD
|
|
17
|
+
*
|
|
18
|
+
* @generated from enum flightpath.MavCmd
|
|
19
|
+
*/
|
|
20
|
+
export enum MavCmd {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from enum value: MAV_CMD_UNSPECIFIED = 0;
|
|
23
|
+
*/
|
|
24
|
+
UNSPECIFIED = 0,
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Navigation commands
|
|
28
|
+
*
|
|
29
|
+
* @generated from enum value: MAV_CMD_NAV_RETURN_TO_LAUNCH = 20;
|
|
30
|
+
*/
|
|
31
|
+
NAV_RETURN_TO_LAUNCH = 20,
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from enum value: MAV_CMD_NAV_TAKEOFF = 22;
|
|
35
|
+
*/
|
|
36
|
+
NAV_TAKEOFF = 22,
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Mode commands
|
|
40
|
+
*
|
|
41
|
+
* @generated from enum value: MAV_CMD_DO_SET_MODE = 176;
|
|
42
|
+
*/
|
|
43
|
+
DO_SET_MODE = 176,
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Component commands
|
|
47
|
+
*
|
|
48
|
+
* @generated from enum value: MAV_CMD_COMPONENT_ARM_DISARM = 400;
|
|
49
|
+
*/
|
|
50
|
+
COMPONENT_ARM_DISARM = 400,
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Describes the enum flightpath.MavCmd.
|
|
55
|
+
*/
|
|
56
|
+
export const MavCmdSchema: GenEnum<MavCmd> = /*@__PURE__*/
|
|
57
|
+
enumDesc(file_flightpath_mavlink_commands, 0);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* MavModeFlag represents MAV_MODE_FLAG bitfield values.
|
|
61
|
+
* These flags can be combined using bitwise OR operations.
|
|
62
|
+
* Reference: https://mavlink.io/en/messages/common.html#MAV_MODE_FLAG
|
|
63
|
+
*
|
|
64
|
+
* @generated from enum flightpath.MavModeFlag
|
|
65
|
+
*/
|
|
66
|
+
export enum MavModeFlag {
|
|
67
|
+
/**
|
|
68
|
+
* @generated from enum value: MAV_MODE_FLAG_UNSPECIFIED = 0;
|
|
69
|
+
*/
|
|
70
|
+
UNSPECIFIED = 0,
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Bit 0 (1): Custom mode is enabled
|
|
74
|
+
*
|
|
75
|
+
* @generated from enum value: MAV_MODE_FLAG_CUSTOM_MODE_ENABLED = 1;
|
|
76
|
+
*/
|
|
77
|
+
CUSTOM_MODE_ENABLED = 1,
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Bit 1 (2): Test mode enabled
|
|
81
|
+
*
|
|
82
|
+
* @generated from enum value: MAV_MODE_FLAG_TEST_ENABLED = 2;
|
|
83
|
+
*/
|
|
84
|
+
TEST_ENABLED = 2,
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Bit 2 (4): Autonomous mode enabled
|
|
88
|
+
*
|
|
89
|
+
* @generated from enum value: MAV_MODE_FLAG_AUTO_ENABLED = 4;
|
|
90
|
+
*/
|
|
91
|
+
AUTO_ENABLED = 4,
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Bit 3 (8): Guided mode enabled
|
|
95
|
+
*
|
|
96
|
+
* @generated from enum value: MAV_MODE_FLAG_GUIDED_ENABLED = 8;
|
|
97
|
+
*/
|
|
98
|
+
GUIDED_ENABLED = 8,
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Bit 4 (16): Stabilize mode enabled
|
|
102
|
+
*
|
|
103
|
+
* @generated from enum value: MAV_MODE_FLAG_STABILIZE_ENABLED = 16;
|
|
104
|
+
*/
|
|
105
|
+
STABILIZE_ENABLED = 16,
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Bit 5 (32): Hardware in the loop simulation enabled
|
|
109
|
+
*
|
|
110
|
+
* @generated from enum value: MAV_MODE_FLAG_HIL_ENABLED = 32;
|
|
111
|
+
*/
|
|
112
|
+
HIL_ENABLED = 32,
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Bit 6 (64): Manual input is enabled
|
|
116
|
+
*
|
|
117
|
+
* @generated from enum value: MAV_MODE_FLAG_MANUAL_INPUT_ENABLED = 64;
|
|
118
|
+
*/
|
|
119
|
+
MANUAL_INPUT_ENABLED = 64,
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Bit 7 (128): Safety switch is currently engaged (armed)
|
|
123
|
+
*
|
|
124
|
+
* @generated from enum value: MAV_MODE_FLAG_SAFETY_ARMED = 128;
|
|
125
|
+
*/
|
|
126
|
+
SAFETY_ARMED = 128,
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the enum flightpath.MavModeFlag.
|
|
131
|
+
*/
|
|
132
|
+
export const MavModeFlagSchema: GenEnum<MavModeFlag> = /*@__PURE__*/
|
|
133
|
+
enumDesc(file_flightpath_mavlink_commands, 1);
|
|
134
|
+
|