-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[WIP] Implement INDI control law with supporting infrastructure #25216
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
Open
rohan908
wants to merge
34
commits into
PX4:main
Choose a base branch
from
acp-lab:pr-indi
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
3027a1b
indi
rohan908 756baa1
Corrected and caluclated all inertial and constants for x500 drone!
rohan908 afb6f58
Fixed nu to properly implement tilt-priotized error
rohan908 5d388b1
stopping point, still need to fix thrust clamps in params AND add rat…
rohan908 2fce64e
not working, but realized that control allocator has an adaptive effe…
rohan908 33ba896
old imp before moving to torque
rohan908 10f431b
added indi flag in commander, added publishing of control effectivnes…
rohan908 ff00bd0
compile errors
rohan908 6c39a4b
removed deprecated indi_att_control module
rohan908 38f5029
control effectiveness publishing is not working in ControlAllocator.cpp
rohan908 3926a8d
tuned INDI commands
rohan908 2d52733
plotting and windy world changes
rohan908 4e78aba
setting gains of control matrix as px4 params
rohan908 9f9a106
Merge branch 'main' into pr-indi
rohan908 1153de0
changed modificed mc_rate to mc_indi_rate, added conditional start in…
rohan908 791b453
revert commander and control allocator modules to main branch
rohan908 a5fa2f5
removed all edits related to urob topics for enabling indi and actuat…
rohan908 00ba1d7
added back mc_rate_control from main
rohan908 790af59
effectiveness done, still working on adaptive
rohan908 d5662d7
adaptive effectiveness added, needs tuning of mu1 and mu2
rohan908 705f413
added new implementation of indi
rohan908 73818c9
code compiles but doesn't work
rohan908 ae27648
params successfully loaded in but setpoint from indi is not finite
rohan908 39fb863
I believe the code works, but I need an accurate ct and km in SI units
rohan908 b0dbd5c
Merge branch 'pr-indi' of https://github.com/acp-lab/PX4-Autopilot-IN…
rohan908 d6ccb01
Merge branch 'main' into pr-indi
rohan908 aef7adf
Merge branch 'pr-indi' of https://github.com/acp-lab/PX4-Autopilot-IN…
rohan908 9163a34
i think it works?!
rohan908 d1cad7c
Merge branch 'main' into pr-indi
rohan908 c2170d2
clean up params for metric geo group and new adaptibility group
rohan908 8cc00c8
forgot to debug before commit lol
rohan908 6e10dd8
Merge branch 'pr-indi' of https://github.com/acp-lab/PX4-Autopilot-IN…
rohan908 0b56151
cleaned up vscode settings.json
rohan908 5577d08
formatting
rohan908 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Actuator effectiveness matrix for a single matrix | ||
| uint64 timestamp | ||
|
|
||
| uint8 NUM_AXES = 6 | ||
| uint8 NUM_ACTUATORS = 16 | ||
|
|
||
| # Effectiveness matrix (flattened row-major) | ||
| # 6 rows, 16 columns | ||
| float32[96] effectiveness_matrix_row_major | ||
|
|
||
| # Number of actuators used in this matrix | ||
| uint8 num_actuators |
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.