-
Notifications
You must be signed in to change notification settings - Fork 49
432 new mixing system #438
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
Merged
Merged
Changes from 50 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
a45aa08
Adds option to use mixer based on motor positions and motor parameters.
JMoore5353 8ddf21e
Adds option to use mixer based on motor positions and motor parameters.
JMoore5353 4750c9c
Merge branch '432-new-mixing-system' of github.com:rosflight/rosfligh…
JMoore5353 70e7c9b
changed controller to output forces and torques
JMoore5353 f41077f
added parameters for the new mixing matrix calculations
JMoore5353 2caff09
Added custom mixer that uses Ch. 14 mixer equations. Also uses Ch. 4 …
JMoore5353 ab5ec00
added maximum throttle param from RC controller to maintain controlla…
JMoore5353 20e5d63
Scales thrust commands by RC_MAX_THROTTLE to maintain controllability
JMoore5353 c068882
Computes the mixing matrix using the SVD, which doesn't dynamically a…
JMoore5353 fbc2fe3
fixing code style
JMoore5353 69dc3af
return type qualifier fix
JMoore5353 cc75f32
added libeigen3-dev to workflow runs
JMoore5353 04d14e3
Added Eigen dependency to all boards.
JMoore5353 b28b910
Moved Eigen package to common/CMakeLists.txt
JMoore5353 b76ede7
Added hardcoded, precomputed mixing matrices for standard aircraft
JMoore5353 ef17b47
fixed include error
JMoore5353 a6ced22
Added find eigen call back
JMoore5353 6c5e163
Moved Eigen dependency back to the rosflight_firmware CMakeLists.txt
JMoore5353 6821d10
removed the quadplane mixing matrix to avoid confusion since it doesn…
JMoore5353 537d75b
added flag to switch between fixedwing mixing and multirotor mixing.
JMoore5353 10ebc1d
default F behavior for fixedwings is passthrough to mixer instead of …
JMoore5353 a571d4b
refactored some names and got rid of unused dependencies
JMoore5353 e0ece54
changed the mixer pwm outputs to be compatible with Varmint and Pixra…
JMoore5353 ed08c3b
recomputed canned mixers and added mixer parameters to the firmware
JMoore5353 a3ac22b
removed unused parameters and fixed mixing matrix paramter names
JMoore5353 3d62203
Update the input forces to include Fx and Fy
JMoore5353 180a3cb
added mixer header values to the parameter list
JMoore5353 8816fd8
fixed Fz for the canned mixers, since we are in NED frame
JMoore5353 274df44
changed mixer indices for clarity and fixed some bugs when using cust…
JMoore5353 bcd88bd
fixed aux channels not getting initialized. Changed the way servos ar…
JMoore5353 c6c66db
Added parameter to choose which axis the RC throttle corresponds to
JMoore5353 9d85c98
added support for secondary mixer
JMoore5353 be8a43a
some updates to the unit tests
JMoore5353 8dfbba3
minor code cleanup
JMoore5353 935548d
added descriptions to some parameters
JMoore5353 9416b66
changed eigen dependency to be fetch content so it is more platform i…
JMoore5353 0ee7dde
removed iostream dependency and dead function calls
JMoore5353 4173d59
removed air density as a parameter. Using ideal gas law
JMoore5353 ff54382
renamed NONE to AUX since it is only used for AUX channels
JMoore5353 e0eee63
added error checking for RC F axis selection
JMoore5353 1f01b73
reworked the way mixers were assigned to use the enums instead of the…
JMoore5353 100fe33
replaced the load parameter methods with a loop
JMoore5353 9552981
eigen now a git submodule
JMoore5353 af4b8da
fixed the calculation for air density
JMoore5353 e0a9a7d
Merge branch 'main' into 432-new-mixing-system
JMoore5353 cfa96c8
changed the array_of_mixers to use pointers to reduce storage
JMoore5353 5a10a2f
removed custom mixer from list since it is not used
JMoore5353 e839dd3
changed how rc throttle override works and updated unit tests
JMoore5353 2fa588e
updated cmake to suppress compiler warnings for 3rd party eigen code
JMoore5353 82aa146
updated version for mavlink library to main
JMoore5353 6f2f889
removed eigen from other github workflows
JMoore5353 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
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
JMoore5353 marked this conversation as resolved.
Show resolved
Hide resolved
|
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
JMoore5353 marked this conversation as resolved.
Show resolved
Hide resolved
|
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
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this still v1.0? |
Submodule v1.0
updated
7 files
| +1 −1 | common/version.h | |
| +145 −97 | rosflight/mavlink_msg_named_command_struct.h | |
| +139 −91 | rosflight/mavlink_msg_offboard_control.h | |
| +3 −3 | rosflight/mavlink_msg_rosflight_version.h | |
| +6 −4 | rosflight/rosflight.h | |
| +20 −16 | rosflight/testsuite.h | |
| +1 −1 | rosflight/version.h |
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.
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.