Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fest(flysky): Flysky Gimbal 2.0 Sync Sampling Support #5869

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

richardclli
Copy link
Collaborator

@richardclli richardclli commented Feb 5, 2025

Flysky works out a new version of firmware that can support sync sampling:

  1. Upon init the gimbal will operate in backward compatible mode (i.e. old EdgeTX will works after the gimbal firmware is upgraded)
  2. New firmware will check the version of the firmware to see if sync mode is supported
  3. New driver will send command to the gimbal for sync sampling

The gimbal driver changes:

  1. It will automatic obtain the version of the gimbal to check if sync sampling is available
  2. The default operation mode is backward compatible mode, will switch to sync modes only when new version of gimbal firmware is detected
  3. Based on sampling frequency, the driver will automatically switch to sync sampling mode (<= 400Hz - switching threshold) or sync resampling mode (> 400Hz)

Testing:

  1. Not breaking the operation of existing old gimbals including the gimbal of GX12
  2. Flysky firmware seems to have some problems now, trying to verifying with them.

@richardclli richardclli added this to the 2.11 milestone Feb 5, 2025
@richardclli richardclli self-assigned this Feb 5, 2025
@richardclli richardclli marked this pull request as draft February 5, 2025 08:55
@richardclli richardclli force-pushed the feat-flysky-gimbal-sync-sampling branch 2 times, most recently from 3d0a61f to be0b0ee Compare February 7, 2025 02:29
@richardclli richardclli marked this pull request as ready for review February 7, 2025 07:04
@richardclli richardclli force-pushed the feat-flysky-gimbal-sync-sampling branch from d42f76f to 886d3f0 Compare February 7, 2025 07:12
@richardclli richardclli force-pushed the feat-flysky-gimbal-sync-sampling branch from aa547f3 to 71408e9 Compare February 8, 2025 01:39
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