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

feat: added MSP_PILOT_CONFIG with user definable parameters #156

Merged
merged 8 commits into from
Sep 11, 2024

Conversation

egonl
Copy link
Collaborator

@egonl egonl commented Sep 6, 2024

The idea is that there will also be a Model page (in Lua/Configurator) where the user can define up to 3 parameters. Those parameters will then be set in rf2bg.lua.

Copy link
Owner

@rotorflight rotorflight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this fixing the MSP_NAME bug?

src/main/cli/settings.c Outdated Show resolved Hide resolved
@egonl
Copy link
Collaborator Author

egonl commented Sep 6, 2024

Is this fixing the MSP_NAME bug?

There is no MSP_NAME bug, just a poor implementation. Added new MSP_PILOT_CONFIG messages instead of trying to reuse MSP_NAME. - as discussed.

@egonl egonl requested a review from rotorflight September 7, 2024 00:04
@egonl
Copy link
Collaborator Author

egonl commented Sep 7, 2024

This PR now also fixes the MSP_NAME bug by reverting commit 52237ee.

src/main/cli/settings.c Outdated Show resolved Hide resolved
Copy link
Owner

@rotorflight rotorflight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once more little change needed!

@egonl
Copy link
Collaborator Author

egonl commented Sep 9, 2024

Thanks again, fixed!

@rotorflight rotorflight merged commit 36b58c7 into master Sep 11, 2024
1 check passed
@rotorflight rotorflight deleted the feat/pilot-config branch September 11, 2024 19:49
bob01 added a commit to bob01/rotorflight-firmware that referenced this pull request Sep 17, 2024
…mware into esc_sensor_fly

* 'master' of ssh://github.com/rotorflight/rotorflight-firmware:
  Fix HPF bug and cross-coupling scale (rotorflight#158)
  feat: add MSP_PILOT_CONFIG with user definable parameters  (rotorflight#156)
  Use HPF instead of derivative in Cyclic Cross-Coupling
  Add firstOrderHPF in filter.c
  Improved PID defaults (rotorflight#140)
  Refactor RC response & acceleration filter (rotorflight#153)
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.

2 participants