Disable Landing Gear subscription via config.#164
Open
AvatarSD wants to merge 1 commit intoumdlife:mainfrom
Open
Disable Landing Gear subscription via config.#164AvatarSD wants to merge 1 commit intoumdlife:mainfrom
AvatarSD wants to merge 1 commit intoumdlife:mainfrom
Conversation
Enabling it can cause communication errors on PSDK 3.8.1-3.11.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note: Enabling it can cause communication errors on PSDK 3.8.1-3.11.1
This pull request introduces a new parameter,
landing_gear_frequency, to the PSDK wrapper, enabling independent control over the subscription frequency of the landing gear status topic (DJI_FC_SUBSCRIPTION_TOPIC_STATUS_LANDINGGEAR). Previously, this topic was subscribed using the flight_status_frequency parameter.Changes
psdk_params.yaml) and documentation (GettingStarted.mdandGettingStarted.html).TelemetryModulenow useslanding_gear_frequencyto conditionally subscribe to the landing gear status topic, only subscribing if the frequency is greater than 0.psdk_wrapper.cpp, with a default value of 0 in the config file.