Board index FlightGear Support Multiplayer

What is the meaning of transmission-freq-hz?  Topic is solved

Trouble getting online, setting up a server?
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- copy&paste your commandline.

Please, also see Requesting Technical Help.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

What is the meaning of transmission-freq-hz?

Postby vanosten » Sat Apr 13, 2019 5:11 pm

Hi

What is the meaning of /sim/multiplay/transmission-freq-hz? When looking at the values submitted, I see values like 118500000. However I would have guessed more something like 10 (i.e. sending packages every 0.1 seconds).

Rick
Maintaining osm2city. Contributing with ground attack stuff to the OPRF FlightGear military-simulation community.
vanosten
 
Posts: 540
Joined: Sat Sep 25, 2010 6:38 pm
Location: Denmark - but I am Swiss
Pronouns: he/his
Callsign: HB-VANO
Version: latest
OS: Win 10 and Ubuntu

Re: What is the meaning of transmission-freq-hz?  

Postby wkitty42 » Sat Apr 13, 2019 6:14 pm

that looks like the transmission frequency of a radio... since it is in Hz, one would need to multiply it by 0.0001 to get Mhz or 0.0000001 to get Ghz...

if you're just now seeing this, i suspect it is due to the recent work on FGCom and the MP protocol so that the radios will work better over MP...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: What is the meaning of transmission-freq-hz?

Postby WoodSTokk » Mon Apr 15, 2019 12:47 am

wkitty42 wrote in Sat Apr 13, 2019 6:14 pm:…, one would need to multiply it by 0.0001 to get Mhz or 0.0000001 to get Ghz...


10 times is deka (greek: 10)
100 times is hekto (greek: 100)
1,000 times is kilo (greek: 1000)
1,000,000 times is mega (greek: great)
1,000,000,000 times is giga (greek: giant)

multiply with .001 to get kHz
multiply with .000001 to get MHz
multiply with .000000001 to get GHz

PS: want write greek words but the forum/database dont accept it
WoodSTokk
 
Posts: 1077
Joined: Tue Oct 17, 2017 3:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: SX-W57
IRC name: WoodSTokk
Version: 2020.4.0
OS: Debian Bullseye

Re: What is the meaning of transmission-freq-hz?

Postby wkitty42 » Mon Apr 15, 2019 3:12 am

oops! my math was off but i hope that it still helped some how... old age and meds, ya know?? :)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: What is the meaning of transmission-freq-hz?

Postby Richard » Mon Apr 15, 2019 5:58 am

vanosten wrote in Sat Apr 13, 2019 5:11 pm:What is the meaning of /sim/multiplay/transmission-freq-hz? When looking at the values submitted, I see values like 118500000. However I would have guessed more something like 10 (i.e. sending packages every 0.1 seconds).


It actually seems to have no meaning and could possibly be removed.

It has a default value set in defaults.xml and the only current usage I can find relates to HLA. This property first appeared 12 years ago and appears to be related to the radio frequency selected possibly as part of the multiplayer chat dialog that isn't used anymore (or maybe was never used).

Recently I added support into the built in FGCom for setting sim/multiplay/comm-transmit-frequency-hz when push to talk is active on a COMM frequency.
Richard
 
Posts: 810
Joined: Sun Nov 02, 2014 11:17 pm
Version: Git
OS: Win10

Re: What is the meaning of transmission-freq-hz?

Postby wkitty42 » Mon Apr 15, 2019 5:33 pm

ahhh... i was thinking it was your's, richard... thanks for the clarification, sir :)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: What is the meaning of transmission-freq-hz?

Postby Richard » Tue Apr 16, 2019 9:27 pm

Unless there are objection I'm going to remove /sim/multiplay/transmission-freq-hz from defaults and change it to not be transmitted
Richard
 
Posts: 810
Joined: Sun Nov 02, 2014 11:17 pm
Version: Git
OS: Win10

Re: What is the meaning of transmission-freq-hz?

Postby mickybadia » Tue Apr 16, 2019 9:42 pm

As I said in passing elsewhere, the only person you might just barely expect an objection from is an OpenRadar developer, which does encode this property, but to my knowledge never reads it anywhere.
So I would say go ahead, and you thereby recover the few bytes you had to use to encode the new (PTT-triggered) one to the Hz. So I feel less bad about pressing you to ;-)
mickybadia
 
Posts: 475
Joined: Tue Sep 24, 2013 10:12 am

Re: What is the meaning of transmission-freq-hz?

Postby sim » Sat Apr 20, 2019 10:52 am

User avatar
sim
 
Posts: 1431
Joined: Tue Jun 30, 2009 3:13 pm
Location: Shropshire England
Callsign: Fly4Fun
Version: 0.9.10 up
OS: 64 Win 10 HD6450

Re: What is the meaning of transmission-freq-hz?

Postby barta » Mon Jun 08, 2020 2:17 pm

Well, I read this property with a script of an ai-based ATC that I'm developing...

By the way, there seem to be no standard way to set/get/transmit radio properties. i.e: Is the radio on (powered)? both comm1 and 2 frequencies are usualy transmitted, but there is no way to detect which one the plane is using for outbound communication
"When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return."
- Leonardo da Vinci
barta
 
Posts: 36
Joined: Thu Mar 05, 2009 1:24 am
Location: On the air, preferrably


Return to Multiplayer

Who is online

Users browsing this forum: No registered users and 2 guests