dji_mqtt_connect 0.1.37.7 → 0.1.37.8
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 60fff37d4609cf3ba72054b394ea921fd4d5402970d5d08a18816e951f145ee4
|
|
4
|
+
data.tar.gz: f8b60b7a76e6bcb2b20f2da14447dcd2da4c7f6a18d0bd11739ba76852cf206e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0f4e65b55db608a175e3a6023a854fdb5d440f4b17ece1edebcc4dff272edf4aa1b65b54bff1317c67cb391b1297acafa9502f0062bee4ed2e18547a3082ded
|
|
7
|
+
data.tar.gz: c90374bcb9f3be0a9cc79ffa1cd3d3a48a6e68d0475722081772edce049d43e6257b59bcc8e60b41d011ac03471e21b487f3f2d3075d88c699aab02a3c1bf0f9
|
|
@@ -25,8 +25,14 @@ module DjiMqttConnect
|
|
|
25
25
|
|
|
26
26
|
attribute :remaining_time, Types::JSON::Decimal
|
|
27
27
|
|
|
28
|
-
# {"task_finish":"One-key takeoff mission completed","task_ready":"Ready for takeoff","takeoff_prepare":"Preparing for takeoff","wayline_cancel":"Cancel flying to target point","wayline_failed":"Execution failed","wayline_ok":"Executed successfully, flown to target point","wayline_progress":"Executing"}
|
|
29
|
-
|
|
28
|
+
# {"landing_prepare":"Preparing for landing","task_finish":"One-key takeoff mission completed","task_ready":"Ready for takeoff","takeoff_prepare":"Preparing for takeoff","wayline_cancel":"Cancel flying to target point","wayline_failed":"Execution failed","wayline_ok":"Executed successfully, flown to target point","wayline_progress":"Executing"}
|
|
29
|
+
# Docks send statuses DJI does not document, so an unknown status is kept rather than
|
|
30
|
+
# rejecting the message. Check status? before relying on it being one of the above.
|
|
31
|
+
attribute :status, Types::TakeoffToPointProgressStatus | Types::String
|
|
32
|
+
|
|
33
|
+
def status?
|
|
34
|
+
Types::TakeoffToPointProgressStatus.valid?(status)
|
|
35
|
+
end
|
|
30
36
|
|
|
31
37
|
attribute :track_id, Types::String | Types::Nil
|
|
32
38
|
|
|
@@ -331,8 +331,9 @@ module DjiMqttConnect
|
|
|
331
331
|
)
|
|
332
332
|
|
|
333
333
|
# How far a one-key takeoff has got. The statuses a flight to a target point reports, plus the
|
|
334
|
-
# ones the takeoff itself reports. DJI does not document takeoff_prepare, but
|
|
335
|
-
#
|
|
334
|
+
# ones the takeoff itself reports. DJI does not document takeoff_prepare or landing_prepare, but
|
|
335
|
+
# docks send them
|
|
336
|
+
# {"landing_prepare":"Preparing for landing","task_finish":"One-key takeoff mission completed","task_ready":"Ready for takeoff","takeoff_prepare":"Preparing for takeoff","wayline_cancel":"Cancel flying to target point","wayline_failed":"Execution failed","wayline_ok":"Executed successfully, flown to target point","wayline_progress":"Executing"}
|
|
336
337
|
TakeoffToPointProgressStatus = Types::String.enum(
|
|
337
338
|
FLY_TO_POINT_PROGRESS_STATUS_IN_PROGRESS,
|
|
338
339
|
FLY_TO_POINT_PROGRESS_STATUS_OK,
|
|
@@ -340,7 +341,8 @@ module DjiMqttConnect
|
|
|
340
341
|
FLY_TO_POINT_PROGRESS_STATUS_CANCELED,
|
|
341
342
|
TAKEOFF_TO_POINT_PROGRESS_STATUS_PREPARE = "takeoff_prepare",
|
|
342
343
|
TAKEOFF_TO_POINT_PROGRESS_STATUS_READY = "task_ready",
|
|
343
|
-
TAKEOFF_TO_POINT_PROGRESS_STATUS_FINISHED = "task_finish"
|
|
344
|
+
TAKEOFF_TO_POINT_PROGRESS_STATUS_FINISHED = "task_finish",
|
|
345
|
+
TAKEOFF_TO_POINT_PROGRESS_STATUS_LANDING_PREPARE = "landing_prepare"
|
|
344
346
|
)
|
|
345
347
|
|
|
346
348
|
# {"0":"Inform","1":"Notice","2":"Alarm"}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dji_mqtt_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.37.
|
|
4
|
+
version: 0.1.37.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sphere Drones
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|