-
I am trying to understand how Companion code handles the telemetry ID numbers. In telemetrysimu.cpp it sets the id numbers in the code listed below. Before it can SET the ID’s it has to know what they are. However, I have searched the entire cpp and can not find where it obtains the ID values. It doesn’t open any files, no signals and slots are associated, and no global variables. So where the heck do the values come from? SET_INSTANCE(rxbt_inst, BATT_ID, 0); Also, where is the code that creates and updates the telemetry screen for a radiomaster tx16s in the companion simulator? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It’s a window form that you can open as a side window. Don’t remember the exact button though. |
Beta Was this translation helpful? Give feedback.
-
@dwheeld Companion Simulator is a wrapper to run a simplified version of the radio code and allow interaction. As the code is not running on a physical radio a lot of runtime radio functions have to be 'faked' or disabled. |
Beta Was this translation helpful? Give feedback.
@dwheeld Companion Simulator is a wrapper to run a simplified version of the radio code and allow interaction. As the code is not running on a physical radio a lot of runtime radio functions have to be 'faked' or disabled.
IDs from radio/src/telemetry/frsky.h
The telemetry screen is also the radio code.