dji_mqtt_connect 0.1.30.2 → 0.1.31

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: 9228a05f0a4255c439cbae85468ea3ef5a52a4dbc2aa4fff1337704035395687
4
- data.tar.gz: 85440a3169f7c3d471376b95cbec487647d88b2090e79daf4d658ef7f3b8fc77
3
+ metadata.gz: '078027013e5a4f5ad96fc14fb767b3ef3f231739b6f2acd20547c7cea01651a5'
4
+ data.tar.gz: 7b389bb843e5915b79dd0e91c451f735229c83b1336252af347af63747a2bbf2
5
5
  SHA512:
6
- metadata.gz: c7673ae71b0526afc26edd0bbd896a453a7f2ac724b5a5738cd29bfb14ac3098cae32827216ad330663a5e4033376c139b622c0c3bd74dae579f6d40c035c38d
7
- data.tar.gz: 2c007f30c60f9eb1089617befb50e749ad302d5ee3bab66bc849fcf81eca57fb6f8c40c082810440b64baacb9a401537f514718a31cb7fb49e462fed71df8dc5
6
+ metadata.gz: 94b846479523aae0a76565661743b915e054d4fa100b52c9e89e9b9edc05f8872ad09037ea909f1e93fa25343006629e9920c485ee0a286b4709647cf5a25169
7
+ data.tar.gz: 4cde7973a66d28f6c4c10d8597d89aaec5570dd1d3218a77f88bd22b8b1c17b6b210d958b0dc2488b2a65edf0c8ef12b3ef6d447d04e19a0b2ea5a2e45ff0e4b
@@ -267,6 +267,36 @@ module DjiMqttConnect
267
267
  )
268
268
  end
269
269
 
270
+ ### Fly to Point Progress ###
271
+
272
+ def build_thing_product_fly_to_point_progress_events_message
273
+ message_data = {
274
+ fly_to_id: SecureRandom.uuid,
275
+ planned_path_points: [
276
+ {
277
+ height: BigDecimal("123.234"),
278
+ latitude: BigDecimal("13.23"),
279
+ longitude: BigDecimal("123.234")
280
+ }
281
+ ],
282
+ remaining_distance: 0,
283
+ remaining_time: 0,
284
+ result: 0,
285
+ status: "wayline_progress",
286
+ way_point_index: 0
287
+ }
288
+
289
+ Thing::Product::FlyToPointProgressEventsMessage.new(
290
+ bid: Message.generate_bid,
291
+ tid: Message.generate_tid,
292
+ timestamp: Message.current_timestamp,
293
+ _method: "fly_to_point_progress",
294
+ need_reply: 1,
295
+ data: message_data,
296
+ _data: message_data
297
+ )
298
+ end
299
+
270
300
  def build_thing_product_highest_priority_upload_flighttask_media_events_message
271
301
  message_data = {
272
302
  flight_id: SecureRandom.uuid
@@ -76,6 +76,29 @@ module DjiMqttConnect
76
76
  )
77
77
  end
78
78
 
79
+ ### Flight Authority Grab ###
80
+
81
+ def build_thing_product_flight_authority_grab_services_message
82
+ Thing::Product::FlightAuthorityGrabServicesMessage.build
83
+ end
84
+
85
+ def build_thing_product_flight_authority_grab_services_reply_message(result: 0)
86
+ message_data = {
87
+ result: result
88
+ }
89
+
90
+ Thing::Product::FlightAuthorityGrabServicesReplyMessage.new(
91
+ bid: SecureRandom.uuid,
92
+ tid: SecureRandom.uuid,
93
+ timestamp: Message.current_timestamp,
94
+ _method: "flight_authority_grab",
95
+ _data: message_data,
96
+ data: message_data
97
+ )
98
+ end
99
+
100
+ ### Flighttask Execute ###
101
+
79
102
  def build_thing_product_flighttask_execute_services_message
80
103
  Thing::Product::FlighttaskExecuteServicesMessage.build(flight_id: SecureRandom.uuid)
81
104
  end
@@ -144,6 +167,47 @@ module DjiMqttConnect
144
167
  )
145
168
  end
146
169
 
170
+ ### Fly to Point (Services Messages) ###
171
+
172
+ def build_thing_product_fly_to_point_services_message
173
+ message_data = {
174
+ fly_to_id: SecureRandom.uuid,
175
+ points: [
176
+ {
177
+ latitude: 37.7749,
178
+ longitude: -122.4194,
179
+ height: 100
180
+ }
181
+ ],
182
+ max_speed: 5
183
+ }
184
+
185
+ Thing::Product::FlyToPointServicesMessage.build(
186
+ data: message_data
187
+ )
188
+ end
189
+
190
+ def build_thing_product_fly_to_point_stop_services_message
191
+ Thing::Product::FlyToPointStopServicesMessage.build
192
+ end
193
+
194
+ def build_thing_product_fly_to_point_update_services_message
195
+ message_data = {
196
+ points: [
197
+ {
198
+ latitude: 37.7750,
199
+ longitude: -122.4195,
200
+ height: 120
201
+ }
202
+ ],
203
+ max_speed: 6
204
+ }
205
+
206
+ Thing::Product::FlyToPointUpdateServicesMessage.build(
207
+ data: message_data
208
+ )
209
+ end
210
+
147
211
  ### Live Stream (Services Messages) ###
148
212
 
149
213
  def build_thing_product_live_lens_change_services_message
@@ -194,5 +258,44 @@ module DjiMqttConnect
194
258
  def build_thing_product_return_specific_home_services_message(home_dock_sn: "SN1234567890")
195
259
  Thing::Product::ReturnSpecificHomeServicesMessage.build(home_dock_sn: home_dock_sn)
196
260
  end
261
+
262
+ ### Takeoff to Point (Services Messages) ###
263
+
264
+ def build_thing_product_takeoff_to_point_services_message
265
+ message_data = {
266
+ flight_id: SecureRandom.uuid,
267
+ target_latitude: 37.7749,
268
+ target_longitude: -122.4194,
269
+ target_height: 100,
270
+ max_speed: 5,
271
+ rth_mode: 1,
272
+ rth_altitude: 30,
273
+ security_takeoff_height: 10,
274
+ rc_lost_action: 1,
275
+ commander_mode_lost_action: 0,
276
+ commander_flight_mode: 1,
277
+ commander_flight_height: 50,
278
+ flight_safety_advance_check: 1
279
+ }
280
+
281
+ Thing::Product::TakeoffToPointServicesMessage.build(
282
+ data: message_data
283
+ )
284
+ end
285
+
286
+ def build_thing_product_takeoff_to_point_services_reply_message
287
+ message_data = {
288
+ result: 0
289
+ }
290
+
291
+ Thing::Product::TakeoffToPointServicesReplyMessage.new(
292
+ bid: Message.generate_bid,
293
+ tid: Message.generate_tid,
294
+ timestamp: Message.current_timestamp,
295
+ _method: "takeoff_to_point",
296
+ _data: message_data,
297
+ data: message_data
298
+ )
299
+ end
197
300
  end
198
301
  end
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#flyto-execution-result-event-notification
6
+ class FlyToPointProgressEventsMessage < EventsMessage
7
+ attribute :_method, Types::String.enum("fly_to_point_progress")
8
+
9
+ attribute :data do
10
+ attribute :fly_to_id, Types::String
11
+
12
+ attribute :planned_path_points, Types::Array do
13
+ attribute :height, Types::JSON::Decimal
14
+
15
+ attribute :latitude, Types::Latitude
16
+ include Mixins::Latitude
17
+
18
+ attribute :longitude, Types::Longitude
19
+ include Mixins::Longitude
20
+ end
21
+
22
+ attribute :remaining_distance, Types::Integer
23
+
24
+ attribute :remaining_time, Types::Integer
25
+
26
+ attribute :result, Types::ResultCode
27
+ include Mixins::ResultCode
28
+
29
+ # {"wayline_cancel":"Cancel flying to target point","wayline_failed":"Execution failed","wayline_ok":"Executed successfully, flown to target point","wayline_progress":"Executing"}
30
+ attribute :status, Types::String
31
+
32
+ attribute :way_point_index, Types::Integer
33
+ end
34
+
35
+ # All the flight IDs in the message
36
+ def flight_ids
37
+ []
38
+ end
39
+ end
40
+ end
41
+ end
@@ -11,10 +11,25 @@ module DjiMqttConnect
11
11
 
