Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose rotation parameters to Python #175

Open
ChristopherRabotin opened this issue Jan 17, 2024 · 0 comments
Open

Expose rotation parameters to Python #175

ChristopherRabotin opened this issue Jan 17, 2024 · 0 comments

Comments

@ChristopherRabotin
Copy link
Member

High level description

The current ANISE library offers functionality for handling rotation parameters (including fetching the Direction Cosine Matrix (DCM) and converting it to Quaternion or Modified Rodrigues Parameters (MRPs)) exclusively in Rust. This functionality needs to be exposed to Python users. The implementation should:

Requirements

  1. Feature Parity: Ensure Python users have access to the same rotation parameters functionalities as Rust users.
  2. Functionality: Include the ability to fetch the DCM of a given set of rotations and convert it to Quaternion or MRPs.
  3. Integration: Seamlessly integrate with the existing Python modules in ANISE, maintaining consistency in usage and design.
  4. Allow initialization and conversion into numpy arrays.

Test plans

To validate the implementation, the following test plans will be executed:

  • Copy the same unit tests from Rust into a Python test
  • Test initialization from numpy array
  • Test conversion to a numpy array

Design

Deciding whether to wrap the Rust implementation for Python use or rewrite the functionality in Python, considering performance and maintenance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant