• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Variable units

Messages
160
Anyone got the slightest clue what the angular velocity units .....

minute per round
and
nice minutes per round

actually are?
 
Googling these units doesn't yield anything usable, so they're probably really obscure or simply BS.
 
Think you are talking about angular period = inverse of angular frequency(angular velocity)

Time taken to revolve (round) 360 degrees.

Could you provide some context?
 
related to turn indicators? eg "2 min turn" = 2 minutes to make a full 360 degree turn.

Some context would be helpful.
 
360 degrees in 2 minutes is 3 degrees per second. It's the radius and speed of the aircraft that changes. The angular velocity in a rate 1 turn is constant no matter what aircraft.

As to your OP, minutes per round is a term I do not know.
 
Last edited:
What I am trying to do is to create an AI wheel for AI aircraft. (similar to the always visible FS9 wheel)
As FS9 doesn't appear to have "CENTER WHEEL ROTATION ANGLE" that is available to FSX, I was looking at other ways and trying to decide if it was possible.

I thought of using a G:Var along with wheel rpm in degrees/sec, and doing an addition, with a modulo reset eg

(A:CENTER WHEEL RPM,degree per second) (G:Var1) + 360 % (>G:Var1) (G:Var1)

But no go.
Not looking good!

I think what is happening is that it works OK up until it goes over 360 degree per second then it stays at keyframe 0.
No idea how to do this.
 
Last edited:
How many keyframes do you have in 1 rotation of the wheel? That should be the number you use for the modulo division.

What is the reason you don't want to use the default wheel rotation? This approach may end up with the same animation in FS, if this A: variable reports the actual rotation of a default wheel. Never tested that, though.
 
Hi Tom,
I need it for a project where I need to simulate the same rotation speed as the always visible wheel in FS9, but I need to able to control when it rotates.

Been looking at the MakeMDL file, I might be able to use something based on the anemometer code....

(A:ANEMOMETER PCT RPM,percent) 6 * (E:ABSOLUTE TIME, second) * 360 %

but using...
(A:CENTER WHEEL RPM,degree per second) (E:ABSOLUTE TIME, second) * 360 %

The only issue maybe that the (A:CENTER WHEEL RPM,degree per second) will probably exceed 100, and would therefore need if/els ??????
 
If you will only control it after it has stopped rolling you could create two wheels, one animated as a wheel, the other not animated at all. Then control them using visibility code in the XML file.
 
I had thought of that.
The drawback is that you can't guarantee both wheels are at the same rotation position, so there would probably be a noticeable 'switch'.
 
Yes, there would be a little glitch, true.

Well having tried out various code, I have concluded, its impossible to do an XML rotated wheel.
for one reason only (I think).
Lets say the wheel is turning and is at 345 degrees which is keyframe 345.
The next time it is checked the wheel is turning at 25 degrees/sec.
345 + 25 = 365
Even normalising the angle to 5 degrees results in....
The wheel turning backwards from keframe 345 to keyframe 5, not forwards.

May have to go with Toms idea and put up with a noticeable switch.
 
As to your OP, minutes per round is a term I do not know.

You're right mate, minutes per round simple does not exist. The sentence would be rpm (revolutions per minute); where 1 revolution = 360º = 6.283183 radians.

Try using A:Airspeed select indicated or true,knots as input to implement your angular velocity.

If you relate a circle (the wheel) with the airspeed (translation), you may use the formula v = r w (product) where v= tangential velocity in meters/second , r=radius of your wheel in meters and w = angular velocity in radians/second. I am not a programmer, however this relations are true for two kinds of movements in a solid (your airplane). If the airplane is moving @ 20 knots and your wheel radius is 0.4 m, the angular velocity is easy to obtain:

1 knot = 0.5144444 m/s
1 revolution = 360º = 6.283183 radians
1 feet = 0.3048 m

First, convert knots to meters / second (m/s)

20 kn = (20 kn * 0.514444 m/s) / 1 kn knots in numerator and denominator cancel each other and you have m/s.

20 kn = 10.28888 m/s
w = v /r
w = (10.28888 m/s) / 0.4 m
w = 25.7222 rad/s

See this:

Hope it may help,
Sergio.
 
Last edited:
Back
Top