12
12
  attribute :flight_id, Types::FlightID
13
13
 
14
+ attribute? :planned_path_points, Types::Array.default([]) do
15
+ attribute :height, Types::JSON::Decimal
16
+
17
+ attribute :latitude, Types::Latitude
18
+ include Mixins::Latitude
19
+
20
+ attribute :longitude, Types::Longitude
21
+ include Mixins::Longitude
22
+ end
23
+
14
24
  attribute :remaining_distance, Types::Integer
25
+
15
26
  attribute :remaining_time, Types::Integer
27
+
28
+ # {"task_finish":"One-key takeoff mission completed","task_ready":"Ready for takeoff","wayline_cancel":"Cancel flying to target point","wayline_failed":"Execution failed","wayline_ok":"Executed successfully, flown to target point","wayline_progress":"Executing"}
16
29
  attribute :status, Types::String
30
+
17
31
  attribute :track_id, Types::String | Types::Nil
32
+
18
33
  attribute :way_point_index, Types::Integer
19
34
  end
20
35
 
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#grabbing-flight-control-authority
6
+ class FlightAuthorityGrabServicesMessage < ServicesMessage
7
+ def self.build(bid: generate_bid, tid: generate_tid, timestamp: current_timestamp)
8
+ new(
9
+ bid: bid,
10
+ tid: tid,
11
+ timestamp: timestamp,
12
+ _method: "flight_authority_grab"
13
+ )
14
+ end
15
+
16
+ attribute :_method, Types::String.enum("flight_authority_grab")
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#fly-to-target-point
6
+ class FlyToPointServicesMessage < ServicesMessage
7
+ def self.build(data:, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp)
8
+ new(
9
+ bid: bid,
10
+ tid: tid,
11
+ timestamp: timestamp,
12
+ _method: "fly_to_point",
13
+ data: data
14
+ )
15
+ end
16
+
17
+ attribute :_method, Types::String.enum("fly_to_point")
18
+
19
+ attribute :data do
20
+ attribute :fly_to_id, Types::String
21
+
22
+ # {"max":15,"min":0,"unit_name":"Meters per second / m/s"}
23
+ attribute :max_speed, Types::Integer.constrained(
24
+ gteq: 0, lteq: 15
25
+ )
26
+
27
+ attribute :points, Types::Array do
28
+ attribute :latitude, Types::Latitude
29
+
30
+ attribute :longitude, Types::Longitude
31
+
32
+ # {"max":10000,"min":2,"step":0.1,"unit_name":"Meters / m"}
33
+ attribute :height, Types::JSON::Decimal.constrained(
34
+ gteq: 2, lteq: 10000
35
+ )
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#fly-to-target-point
6
+ class FlyToPointStopServicesMessage < ServicesMessage
7
+ def self.build(data: {}, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp)
8
+ new(
9
+ bid: bid,
10
+ tid: tid,
11
+ timestamp: timestamp,
12
+ _method: "fly_to_point_stop",
13
+ data: data
14
+ )
15
+ end
16
+
17
+ attribute :_method, Types::String.enum("fly_to_point_stop")
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#update-the-target-point-of-flyto
6
+ class FlyToPointUpdateServicesMessage < ServicesMessage
7
+ def self.build(data: {}, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp)
8
+ new(
9
+ bid: bid,
10
+ tid: tid,
11
+ timestamp: timestamp,
12
+ _method: "fly_to_point_update",
13
+ data: data
14
+ )
15
+ end
16
+
17
+ attribute :_method, Types::String.enum("fly_to_point_update")
18
+
19
+ attribute :data do
20
+ # {"max":15,"min":1,"unit_name":"Meters per second / m/s"}
21
+ attribute :max_speed, Types::Integer.constrained(
22
+ gteq: 1, lteq: 15
23
+ )
24
+
25
+ attribute :points, Types::Array do
26
+ attribute :latitude, Types::Latitude
27
+
28
+ attribute :longitude, Types::Longitude
29
+
30
+ # {"max":10000,"min":2,"step":0.1,"unit_name":"Meters / m"}
31
+ attribute :height, Types::JSON::Decimal.constrained(
32
+ gteq: 2, lteq: 10000
33
+ )
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,74 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#one-key-takeoff
6
+ class TakeoffToPointServicesMessage < ServicesMessage
7
+ def self.build(data:, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp)
8
+ new(
9
+ bid: bid,
10
+ tid: tid,
11
+ timestamp: timestamp,
12
+ _method: "takeoff_to_point",
13
+ data: data
14
+ )
15
+ end
16
+
17
+ attribute :_method, Types::String.enum("takeoff_to_point")
18
+
19
+ attribute :data do
20
+ attribute :target_latitude, Types::Latitude
21
+
22
+ attribute :target_longitude, Types::Longitude
23
+
24
+ attribute :target_height, Types::JSON::Decimal.constrained(
25
+ gteq: 2, lteq: 1500
26
+ )
27
+
28
+ attribute :security_takeoff_height, Types::JSON::Decimal.constrained(
29
+ gteq: 2, lteq: 1500
30
+ )
31
+
32
+ # {"0":"Intelligent altitude","1":"Preset altitude"}
33
+ attribute :rth_mode, Types::Integer.enum(0, 1)
34
+
35
+ attribute :rth_altitude, Types::JSON::Decimal.constrained(
36
+ gteq: 2, lteq: 500
37
+ )
38
+
39
+ # {"0":"Hovering","1":"Landing","2":"Returning to home"}
40
+ attribute :rc_lost_action, Types::Integer.enum(0, 1, 2)
41
+
42
+ # {"0":"Continue with the to-point flight mission","1":"Exit the to-point flight mission and perform normal loss of control behavior"}
43
+ attribute :commander_mode_lost_action, Types::Integer.enum(0, 1)
44
+
45
+ # {"0":"Optimal height flight","1":"Preset height flight"}
46
+ attribute :commander_flight_mode, Types::Integer.enum(0, 1)
47
+
48
+ # {"max":3000,"min":2,"step":0.1,"unit_name":"Meters / m"}
49
+ attribute :commander_flight_height, Types::JSON::Decimal.constrained(
50
+ gteq: 2, lteq: 3000
51
+ )
52
+
53
+ attribute :flight_id, Types::FlightID
54
+
55
+ # {"max":15,"min":1,"unit_name":"Meters per second / m/s"}
56
+ attribute :max_speed, Types::Integer.constrained(
57
+ gteq: 1, lteq: 15
58
+ )
59
+
60
+ attribute? :simulate_mission do
61
+ # {"0":"Do not enable","1":"Enable"}
62
+ attribute :is_enable, Types::Integer.enum(0, 1)
63
+
64
+ attribute :latitude, Types::Latitude
65
+
66
+ attribute :longitude, Types::Longitude
67
+ end
68
+
69
+ # {"0":"Closed","1":"Opened"}
70
+ attribute :flight_safety_advance_check, Types::Integer.enum(0, 1)
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#grabbing-flight-control-authority
6
+ class FlightAuthorityGrabServicesReplyMessage < ServicesReplyMessage
7
+ attribute :_method, Types::String.enum("flight_authority_grab")
8
+
9
+ attribute :data do
10
+ attribute :result, Types::ResultCode
11
+ include Mixins::ResultCode
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#fly-to-target-point
6
+ class FlyToPointServicesReplyMessage < ServicesReplyMessage
7
+ attribute :_method, Types::String.enum("fly_to_point")
8
+
9
+ attribute :data do
10
+ attribute :result, Types::ResultCode
11
+ include Mixins::ResultCode
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#fly-to-target-point
6
+ class FlyToPointStopServicesReplyMessage < ServicesReplyMessage
7
+ attribute :_method, Types::String.enum("fly_to_point_stop")
8
+
9
+ attribute :data do
10
+ attribute :result, Types::ResultCode
11
+ include Mixins::ResultCode
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#update-the-target-point-of-flyto
6
+ class FlyToPointUpdateServicesReplyMessage < ServicesReplyMessage
7
+ attribute :_method, Types::String.enum("fly_to_point_update")
8
+
9
+ attribute :data do
10
+ attribute :result, Types::ResultCode
11
+ include Mixins::ResultCode
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DjiMqttConnect
4
+ module Thing::Product
5
+ # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/drc.html#one-key-takeoff
6
+ class TakeoffToPointServicesReplyMessage < ServicesReplyMessage
7
+ attribute :_method, Types::String.enum("takeoff_to_point")
8
+
9
+ attribute :data do
10
+ attribute :result, Types::ResultCode
11
+ include Mixins::ResultCode
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DjiMqttConnect
4
- VERSION = "0.1.30.2"
4
+ VERSION = "0.1.31"
5
5
  end
@@ -50,6 +50,7 @@ module DjiMqttConnect
50
50
  autoload :FlightAreasSyncProgressEventsMessage, "dji_mqtt_connect/messages/thing/product/events/flight_areas_sync_progress"
51
51
  autoload :FlighttaskProgressEventsMessage, "dji_mqtt_connect/messages/thing/product/events/flighttask_progress"
52
52
  autoload :FlighttaskReadyEventsMessage, "dji_mqtt_connect/messages/thing/product/events/flighttask_ready"
53
+ autoload :FlyToPointProgressEventsMessage, "dji_mqtt_connect/messages/thing/product/events/fly_to_point_progress"
53
54
  autoload :HighestPriorityUploadFlighttaskMediaEventsMessage, "dji_mqtt_connect/messages/thing/product/events/highest_priority_upload_flighttask_media"
54
55
  autoload :HmsEventsMessage, "dji_mqtt_connect/messages/thing/product/events/hms"
55
56
  autoload :OfflineMapSyncProgressEventsMessage, "dji_mqtt_connect/messages/thing/product/events/offline_map_sync_progress"
@@ -102,6 +103,7 @@ module DjiMqttConnect
102
103
  autoload :DroneOpenServicesMessage, "dji_mqtt_connect/messages/thing/product/services/drone_open"
103
104
  autoload :FileuploadListServicesMessage, "dji_mqtt_connect/messages/thing/product/services/fileupload_list"
104
105
  autoload :FileuploadStartServicesMessage, "dji_mqtt_connect/messages/thing/product/services/fileupload_start"
106
+ autoload :FlightAuthorityGrabServicesMessage, "dji_mqtt_connect/messages/thing/product/services/flight_authority_grab"
105
107
  autoload :FlighttaskExecuteServicesMessage, "dji_mqtt_connect/messages/thing/product/services/flighttask_execute"
106
108
  autoload :FlighttaskPauseServicesMessage, "dji_mqtt_connect/messages/thing/product/services/flighttask_pause"
107
109
  autoload :FlighttaskPrepareServicesMessage, "dji_mqtt_connect/messages/thing/product/services/flighttask_prepare"
@@ -109,6 +111,9 @@ module DjiMqttConnect
109
111
  autoload :FlighttaskRecoveryServicesMessage, "dji_mqtt_connect/messages/thing/product/services/flighttask_recovery"
110
112
  autoload :FlighttaskStopServicesMessage, "dji_mqtt_connect/messages/thing/product/services/flighttask_stop"
111
113
  autoload :FlighttaskUndoServicesMessage, "dji_mqtt_connect/messages/thing/product/services/flighttask_undo"
114
+ autoload :FlyToPointServicesMessage, "dji_mqtt_connect/messages/thing/product/services/fly_to_point"
115
+ autoload :FlyToPointStopServicesMessage, "dji_mqtt_connect/messages/thing/product/services/fly_to_point_stop"
116
+ autoload :FlyToPointUpdateServicesMessage, "dji_mqtt_connect/messages/thing/product/services/fly_to_point_update"
112
117
  autoload :LiveLensChangeServicesMessage, "dji_mqtt_connect/messages/thing/product/services/live_lens_change"
