• 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.

Tcas page

Messages
278
Country
ca-britishcolumbia
Hey All
Trip is going well except the weather. After doing some housekeeping on my radar gauge I have come to the TCAS page. Scrolling through the forums, it is realized that Doug Dawson's modified traffic.dll is the way to go.

http://www.fsdeveloper.com/forum/showthread.php?t=286468&highlight=tcas

Unfortuantly using the example that Bill provided and reading Arne Bartles XML Traffic Radar 2.0.1 i cant get it to function does anyone have any further reading or suggestions on this topic?

Thanks
Greg

Code:
<!--**************** TCAS Update ****************-->   
  35 (&gt;C:fs9traffic:timeSeparationTA,number)
  0 (&gt;C:fs9traffic:timeSeparationRA,number)
  1 (&gt;C:fs9traffic:distSeparationTA,number)
  0 (&gt;C:fs9traffic:distSeparationRA,number)
  1200 (&gt;C:fs9traffic:altSeparationTA,number)
  0 (&gt;C:fs9traffic:altSeparationRA,number)

Code:
  <Element>
    <Position X="600.0" Y="550.0"/>
    <Visible>(L:TCASDisplay, bool)</Visible>
    <CustomDraw Name="fs9traffic:radar" X="600" Y="550" Bright="Yes" SymbolSize="3.5" Brightness="255" FixedResolution="1" OtherColour="0x7fffff">
      <CenterX>300</CenterX>
      <CenterY>275</CenterY>
      <Heading>(A:GPS GROUND TRUE HEADING, degrees)</Heading>
      <TrackUp>0</TrackUp>
      <Range>(L:map_ZoomFactor, number)</Range>
      <PadSymbols>1</PadSymbols>
      <MaxRange>50</MaxRange>
      <MaxNumAct>100</MaxNumAct>
      <Heading>(A:GPS GROUND TRUE HEADING, degrees)</Heading>
      <OtherAboveAlt>(L:TCASAbove,number) (L:TCASNormal,number) or if{ 2700 } els{ 0 }</OtherAboveAlt>
      <OtherBelowAlt>(L:TCASBelow,number) (L:TCASNormal,number) or if{ 2700 } els{ 0 }</OtherBelowAlt>
      <ProximityAboveAlt>(L:TCASAbove,number) (L:TCASNormal,number) or if{ 1200 } els{ 0 }</ProximityAboveAlt>
      <ProximityBelowAlt>(L:TCASBelow,number) (L:TCASNormal,number) or if{ 1200 } els{ 0 }</ProximityBelowAlt>
    </CustomDraw>
      </Element>
 
Another solution for FSX is to create an XML based TCAS I or II system that includes the traffic map and alert protocol. ITrafficInfo variables can give you all the necessary AI or multiplayer traffic information from which a traffic overlay to the CustomDraw map can be made. They also provide the basis for the appropriate Proximate Traffic, Traffic Advisories, Resolution Advisories and Inhibits. Only Complementary RAs (mutual avoidance maneuvers) cannot be replicated - those are not possible in Flight Simulator.

Using this approach, you can limit traffic surveillance to the TCAS II standard of 30 NM and about 30 Intruder aircraft, fully replicate FAA and ICAO TCAS II alert protocol using closest point of approach algorithms, and create and use your own, realistic looking, custom traffic symbols that change with different alert status. When map scale is calibrated, the TCAS overlay can be superimposed on the CustomDraw map base, including terrain display if desired. Accuracy is in the single physical pixel (screen pixel) range.

Greg, I cover this in detail, with complete XML examples, in the CustomDraw guidebook .... which will be released by years-end.

Bob
 
Last edited:
Thanks for the insight Bob. I can hardly wait for your guidebook release. From what I have seen so far is amazing and easy to figure out, even for me. I will continue to play with this and wait for you to release your Guidebook. Thanks again and reserve me a copy...

Cheers Greg
 
Thanks for the insight Bob. I can hardly wait for your guidebook release. From what I have seen so far is amazing and easy to figure out, even for me. I will continue to play with this and wait for you to release your Guidebook. Thanks again and reserve me a copy...

Cheers Greg

Well, I hope you will find that the explanations are adequate. XML TCAS is actually the most challenging gps-related thing I have ever done in this little FS hobby. By far. So, if you want to go the XML TCAS route, then make a big pot of coffee and be prepared to get into the detail of a lot of new topics. In the end, you'll be rewarded with a high-end knowledge of what is capable using the FS gps module including CustomDraw.

XML TCAS complexities include understanding FSX map projection systems, understanding the difference between CustomDraw map scale and XML gauge units and developing a zoom-scalable transform between the two, coming up with a simple but very accurate scale calibration method, figuring out vector rotation solutions to the TrackUp=1 coordinate rotation problem, and, of course, deciphering the ITrafficInfo variables to create a nearest Traffic search.

There are a lot of cool things that are possible when you get further into XML CustomDraw maps. For example, distance and bearing measurement using the mouse, adding or deleting flight plan waypoints with a mouse click, nearest searches from a mouse click point (a kind of "touch screen" app), radar gauge upgrades, and TCAS I and II systems.

Way more fun than sudoku.

Bob
 
Back
Top