Dion Rowney Posted June 21, 2021 at 05:44 AM Posted June 21, 2021 at 05:44 AM I use VR and wear glasses which makes taking the glasses off all the time to read the vPilot frequency list is irritating and ti,e consuming. I was considering making a plugin window like the FSKneeboard that simply shows a web page with the active controllers in the area and their frequencies, thus making it easier to adjust the in sim radio radio frequencies (this is the info you already show on the left panel). I could either try to replicate the list with you display with the controllers and frequencies using VATSIM APIs and math or thought it might be easier if I ask if you can expose the list as a simple web page via a web port on 127.0.0.1 when vPilot is started whoch may be easier since you already calculate and correlate that info. Would you be willing to add this info to the wish list? thanks Link to comment Share on other sites More sharing options...
Ross Carlson Posted June 21, 2021 at 02:28 PM Posted June 21, 2021 at 02:28 PM Adding a web API is something I've considered in the past, but there just hasn't been enough of a need for it. It may happen, but I wouldn't wait around for it. You would be better off using VATSIM APIs for this, or writing a vPilot plugin. The plugin system is not well-documented, but there is enough info to get you started here: https://vpilot.rosscarlson.dev/PluginInstructions.txt Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Dion Rowney Posted June 23, 2021 at 02:32 PM Author Posted June 23, 2021 at 02:32 PM I was considering your idea but didnt want to have to write the code that determined which controllers were available based on my location as the VATSIM API didnt seem to have anything that would return that info. I was going to have to reinvent your wheel logic of determining this and thought if you provided that somehow then I could not duplicate code. I think its ultimately better to only have 1 source for this but I can duplicate your logic too. It would be appreciated if you were able to share your logic / algorithm / code for this piece as it is the area I am unsure of the most. Then I could work on building the rest. dion Link to comment Share on other sites More sharing options...
Ross Carlson Posted June 23, 2021 at 02:52 PM Posted June 23, 2021 at 02:52 PM There is no logic/algorithm in vPilot for this. I just show all controllers that the server tells me about. So the logic to determine which controllers are in range is on the server side. I know that it is based on the aircraft altitude and the type of controller. CTR controllers have a longer range than APP, TWR, etc. Can you do a vPilot plugin? Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Dion Rowney Posted June 23, 2021 at 03:09 PM Author Posted June 23, 2021 at 03:09 PM I did not realize that VATSIM was only returning the list of "my" controllers as I was just connecting to the public API unauthenticated getting ALL. It makes so much more sense that once authenticated it could just show my the limited list based on my location. If this is retrievable from VATSIM then I wouldnt need to integrate as a plugin. Thanks Ross for pointing me in the correct direction. dion Link to comment Share on other sites More sharing options...
Ross Carlson Posted June 23, 2021 at 03:14 PM Posted June 23, 2021 at 03:14 PM 4 minutes ago, Dion Rowney said: If this is retrievable from VATSIM then I wouldnt need to integrate as a plugin. You would need to have an actual client connection to the server in order to get data on in-range controllers in the way that vPilot does. Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy Senior Controller, Boston Virtual ARTCC Link to comment Share on other sites More sharing options...
Dion Rowney Posted June 23, 2021 at 06:14 PM Author Posted June 23, 2021 at 06:14 PM This is true I suppose. Maybe Im still on the fence about the best direction and will have to experiment a bit Link to comment Share on other sites More sharing options...
Recommended Posts