tle_generator.py- Purpose: Generates a TLE file for N satellites in one orbital plane — a full evenly spaced ring by default, or a tight arc with
--spacing-degso all satellites stay in line of sight of each other. - Usage:
- Satellites are named
<prefix><n>(defaultSATELLITE-1..N) so they match the satellite names inconfig.toml. Defaults reproduce the walker66 orbit (86.4° inclination, 14.35663288 rev/day). - CLI:
python3 Class/tle_generator.py 5 test/configs/plane5.tle— options--prefix,--first-index,--inclination,--raan,--altitude-km(overrides--mean-motion),--mean-motion,--phase-offset,--spacing-deg,--epoch,--overwrite. - Python:
generate_tle_text(...)returns the TLE text;write_tle(path, ...)writes it (refuses to overwrite unlessoverwrite=True).
- Satellites are named
- Related Files:
- Backs the
generate_tletool inmcpServer.py.
- Backs the
- Purpose: Generates a TLE file for N satellites in one orbital plane — a full evenly spaced ring by default, or a tight arc with