-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wls] make WLS lib, add support for guidance_indi_hybrid (#3115)
* [wls] make WLS lib, add support for guidance_indi_hybrid * [wls] update test program * [wls] restore static matrix size for WLS * [wls] update test prog * [indi] ABI thrust message to 3D vector (#3116) * [indi] ABI thrust message to 3D vector Common WLS for innerloop and outerloop Co-authored-by: Christophe De Wagter <dewagter@gmail.com> * Bound defaults to min in case of NaN --------- Co-authored-by: Christophe De Wagter <dewagter@gmail.com> * [guidance_indi] lift effectiveness and set stabilization limits in WEAK (#3117) * do not allow code to run with insufficient matrix sizes * Prefer not to roll when able. * [wls] only check size if WLS is used --------- Co-authored-by: Christophe De Wagter <dewagter@gmail.com> Co-authored-by: Ewoud Smeur <e.j.j.smeur@tudelft.nl>
- Loading branch information
1 parent
59fac57
commit 01ac335
Showing
16 changed files
with
243 additions
and
88 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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,27 @@ | ||
<!DOCTYPE module SYSTEM "module.dtd"> | ||
|
||
<module name="wls" task="core"> | ||
<doc> | ||
<description> | ||
Weighted Least Square optimization algorithm. | ||
|
||
Used for dynamic allocation of actuators, in particular | ||
with INDI-based control algorithms. | ||
|
||
The size of the matrix (output vs. objectives) must be defined large | ||
enough for all the controllers | ||
</description> | ||
<define name="WLS_N_U" value="4" description="size of the control output vector (default: 6)"/> | ||
<define name="WLS_N_V" value="4" description="size of the control objectives vector (default: 4)"/> | ||
</doc> | ||
<header> | ||
<file name="wls_alloc.h" dir="math/wls"/> | ||
</header> | ||
<makefile> | ||
<file name="wls_alloc.c" dir="math/wls"/> | ||
<file name="qr_solve.c" dir="math/qr_solve"/> | ||
<file name="r8lib_min.c" dir="math/qr_solve"/> | ||
<test/> | ||
</makefile> | ||
</module> | ||
|
This file contains 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 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 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.