Sha256: 40d803d426e2afa0044aed745fa20a1c748509b1eb43403fd50c5ba36982b2cc
Contents?: true
Size: 796 Bytes
Versions: 9
Compression:
Stored size: 796 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product # Cancel return to home # # After returning to home, the aircraft will exit the wayline mode. At this point, if the return-to-home command is canceled, the aircraft will hover. # # https://developer.dji.com/doc/cloud-api-tutorial/en/server-api-reference/mqtt/thing-model/gateway/dock/wayline.html#cancel-return-to-home class ReturnHomeCancelServicesMessage < ServicesMessage def self.build(bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) new( bid: bid, tid: tid, timestamp: timestamp, _method: "return_home_cancel" ) end attribute :_method, Types::String.enum("return_home_cancel") end end end
Version data entries
9 entries across 9 versions & 1 rubygems