FlightMechanics.jl icon indicating copy to clipboard operation
FlightMechanics.jl copied to clipboard

Use boundaries in optimization process for trimmer

Open AlexS12 opened this issue 4 years ago • 8 comments

Current situation Right now the optimization process for trimming an aircraft does not use the control surfaces limits to constrain the results.

Objective

Tests for F16 trimming against Stevens passing without iterating out of controls surfaces ranges. Even if all the trimming validation done against Stevens for F16 converges to the same values. High Angle Of Attack (HAOA) cases require to iterate with out of range values to converge.

Avoid mutable struct for FCS As the FCS must be configured to allow out of range iteration and set back to the original values in the trimmer, it is now a mutating structure. Some other solutions to this situation may be proposed, but this would indirectly be solved if trimmer does not need out of range values.

AlexS12 avatar May 07 '20 11:05 AlexS12

Is the current lack of Darwin arm64 support the cause for this?

cf install-plugin Targets -r CF-Community                               zsh   100  19:37:17 
Searching CF-Community for plugin Targets...
Plugin Targets 1.2.0 found in: CF-Community
Attention: Plugins are binaries written by potentially untrusted authors.
Install and use plugins at your own risk.
Do you want to install the plugin Targets? [yN]: y
Starting download of plugin binary from repository CF-Community...
 9.13 MiB / 9.13 MiB [======================================================================================================================================] 100.00% 0s
signal: segmentation fault
File is not a valid cf CLI plugin binary.
FAILED

piejanssens avatar Nov 02 '22 18:11 piejanssens

@guidowb Can you review this one, please?

piejanssens avatar Nov 10 '22 11:11 piejanssens

Hi @piejanssens , @guidowb

I got same issue : image

i061653@MacBookPro Downloads % cf install-plugin /Users/i061653/Downloads/cf-targets-plugin Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk. Do you want to install the plugin /Users/i061653/Downloads/cf-targets-plugin? [yN]: y signal: segmentation fault File is not a valid cf CLI plugin binary. FAILED i061653@MacBookPro Downloads % system_profiler SPSoftwareDataType SPHardwareDataType Software:

System Software Overview:

  System Version: macOS 13.0.1 (22A400)
  Kernel Version: Darwin 22.1.0
  Boot Volume: Macintosh HD
  Boot Mode: Normal
  Computer Name: D42YFT6DF7
  User Name: I061653 (i061653)
  Secure Virtual Memory: Enabled
  System Integrity Protection: Enabled
  Time since boot: 3 days, 39 minutes

Hardware:

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: MacBookPro18,1
  Model Number: MK183CH/A
  Chip: Apple M1 Pro
  Total Number of Cores: 10 (8 performance and 2 efficiency)
  Memory: 16 GB
  System Firmware Version: 8419.41.10
  OS Loader Version: 8419.41.10
  Serial Number (system): D42YFT6DF7
  Hardware UUID: 8D16055B-7CFA-53C5-996C-9F925833AFE0
  Provisioning UDID: 00006000-001818621AD2801E
  Activation Lock Status: Disabled

weisensen avatar Dec 08 '22 09:12 weisensen

You need to build from the source since arm64 does not exist in the repo.

On Thu, Dec 8, 2022 at 1:48 AM Wei Sensen @.***> wrote:

Hi @piejanssens https://github.com/piejanssens , @guidowb https://github.com/guidowb

I got same issue : [image: image] https://user-images.githubusercontent.com/8147601/206414260-63095c4e-bbc1-4157-94c1-f1ee22fd5d91.png

@.*** Downloads % cf install-plugin /Users/i061653/Downloads/cf-targets-plugin Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk. Do you want to install the plugin /Users/i061653/Downloads/cf-targets-plugin? [yN]: y signal: segmentation fault File is not a valid cf CLI plugin binary. FAILED @.*** Downloads % system_profiler SPSoftwareDataType SPHardwareDataType Software:

System Software Overview:

System Version: macOS 13.0.1 (22A400) Kernel Version: Darwin 22.1.0 Boot Volume: Macintosh HD Boot Mode: Normal Computer Name: D42YFT6DF7 User Name: I061653 (i061653) Secure Virtual Memory: Enabled System Integrity Protection: Enabled Time since boot: 3 days, 39 minutes

Hardware:

Hardware Overview:

Model Name: MacBook Pro Model Identifier: MacBookPro18,1 Model Number: MK183CH/A Chip: Apple M1 Pro Total Number of Cores: 10 (8 performance and 2 efficiency) Memory: 16 GB System Firmware Version: 8419.41.10 OS Loader Version: 8419.41.10 Serial Number (system): D42YFT6DF7 Hardware UUID: 8D16055B-7CFA-53C5-996C-9F925833AFE0 Provisioning UDID: 00006000-001818621AD2801E Activation Lock Status: Disabled

— Reply to this email directly, view it on GitHub https://github.com/guidowb/cf-targets-plugin/pull/22#issuecomment-1342391270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADI6CKFZQXMZ4IIVI4XNSQLWMGVFZANCNFSM6AAAAAAQB4YY4Q . You are receiving this because you authored the thread.Message ID: @.***>

-- Norman Abramovitz Technical Director 888 7th Avenue, New York, NY 10106 @.*** www.qarik.com https://535720725-atari-embeds.googleusercontent.com/embeds/16cb204cf3a9d4d223a0a3fd8b0eec5d/www.qarik.com

http://www.qarik.com/

https://www.facebook.com/qarikgroup https://twitter.com/qarikgroup https://www.instagram.com/qarikgroup/ https://www.linkedin.com/company/qarik/

norman-abramovitz avatar Dec 08 '22 15:12 norman-abramovitz

osx-arm64 build: cf-targets-plugin.zip

$ cf install-plugin cf-targets-plugin
Attention: Plugins are binaries written by potentially untrusted authors.
Install and use plugins at your own risk.
Do you want to install the plugin cf-targets-plugin? [yN]: y
Installing plugin cf-targets...
OK

Plugin cf-targets 1.2.0 successfully installed.

piejanssens avatar Jan 29 '23 09:01 piejanssens

Is there a way to get this change merged or request any additional changes to complete the integration so that the osx arm plugin is also available?

norman-abramovitz avatar Apr 30 '24 16:04 norman-abramovitz

@guidowb would you be willing to hand over the repo or move this to an org?

piejanssens avatar Aug 14 '24 08:08 piejanssens

@piejanssens I forked my repo to cloudfoundry community and made releases of the binaries there. I have yet to contact the maintainers of cli-plugin-repo to find out how to deal with what seems to be abandoned repos.

norman-abramovitz avatar Aug 16 '24 19:08 norman-abramovitz