Skip to content

Enhancements#1

Merged
VPRamon merged 4 commits into
mainfrom
enhancements
May 26, 2026
Merged

Enhancements#1
VPRamon merged 4 commits into
mainfrom
enhancements

Conversation

@VPRamon
Copy link
Copy Markdown
Member

@VPRamon VPRamon commented May 26, 2026

No description provided.

VPRamon added 2 commits May 26, 2026 22:04
- Updated the license identifier from AGPL-3.0-or-later to AGPL-3.0-only across multiple files.
- Expanded the `Eccentricity` struct to include methods for creating elliptic and hyperbolic eccentricities with error handling.
- Introduced `ConicRegime` enum to classify conic sections based on eccentricity.
- Added `EccentricityError` enum for detailed error reporting during eccentricity construction.
- Modified `KeplerianElements` to validate semi-major axis against eccentricity regime.
- Enhanced `try_to_cartesian` method to return errors for invalid gravitational parameters and semi-latus rectum.
- Introduced fallible versions of transfer helper functions, including `try_orbital_period`, `try_hohmann_delta_v`, `try_vis_viva_speed`, and `try_escape_speed`, with appropriate error handling.
- Added a new `prelude` module for convenient re-exports of commonly used items.
- Updated tests to reflect changes in anomaly handling and ensure coverage of new error paths.
@VPRamon VPRamon self-assigned this May 26, 2026
VPRamon added 2 commits May 26, 2026 22:08
…er calculations

- Implement tests for converting various error types to KeplerError in `error.rs`.
- Add tests for validating the propagation of hyperbolic states and handling parabolic states in `problem.rs`.
- Introduce tests for Lambert n-rev calculations in `lambert/typed.rs`.
- Enhance search functionality tests in `search.rs` to cover success and failure scenarios.
- Validate state cloning and velocity accessors in `state.rs`.
- Expand transfer function tests in `transfer.rs` to include orbital period and delta-v calculations.
- Remove outdated coverage tests from `coverage_extras.rs`.
@VPRamon VPRamon merged commit a7c1409 into main May 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant