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

Add support for boolean & math operations #224

Open
3 tasks
nguyenquyhy opened this issue Mar 29, 2021 · 5 comments
Open
3 tasks

Add support for boolean & math operations #224

nguyenquyhy opened this issue Mar 29, 2021 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@nguyenquyhy
Copy link
Owner

nguyenquyhy commented Mar 29, 2021

@nguyenquyhy nguyenquyhy added the enhancement New feature or request label Mar 29, 2021
@nguyenquyhy nguyenquyhy changed the title Add support for math operations Add support for boolean & math operations Mar 29, 2021
@diaznet diaznet mentioned this issue Jul 19, 2021
@nguyenquyhy nguyenquyhy added this to the 0.44 milestone May 7, 2022
@RonPi
Copy link

RonPi commented Aug 11, 2022

I created an Angle of Attack button. Right now I have the limits at 0 on the right and 10 degrees* on the left. Alas, the units returned are in radians, and I think in degrees. Also, counterintuitively, an increased angle of attack yields smaller numbers. EG: level flight yields 3.142......... One degree would be 3.106......... Zero would be you are falling straight down. I would like to do as stated above add math to the end of "ANGLE OF ATTACK INDICATOR" to convert it to degrees.

This could be done as shown, or have an additional entry for "Math applied to value" or some such.

  • I am going to add a 2nd one with limits of Pi (0 degrees) and 3.072 (2 degrees). I find flying close to zero degrees yields the best range. I expect the exact speed and AoA will probably vary by plane. If you go faster, skin friction will rob you, and the torque to overcome it will cost you range. Perhaps just arriving at ZERO degrees and going no faster would do the job. You can't just pick a speed, as it also depends on the load you are carrying. Faster for a heavier load. Too great an angle of attack and you are flying uphill. I have done charts on this, but on the LearJet 45 I found that quite tedious when I noted their angle of attack gauge always read 0.1 degrees when I found the most economical speed, so I quit making the charts and just followed the gauge... for ascent, cruise and descent.

@nguyenquyhy
Copy link
Owner Author

nguyenquyhy commented Aug 11, 2022

Have you tried to put Unit as Degree, and put Minimum value > Maximum value in the gauge?

Edit: I tested putting Minimum > Maximum to see if the axis flips, but it doesn't work as what I expected. So I'll try to fix that. My intention was to allow those to be Start value and End value instead of Minimum and Maximum.

@RonPi
Copy link

RonPi commented Aug 12, 2022 via email

@nguyenquyhy
Copy link
Owner Author

No, there is an input field named "Unit" in the plugin. You can fill in "Degree" in there.

@RonPi
Copy link

RonPi commented Aug 30, 2022 via email

@nguyenquyhy nguyenquyhy modified the milestones: 0.45, 0.46 Oct 10, 2022
@nguyenquyhy nguyenquyhy modified the milestones: 0.47, 0.49 Dec 12, 2022
@nguyenquyhy nguyenquyhy modified the milestones: 0.49, 0.50 Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants