Files
updated-radar/CLAUDE.md

69 lines
2.8 KiB
Markdown

This is a project for a museum to demonstrate a simulation of a 1940's to 1960's
vintage radar, including the Chain Home radar from early World War 2, marine radar,
and air traffic control radar
The project will be implemented on a Geekom A8 Max
32 GB RAM
AMD Ryzen 9 8945HS w/ Radeon 780M Graphics
We need to render to the Radeon 780M Graphics GPU
Tech Stack: We are using C++20, OpenGL 3.3 Core, GLFW, GLAD, FreeType, GDAL (libgdal-dev)
Compiler: is g++ (Ubuntu 15.2.0-4ubuntu4) 15.2.0
FreeType is the text type we use
GDAL is used for reading the LIDAR/ENC chart files
GLFW (graphics library framework) open-source, multi-platform library used to manage windows
GLAD (Multi-Language GL/GLES/WGL/GLX Loader-Generator) Loads the pointers to
OpenGL functions (like glDrawArrays or glCompileShader)
PostgreSQL is installed. Database: radar. User: radar. Password: radar.
User has full privileges on database radar. Table is target_data.
Operating system details:
Distributor ID: Ubuntu
Description: Ubuntu 25.10
Release: 25.10
Codename: questing
Use cmake for building.
I will be using SSH from Windows to write code and check with claude.
You may compile the code during an SSH session.
Please do not try to run the code during SSH session.
I will run the code while physically using the Geekom.
Please add MIT license header to each file
Please add Author: Mark Allyn to each file
Use snake_case for variables and PascalCase for classes
use #pragma once
Use // for single line comments
use /* */ for multiple block comments spanning multiple lines
avoid using auto
_______________________________________________________
Summary of project:
This is a museum exhibit displaying and providing interaction
of vintage 1940's, 1950's, and 1960's radars. A key objective is to
provide interaction and viewing of the frustrations of using
radars in that era. The different radars are:
Scopes in the right panel
1. A-scope for Chain Home Radar in the 1940's (first radar and could be tricky)
2. A-scope for marine radar in the 1950's (Before PPI radar. Was a bit tedious to operate
3. PPI scope for marine traffic control (uses beam sweeping in all 360 degrees of
rotation; Easier to use than a scope
4. PPI scope for air traffic control; similar to PPI scope for marine, but with different range
5. PPI scope on board a boat. Shows how movement of a boat affects the radar display
6. Precision Approach Radar (Two scopes; one showing horizontal movement of a plane
in the glide path toward the runway, and the other showing vertical movement of a plane
as it glides vertically down to the runway.
Text window in the left panel for descriptions of the scopes and a listing of controls
Controls to affect the behavior of the scopes; (these first implemented using keyboard
strokes; later when physical controls are completed, the keyboard controls will be removed.