Skip to content

Comments

Added rust API functions, Improved diagnostic data on error#7

Merged
ntobler merged 4 commits intomainfrom
feature/rust_api
Aug 16, 2025
Merged

Added rust API functions, Improved diagnostic data on error#7
ntobler merged 4 commits intomainfrom
feature/rust_api

Conversation

@ntobler
Copy link
Owner

@ntobler ntobler commented Aug 8, 2025

  • Project now generates a rlib for rust projects. However, project is not deployed to crates.io yet
  • Added star extraction functions in rust (not used by python yet)
  • Improved error messages of StarMatcher.find. Now returns diagnostic data next to the reason of the failure.
  • Added a magnitude filter for the triangle lookup. This way the triangle lookup can be performed on a smaller set of bright stars (improves lookup performance), while the attitude matching is performed with all stars.
  • Replaced some Vec<_> parameters with slices.
  • Improved python API by using numpy parameters and return values instead of rust-native datatypes. This enables zero-copy passing of data if it is stored in a contiguous numpy array.

@ntobler ntobler force-pushed the feature/rust_api branch 3 times, most recently from 5816e11 to 58da852 Compare August 8, 2025 03:03
@guidoca
Copy link

guidoca commented Aug 8, 2025

Pipeline is failing

@ntobler ntobler merged commit 3e73f7e into main Aug 16, 2025
1 check 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.

2 participants