Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hi,

 

Using Arne's radar gives a good pic of the traffic around in a horizontal plane.

Did someone succeed to get an image of the vertical in front of you with say the velocity vector as center?

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Replies 31
  • Views 4.2k
  • Created
  • Last Reply

Top Posters In This Topic

Hi Jan,

 

FS9 or FSX?

 

In FSX XML you can do pretty much anything using ITrafficInfo variables to retrieve traffic information and then spatially filter as desired. Using that to create an image with XML is also possible but certainly more involved. 

 

In FS9, Arne's module is the only one out there that I am aware of that can access traffic information.  It's been a while since I read his documentation, but I would guess that custom filtering the traffic might not be an option.  To add a little more here, Arne's module should access and then display traffic at all altitudes - his docs discuss basic TCAS alert algorithms which are a function of relative altitude.

 

Finally, I believe that Tom Aguilo has developed a TCAS gauge that filters traffic to display aircraft predominantly in front of the user aircraft, in a teardrop pattern as opposed to a spherical pattern, thus replicating real TCAS more closely.  I dont know if his image rendering is XML or C++, but maybe it's C++.  I dunno.

 

Hope this helps ... hope it's close to a proper response anyway.  I am sure you already know all of this, so apologies if I have misunderstood your question.

 

Bob

Jan, One additional comment ... in FSX CustomDraw, one can select Track Line when displaying LayerVehicles using the TCAS symbol.

 

I presume Track Line is what you mean by velocity vector?

 

All airborne A/I aircraft within map view will be displayed using the diamond shape "TCAS symbol" plus the velocity vector = Track Line, regardless of altitude of A/I traffic or bearing from User Aircraft.

 

Bob

Forward looking radar cone has been done in xml  without using Arne's radar in three aircraft,

Aerosoft F-16 , VRS Superbug , and Milviz F-15E , there may be others that I am unaware of.

As far as I can tell they portray AI traffic based on either the velocity vector or the waterline , then

generate a  square angular cone off that , and probably limit the range to mimic reality ,

I'm not sure , but suspect that there may be beam tilt included.

 

Eric Marciano has done that also , but his are in C++ I presume.

 

Regards slant ground returns , I have not seen one , I presume it would require one of the

following to implement:

(1) Somehow accessing both the scenery BGL and Mesh , but how ?

(2) Probably much easier , using  " FS View "  , then giving the display a monochrome tint similar

  to EBN., then having to devise a method to place that instrument in a panel without having  to

   provide a cutout clear hole behind the instrument.

  Getting a 'grainy' or pixelated look might be a challenge.

 Unfortunately you would not get deadspot black shadows cast behind mountains.

 

Caution:  " FS View " is a frame rate hog .

 

 

 

Cheers

Karol

  • Author

Sorry,

 

Forgot to mention,HUD, FS9 and only xml.

To clarify, i mean a forward looking radar with symbols showing distance and vector.

Azimuth and altitude relative to the plane's velocity vector.

Personally i think it is hardly possible, but it would be something to chase an AI with my 767.....

Btw, with the "normal" TCAS/Radar it is good to do also, but rather difficult to construct carets etc.

Jan

 

 

 

"Beatus ille qui procul negotiis..."

I just read through Arne's documentation again, and my two cents worth is that a new FS9 TrafficInfo.dll-to-xml module would need to be written, or Arne's edited, to provide information via XML variables about all AI or multiplayer traffic.  In other words, to create ITrafficInfo variables for FS9.

 

According to his documentation, Arne's module provides traffic information such as distance, bearing and speed but only for a single AI target that is chosen via mouse click.  However, to accomplish what you want to do in FS9, I believe what's needed is an indexed list of traffic information such as lat/lon and altitude, and to make things even a little easier, ground track, speed, bearing from user aircraft.  If that were available, everything else could be done in xml.

 

Of course, if one were to edit Arne's module, then the forward-looking spatial filtering and custom symbol work could be taken care of in the C++.

 

Bob

  • Author

Thanks for all answers.

 

At least not to do for me.

Jan

 

 

 

"Beatus ille qui procul negotiis..."

It's years ago that I last looked at  Arne's radar , but you do have the variabes for it.

At the attached link if you scroll down you will see a screenshot ,of my radar feeding 

AI text data to the HUD , that is done in FSX ,

http://www.fsdeveloper.com/forum/showthread.php?t=425596

 

While it is not the optimal graphic visuals that you are after it does allow precis air to air

intercepts and formation flying.

By utilising the the  L variables provided by Arne's radar you should be able generate

sufficient text data  for your HUD with an on/off switch that allows the radar to feed 

data across to your HUD to enable intercepts.

 

Cheers

Karol

  • Author

How do you lock on one plane?

If one moves the mouse, all data are lost.

Jan

 

 

 

"Beatus ille qui procul negotiis..."

The mouse is move X;Y , how does it identify the AI it is hovering over ?

If data is being read off a AI then it  must have a unique identity.

 

Cheers

Karol

  • Author

I know, but wonder if it is possible to keep that data for use, after moving the mouse.

Then you could use them for moving an object over the HUD.

Will have a look and report if succesful

Jan

 

 

 

"Beatus ille qui procul negotiis..."

I did think about reversing the order of  it's function.

ie;

Mouse (move X;Y)  goes to AI , and gets AI data.

then (reversing the order)

AI data drives the move X;Y to maintain an ongoing readout of AI parameters

 

Unfortunately I couldn't see how you would get a  Geocalc  functioning.

The infuriating thing is that the information is all there , but , how do you access it.

 

If only you could separate the data from the mouse , and get the mouse to nominate the

specific AI  of interest.

 

Sorry if all I'm doing is rambling.

 

Cheers

Karol

This relates to FSX , however I have a feeling that both FS9 and FSX   Traffic modules are similar to a degree.

If you can get hold of the Microsoft Air traffic radar , it has several xml elements , one of those is

titled "sessions "  , it might be worth looking at it , it has a GPS style loop that relates to traffic.

Below is a sample.

It might be possible to identify an individual AI , even if only by it's index number , I'm not sure

if it will work in FS9 , but I suspect it might .

 

Cheers

Karol

 

Loop code:

			    <Element id="TGT_Data_Calc">
                        <FloatPosition>0.000,25.000</FloatPosition>
                        <GaugeText id="GaugeText">
                            <Bright>True</Bright>
                            <FontColor>0x93FF72</FontColor>
                            <FontFace>Gloucester MT Extra Condensed</FontFace>
                            <FontHeight>16</FontHeight>
                            <GaugeString>%((L:Filter) (>C:ITrafficInfo:Filter))
								%((L:ListFirstVis) 16 + (C:ITrafficInfo:ListSize) min s2)
								%{if}%((L:ListFirstVis) sp1)
									%{loop}%(l1 (>C:ITrafficInfo:CurrentVehicle))
									%((C:ITrafficInfo:SelectedVehicle) l1 == )
									%{if}\{rev}\{blc=@FontColor}%{end}
                                    %((A:PLANE LATITUDE, radians) rddg dnor (>C:fs9gps:GeoCalcLatitude1,degrees)
									(C:ITrafficInfo:S:PLANE LATITUDE, radians) rddg dnor (>C:fs9gps:GeoCalcLatitude2,degrees)
									(A:PLANE LONGITUDE, radians) rddg dnor (>C:fs9gps:GeoCalcLongitude1,degrees)
									(C:ITrafficInfo:S:PLANE LONGITUDE, radians) rddg dnor (>C:fs9gps:GeoCalcLongitude2,degrees)
									(C:fs9gps:GeoCalcBearing,degrees) (A:Plane heading degrees true, degrees) - 360 % dnor s0
										180 > 
										if{ 360 l0 - /-/ } els{ l0 } (>L:Target_Bearing, number)
									(C:fs9gps:GeoCalcDistance,nmiles) (>L:Target_Distance, number))

									%((C:ITrafficInfo:S:GROUND VELOCITY, knots) (>L:Target_Groundspeed, number))%

									%((C:ITrafficInfo:S:PLANE ALTITUDE, feet) (>L:Target_Altitude, number))%
									
									%((C:ITrafficInfo:S:Vertical speed,feet per minute) (>L:Target_VSI, feet per minute))

									%((C:ITrafficInfo:S:PLANE HEADING DEGREES TRUE, radians) rddg (>L:Target_Heading, number))%

									\{nr}
									%(l1 ++ s1 l6 < d)
									%{if}\n\{lsp=16}%{end}
									%{next}
								%{end}%
					        </GaugeString>
							<Size>4,2</Size>
                            <Transparent>True</Transparent>
                        </GaugeText>
                </Element>
  • Author

Thanks,

 

but those values don't work in Fs9.

It is possible to store the AI variables in L:Var's and construct a "lock" in the HUD with relative altitude and bearing.

Only..., the pic is static, so you have to move the mouse to alter the pic.

In this shot there is a lock on a plane with data in the right lower corner

Jan

 

 

 

"Beatus ille qui procul negotiis..."

but those values don't work in Fs9.

 

Right, the ITrafficInfo xml variables are not available in FS9.  Karol might be correct that the FS9 and FSX traffic modules are similar, but that should be qualified to say only if you work with them in C++.  The xml interface isn't similar.  MSFT didnt provide one for FS9 and Arne's module is not a full ITrafficInfo toolbox.

 

Arne's module gives the FS9 xml user a few traffic information variables (that can be stored), but only for a single target and only for a point in time defined by a mouse click.  I dont see how it could be automatically tracked.

 

Bob

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.