113
118
  autoload :LiveSetQualityServicesMessage, "dji_mqtt_connect/messages/thing/product/services/live_set_quality"
114
119
  autoload :LiveStartPushServicesMessage, "dji_mqtt_connect/messages/thing/product/services/live_start_push"
@@ -116,6 +121,7 @@ module DjiMqttConnect
116
121
  autoload :ReturnHomeServicesMessage, "dji_mqtt_connect/messages/thing/product/services/return_home"
117
122
  autoload :ReturnHomeCancelServicesMessage, "dji_mqtt_connect/messages/thing/product/services/return_home_cancel"
118
123
  autoload :ReturnSpecificHomeServicesMessage, "dji_mqtt_connect/messages/thing/product/services/return_specific_home"
124
+ autoload :TakeoffToPointServicesMessage, "dji_mqtt_connect/messages/thing/product/services/takeoff_to_point"
119
125
 
120
126
  autoload :ServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply_message"
121
127
  autoload :AlarmStateSwitchServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/alarm_state_switch"
@@ -125,6 +131,8 @@ module DjiMqttConnect
125
131
  autoload :DebugModeOpenServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/debug_mode_open"
126
132
  autoload :DroneCloseServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/drone_close"
127
133
  autoload :DroneOpenServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/drone_open"
134
+ autoload :FlightAuthorityGrabServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/flight_authority_grab"
135
+ autoload :FileuploadListServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/fileupload_list"
128
136
  autoload :FlighttaskExecuteServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/flighttask_execute"
129
137
  autoload :FlighttaskPauseServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/flighttask_pause"
130
138
  autoload :FlighttaskPrepareServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/flighttask_prepare"
@@ -132,6 +140,9 @@ module DjiMqttConnect
132
140
  autoload :FlighttaskRecoveryServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/flighttask_recovery"
133
141
  autoload :FlighttaskStopServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/flighttask_stop"
134
142
  autoload :FlighttaskUndoServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/flighttask_undo"
143
+ autoload :FlyToPointServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/fly_to_point"
144
+ autoload :FlyToPointStopServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/fly_to_point_stop"
145
+ autoload :FlyToPointUpdateServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/fly_to_point_update"
135
146
  autoload :LiveLensChangeServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/live_lens_change"
136
147
  autoload :LiveSetQualityServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/live_set_quality"
137
148
  autoload :LiveStartPushServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/live_start_push"
@@ -139,6 +150,7 @@ module DjiMqttConnect
139
150
  autoload :ReturnHomeServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/return_home"
140
151
  autoload :ReturnHomeCancelServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/return_home_cancel"
141
152
  autoload :ReturnSpecificHomeServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/return_specific_home"
153
+ autoload :TakeoffToPointServicesReplyMessage, "dji_mqtt_connect/messages/thing/product/services_reply/takeoff_to_point"
142
154
 
143
155
  autoload :StateMessage, "dji_mqtt_connect/messages/thing/product/state_message"
144
156
  autoload :StateReplyMessage, "dji_mqtt_connect/messages/thing/product/state_reply_message"
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.30.2
4
+ version: 0.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sphere Drones
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-10-10 00:00:00.000000000 Z
11
+ date: 2025-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -173,6 +173,7 @@ files:
173
173
  - lib/dji_mqtt_connect/messages/thing/product/events/flight_areas_sync_progress.rb
174
174
  - lib/dji_mqtt_connect/messages/thing/product/events/flighttask_progress.rb
175
175
  - lib/dji_mqtt_connect/messages/thing/product/events/flighttask_ready.rb
176
+ - lib/dji_mqtt_connect/messages/thing/product/events/fly_to_point_progress.rb
176
177
  - lib/dji_mqtt_connect/messages/thing/product/events/highest_priority_upload_flighttask_media.rb
177
178
  - lib/dji_mqtt_connect/messages/thing/product/events/hms.rb
178
179
  - lib/dji_mqtt_connect/messages/thing/product/events/offline_map_sync_progress.rb
@@ -219,6 +220,7 @@ files:
219
220
  - lib/dji_mqtt_connect/messages/thing/product/services/drone_open.rb
220
221
  - lib/dji_mqtt_connect/messages/thing/product/services/fileupload_list.rb
221
222
  - lib/dji_mqtt_connect/messages/thing/product/services/fileupload_start.rb
223
+ - lib/dji_mqtt_connect/messages/thing/product/services/flight_authority_grab.rb
222
224
  - lib/dji_mqtt_connect/messages/thing/product/services/flighttask_execute.rb
223
225
  - lib/dji_mqtt_connect/messages/thing/product/services/flighttask_pause.rb
224
226
  - lib/dji_mqtt_connect/messages/thing/product/services/flighttask_prepare.rb
@@ -226,6 +228,9 @@ files:
226
228
  - lib/dji_mqtt_connect/messages/thing/product/services/flighttask_recovery.rb
227
229
  - lib/dji_mqtt_connect/messages/thing/product/services/flighttask_stop.rb
228
230
  - lib/dji_mqtt_connect/messages/thing/product/services/flighttask_undo.rb
231
+ - lib/dji_mqtt_connect/messages/thing/product/services/fly_to_point.rb
232
+ - lib/dji_mqtt_connect/messages/thing/product/services/fly_to_point_stop.rb
233
+ - lib/dji_mqtt_connect/messages/thing/product/services/fly_to_point_update.rb
229
234
  - lib/dji_mqtt_connect/messages/thing/product/services/live_lens_change.rb
230
235
  - lib/dji_mqtt_connect/messages/thing/product/services/live_set_quality.rb
231
236
  - lib/dji_mqtt_connect/messages/thing/product/services/live_start_push.rb
@@ -233,6 +238,7 @@ files:
233
238
  - lib/dji_mqtt_connect/messages/thing/product/services/return_home.rb
234
239
  - lib/dji_mqtt_connect/messages/thing/product/services/return_home_cancel.rb
235
240
  - lib/dji_mqtt_connect/messages/thing/product/services/return_specific_home.rb
241
+ - lib/dji_mqtt_connect/messages/thing/product/services/takeoff_to_point.rb
236
242
  - lib/dji_mqtt_connect/messages/thing/product/services_message.rb
237
243
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/alarm_state_switch.rb
238
244
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/cover_close.rb
@@ -241,6 +247,7 @@ files:
241
247
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/debug_mode_open.rb
242
248
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/drone_close.rb
243
249
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/drone_open.rb
250
+ - lib/dji_mqtt_connect/messages/thing/product/services_reply/flight_authority_grab.rb
244
251
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/flighttask_execute.rb
245
252
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/flighttask_pause.rb
246
253
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/flighttask_prepare.rb
@@ -248,6 +255,9 @@ files:
248
255
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/flighttask_recovery.rb
249
256
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/flighttask_stop.rb
250
257
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/flighttask_undo.rb
258
+ - lib/dji_mqtt_connect/messages/thing/product/services_reply/fly_to_point.rb
259
+ - lib/dji_mqtt_connect/messages/thing/product/services_reply/fly_to_point_stop.rb
260
+ - lib/dji_mqtt_connect/messages/thing/product/services_reply/fly_to_point_update.rb
251
261
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/live_lens_change.rb
252
262
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/live_set_quality.rb
253
263
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/live_start_push.rb
@@ -255,6 +265,7 @@ files:
255
265
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home.rb
256
266
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/return_home_cancel.rb
257
267
  - lib/dji_mqtt_connect/messages/thing/product/services_reply/return_specific_home.rb
268
+ - lib/dji_mqtt_connect/messages/thing/product/services_reply/takeoff_to_point.rb
258
269
  - lib/dji_mqtt_connect/messages/thing/product/services_reply_message.rb
259
270
  - lib/dji_mqtt_connect/messages/thing/product/state_message.rb
260
271
  - lib/dji_mqtt_connect/messages/thing/product/state_reply_message.rb