Fix snippets
This commit is contained in:
22
CLAUDE.md
22
CLAUDE.md
@@ -204,8 +204,6 @@ These are knobs on the panel once that is built. Keyboard keys until then
|
||||
keyboard d for counterclockwise f for clockwise
|
||||
10. 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
|
||||
11. Noise filter for rain noise. This is for the ppi scopes. keyboard j for decrease filtering and k
|
||||
to increase filtering
|
||||
|
||||
Notes; I am maintaining control separation between radiogon, marine a scope bearing, and ppi bearing.
|
||||
However, when I make the control panel, those will be combined as one physical knob with three
|
||||
@@ -621,7 +619,21 @@ Individual scope informations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
// Fragment Shader snippet for a single radar return
|
||||
// The selected_range is from the operator control to select the maximum range of the radar
|
||||
// Options for traffic control are:
|
||||
1.5 nm range
|
||||
6 nm range
|
||||
12 nm range
|
||||
|
||||
// Options for boat radar are:
|
||||
1.0 nm range
|
||||
3 nm range
|
||||
6 nm range
|
||||
|
||||
|
||||
// Suggested Fragment Shader snippet for a single radar return
|
||||
// Please note that this is for the frag shader for each of
|
||||
// the ppi radars
|
||||
uniform float user_gain; // 0.0 to 1.0
|
||||
uniform float selected_range; // e.g., 6.0 Nautical Miles
|
||||
|
||||
@@ -679,7 +691,7 @@ PPI Radar Equiation
|
||||
Frequency - float frequency; 9.375 GHZ
|
||||
Wavelength - float wavelength; 0.032 meters
|
||||
Receiver Noise Figure - float nf; 11 dB
|
||||
System Losses - flost sl; 8 dB
|
||||
System Losses - float sl; 8 dB
|
||||
Antenna Beam Width - float beamwidth; 0.7 degrees
|
||||
Pulse width - float pulsewidth; 0.1 microsecond
|
||||
Pulse Rep Rate lookup table based on selected maximum range - float prf;
|
||||
@@ -687,6 +699,7 @@ PPI Radar Equiation
|
||||
6 nm range PRF 2000. HZ
|
||||
12 nm range 1000. HZ
|
||||
Radar Antenna Rotation Rate float antenna_rpm; 15 RPM
|
||||
Radar Antenna Gain - float radar_antenna_gain_db; 34 dB
|
||||
|
||||
Receiver gain notes:
|
||||
Raw gain is about 100 dB
|
||||
@@ -721,6 +734,7 @@ PPI Radar Equiation
|
||||
6 nm range 1000. HZ
|
||||
Pulse width - float pulsewidth; 0.1 microsecond
|
||||
Radar Antenna Rotation Rate float antenna_rpm; 25 RPM
|
||||
Radar Antenna Gain - float radar_antenna_gain_db; 31 dB
|
||||
|
||||
Receiver gain notes:
|
||||
Raw gain is about 100 dB
|
||||
|
||||
Reference in New Issue
Block a user