Class: DjiMqttConnect::Thing::Product::DeviceExitHomingNotifyEventsMessage
- Inherits:
-
EventsMessage
- Object
- Dry::Struct
- Message
- EventsMessage
- DjiMqttConnect::Thing::Product::DeviceExitHomingNotifyEventsMessage
- Defined in:
- lib/dji_mqtt_connect/messages/thing/product/events/device_exit_homing_notify.rb
Overview
Notification of device exits the Return to Home (RTH) state developer.dji.com/doc/cloud-api-tutorial/en/server-api-reference/mqtt/thing-model/gateway/dock/wayline.html#notification-of-device-exits-the-return-to-home-rth-state developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/wayline.html#device-notification-of-return-to-home-exit-state
Constant Summary collapse
- ENTERING_EXIT_RTH_STATE_ACTION =
1
- EXIT_EXITING_RTH_STATE_ACTION =
0
Instance Method Summary collapse
Methods inherited from EventsMessage
#flight_ids, #humanized_summary, #need_reply?, #to_s
Methods inherited from Message
current_timestamp, generate_bid, generate_tid, #to_s
Instance Method Details
#humanized_summary_interpolation ⇒ Object
44 45 46 |
# File 'lib/dji_mqtt_connect/messages/thing/product/events/device_exit_homing_notify.rb', line 44 def humanized_summary_interpolation super.merge(action: data.humanized_action, reason: data.humanized_reason) end |