You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After many hours of poking around in EdgeTX/OTX code I have become very confused. I have not been able to follow the path of how the telemetry values entered into telemetrysimu.cpp/ui, are eventually displayed on the simulated transmitter TELEMETRY display. Nor have I discovered which .cpp file displays these values in a simulated radiomaster tx16s telemetry display (or any other simulated transmitter screen).
I know the values are combined into a 'packet' along with its particular ID and INSTANCE, but from there I lose the trail. I know that the companion simulator uses the radio code, but do not know which .cpp in the RADIO code decodes these packets and then displays the data on the simulated transmitter TELEMETRY screen. Not being familiar with touch screen programming, I do not understand how the data is placed on the screen. I also do not understand how the radio code knows if it is receiving this code from the simulator or if it is being used in an actual transmitter.
Would it be possible to get something like a block diagram showing the path of this data from the entry screen generated by telemetrysimu.cpp/ui to the simulated display?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After many hours of poking around in EdgeTX/OTX code I have become very confused. I have not been able to follow the path of how the telemetry values entered into telemetrysimu.cpp/ui, are eventually displayed on the simulated transmitter TELEMETRY display. Nor have I discovered which .cpp file displays these values in a simulated radiomaster tx16s telemetry display (or any other simulated transmitter screen).
I know the values are combined into a 'packet' along with its particular ID and INSTANCE, but from there I lose the trail. I know that the companion simulator uses the radio code, but do not know which .cpp in the RADIO code decodes these packets and then displays the data on the simulated transmitter TELEMETRY screen. Not being familiar with touch screen programming, I do not understand how the data is placed on the screen. I also do not understand how the radio code knows if it is receiving this code from the simulator or if it is being used in an actual transmitter.
Would it be possible to get something like a block diagram showing the path of this data from the entry screen generated by telemetrysimu.cpp/ui to the simulated display?
Beta Was this translation helpful? Give feedback.
All reactions