Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

TCAS limitations


Tom Stian Bjerk 853618
 Share

Recommended Posts

Tom Stian Bjerk 853618
Posted
Posted

Hi, im flying an aircraft with the possibility to see traffic +/- 9900ft.

 

It works as expected with AI traffic, but when flying online at VATSIM the traffic disappears at 5000ft.

 

Is it any TCAS altitude limitations with X-Plane 10/11 and flying online at VATSIM ?

Link to comment
Share on other sites

Mathew Sutcliffe
Posted
Posted

This is a limitation set in the open source library that XSquawkBox uses for rendering traffic:

 

// Maximum altitude difference in feet for TCAS blips
#define		MAX_TCAS_ALTDIFF		5000

swift - Developer
Link to comment
Share on other sites

Tom Stian Bjerk 853618
Posted
Posted (edited)

Thanks for your reply.

 

Is it possible for me to change that ?

Edited by Guest
Link to comment
Share on other sites

Bradley Grafelman
Posted
Posted
Is it possible for me to change that ?

Yes, as long as you're comfortable with recompiling the software (looks like they're using CMake).

Link to comment
Share on other sites

Tom Stian Bjerk 853618
Posted
Posted
Is it possible for me to change that ?

Yes, as long as you're comfortable with recompiling the software (looks like they're using CMake).

 

Well.. Its been a long time since I was compiling stuff..

 

I guess I need the sourcecode for xSquawkbox to do this recompile.

http://www.xsquawkbox.net/xsb/faq/ (at bottom)

Dont think they will give me that But it would be nice to increase the ALTDIFF.

Link to comment
Share on other sites

Bradley Grafelman
Posted
Posted
I guess I need the sourcecode for xSquawkbox to do this recompile.

Why would you guess that? The library referenced is (at least, at first glance it is) completely independent of XSB.

Link to comment
Share on other sites

Mathew Sutcliffe
Posted
Posted

It is statically linked, so you would indeed need the XSB source.

swift - Developer
Link to comment
Share on other sites

Bradley Grafelman
Posted
Posted
It is statically linked

Ah. Bummer.

Link to comment
Share on other sites

Tom Stian Bjerk 853618
Posted
Posted

Thank you both Mathew and Bradley for the information.

 

@Mathew, will swift support a greater MAX_TCAS_ALTDIFF ?

Link to comment
Share on other sites

Mathew Sutcliffe
Posted
Posted

We use a fork of the same library, so yes we could just change that value.

swift - Developer
Link to comment
Share on other sites

 Share