Skip to content

Disable Landing Gear subscription via config.#164

Open
AvatarSD wants to merge 1 commit intoumdlife:mainfrom
AvatarSD:bugfix/remove-landinggear
Open

Disable Landing Gear subscription via config.#164
AvatarSD wants to merge 1 commit intoumdlife:mainfrom
AvatarSD:bugfix/remove-landinggear

Conversation

@AvatarSD
Copy link
Copy Markdown

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

  • Added landing_gear_frequency parameter: Included in the configuration files (psdk_params.yaml) and documentation (GettingStarted.md and GettingStarted.html).
  • Updated telemetry subscription logic: The TelemetryModule now uses landing_gear_frequency to conditionally subscribe to the landing gear status topic, only subscribing if the frequency is greater than 0.
  • Parameter loading and validation: Added support for the new parameter in psdk_wrapper.cpp, with a default value of 0 in the config file.

Enabling it can cause communication errors on PSDK 3.8.1-3.11.1
@AvatarSD AvatarSD requested a review from a team as a code owner June 27, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant