Update for radar testing and operation and added first component .md file

This commit is contained in:
2026-06-13 22:14:09 -07:00
parent 3711121e0f
commit 0d95fac945
5 changed files with 101 additions and 21 deletions

View File

@@ -200,26 +200,32 @@ Overall control information
These are knobs on the panel once that is built. Keyboard keys until then
1. Intensity - scope overall intensity - Keyboard 3 is lower; 4 is higher - uniform is float intensity;
2. Receiver Sensitivity - signal intensity - Keyboard 5 is lower; 6 is higher - uniform is float sensitivity;
3. STC Sensitivity - sensitivity for closer in targets which can overwhelm
1. Radar Selection - which radar to run. Selection is done with up or down; the radars are to be
in the selection order as follows 1, chain_home; 2, marine_ascope; 3, marine_traffic; 4, police boat.
When the application is started, chain_home is current selection. You go up, then marine_ascope is
selected. And so on. Then you hit enter to activate the selected radar. The Keyboard is 1 for going
forward; 2 for going backward. Note that when a radar is operating, you can go back to the selection
bt using the 1 key to go back to the selection.
2. Intensity - scope overall intensity - Keyboard 3 is lower; 4 is higher - uniform is float intensity;
3. Receiver Sensitivity - signal intensity - Keyboard 5 is lower; 6 is higher - uniform is float sensitivity;
4. STC Sensitivity - sensitivity for closer in targets which can overwhelm
overall sensitivity - keyboard q for lower; w for higher - uniform is float stc_sensitivity;
4. STC Range - range to which sensitivity to closer targets is effective
5. STC Range - range to which sensitivity to closer targets is effective
keyboard e for lower; r for higher - uniform is float stc_range;
5. Noise filter for rain noise. This is for the ppi scopes. keyboard t for decrease filtering and y
6. Noise filter for rain noise. This is for the ppi scopes. keyboard t for decrease filtering and y
to increase filtering - uniform is float noise_filter;
6. Radiogoniometer knob for Chain Home; keyboard u for left turn;
7. Radiogoniometer knob for Chain Home; keyboard u for left turn;
i for right turn. - uniform is float radiogoniometer;
7. Maximum Range for all scopes except for chain home, which is fixed. This control
8. Maximum Range for all scopes except for chain home, which is fixed. This control
will not operate for Chain Home. These maximum
range selections will be defined for each scope; If you try to go beyond the stated
maximum ranges, the control will have no effect; note that the default maximum range would
be the highest for that scope; keyboard o for lower; p for higher uniform is float max_range;
8. Range Cursor (for ppi scopes, not for a scopes)
9. Range Cursor (for ppi scopes, not for a scopes)
keyboard a for lower; s for higher - uniform is float range_cursor;
9. Bearing Cursor (for all ppi scopes; not for a scopes)
10. Bearing Cursor (for all ppi scopes; not for a scopes)
keyboard d for counterclockwise f for clockwise uniform is float bearing_cursor;
10. Bearing for Marine A Scope. This is not for a cursor, but this operates the motor
11. Bearing for Marine A Scope. This is not for a cursor, but this operates the motor
that revolves the antenna unit keyboard g for counterclockwise and h for clockwise
uniform is float marine_a_bearing;
@@ -436,11 +442,21 @@ data structure.
Here is a suggested global data for managing the radars:
struct radar_management_structure {
int radar_type // 1 is chain_home; 2 is marine_ascope; 3 = marine_traffic 4 = police_boat
int operatable; // 1 is yes, 0 is no
int available; // 1 is yes, 0 is no - this is the one controled by the exhibit owner
int selected; // 1 is currently operating, 0 is not operating
int testing; // What is being developed and tested; 1 = overall management
including startup and radar selectionr,
2 = chain_home, 3 = marine_ascope, 4 = marine_traffic, 5 = police_boat, 6 = traffic_cop,
7 = simulator, and 8 = raspberry pi receiver
};
Note that if a radar is in testing, no other radars can be available. Also testing code can be used
to work on the radar being tested and developed
In the global data, we need these items:
struct radar_management_structure radar_management;
int current_radar; // 0 is none; 1 is chain_home; 2 is marine_ascope; 3 is marine_traffic; 4 is police_boat