vibe coding an orbital mechanics simulation to try out claude code
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cinnaboot
4699b08a94
Session: Local frame spacecraft maneuvering with planning system
Implemented maneuver planning system for spacecraft with time-based and true anomaly triggers:
**New Module: src/maneuver**
- TriggerType enum (TIME, TRUE_ANOMALY)
- Maneuver struct with burn parameters, trigger conditions, execution state
- Burn execution: apply_impulsive_burn() for 6 directions
- Trigger checking: check_maneuver_trigger() with orbital calculations
**Simulation State Integration:**
- Added maneuver array to SimulationState
- create_simulation() now takes max_maneuvers parameter
- Maneuvers execute automatically in update_simulation()
- Config loading handles [[maneuvers]] sections
**Config File Support:**
- [[maneuvers]] sections with name, spacecraft_name, trigger_type, trigger_value, direction, delta_v
- Validate spacecraft exists before loading
- Validate maneuver names are unique
- Parse trigger_type and direction strings to enums
**Code Quality:**
- Refactored update_simulation into 5 helper functions
- Single responsibility per function
- Cleaner, more readable code
**Test Coverage:**
- 5 new tests for maneuver planning (26 assertions)
- Config loading validation
- Time-based trigger execution
- True anomaly trigger execution
- Single execution guarantee
- Duplicate name validation
**Test Results:** 5/5 tests passing (100%)
- All existing tests continue to pass
**Documentation:**
- docs/maneuver_planning_plan.md - Full design specification
- docs/refactor_update_simulation.md - Refactoring plan
**Total Changes:**
- Files: 18 created/modified
- Net: +823 lines of well-documented, tested code
|
6 months ago |
| .. |
|
2025-01-18-body-selection-ui.md
|
Add session summary for body selection UI implementation
|
6 months ago |
|
2026-01-03-renderer-development.md
|
move docs/sessions to docs/session_summaries
|
6 months ago |
|
2026-01-04-condensing-documentation.md
|
move docs/sessions to docs/session_summaries
|
6 months ago |
|
2026-01-04-readme-condensing.md
|
add session summary format
|
6 months ago |
|
2026-01-04-refactor-orbital-elements.md
|
Rename bodies.h/cpp to simulation.h/cpp
|
6 months ago |
|
2026-01-05-soi-bug-and-dynamic-orbits.md
|
Add session summary for 2026-01-05
|
6 months ago |
|
2026-01-07-remove-headless-consolidate-docs.md
|
add session summary
|
6 months ago |
|
2026-01-07-rename-bodies-to-simulation-and-refactor-velocities.md
|
add session summary
|
6 months ago |
|
2026-01-07-toml_config_migration.md
|
add session summary
|
6 months ago |
|
2026-01-09-hierarchical-coordinate-frames-phase1-2.md
|
Add session summary for hierarchical coordinate frames implementation
|
6 months ago |
|
2026-01-13-parabolic-hyperbolic-testing.md
|
Add session summary for parabolic/hyperbolic testing
|
6 months ago |
|
2026-01-13-remove-simulation-dependencies-from-physics.md
|
add llm session summary
|
6 months ago |
|
2026-01-16-mission-planning-and-soi-simplification.md
|
add session summary
|
6 months ago |
|
2026-01-18-config-display-and-rendering-fixes.md
|
add session summary
|
6 months ago |
|
2026-01-18-mission-planning-leo-impulse-burn.md
|
Move implementation session summary to session summaries
|
6 months ago |
|
2026-01-20-hohmann-transfer-fix.md
|
add session summary for hohmann transfer work
|
6 months ago |
|
2026-01-20-invalid-parent-assignment-bug-resolution.md
|
Add session summary: Invalid Parent Assignment Bug Resolution
|
6 months ago |
|
2026-01-22-maneuver-planning-implementation.md
|
Session: Local frame spacecraft maneuvering with planning system
|
6 months ago |
|
ui_implementation_summary.md
|
Update implementation plans for completed UI feature
|
6 months ago |