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

ekf2: symforce zero more efficiently #23133

Merged
merged 2 commits into from
May 17, 2024
Merged

ekf2: symforce zero more efficiently #23133

merged 2 commits into from
May 17, 2024

Conversation

dagar
Copy link
Member

@dagar dagar commented May 14, 2024

  • increase symforce CppConfig zero_initialization_sparsity_threshold so that a Matrix setZero() call is performed instead of individually zeroing

This saves ~ 1500 bytes of flash on px4_fmu-v5.

@dagar dagar added the EKF2 label May 14, 2024
@dagar dagar requested a review from bresch May 14, 2024 18:44
bresch
bresch previously approved these changes May 17, 2024
Copy link
Member

@bresch bresch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was my secret stash of flash space to add more things later :,D

dagar and others added 2 commits May 17, 2024 09:34
 - increase symforce CppConfig zero_initialization_sparsity_threshold so
   that a Matrix setZero() call is performed instead of individually zeroing
@bresch bresch merged commit d359f62 into main May 17, 2024
92 of 93 checks passed
@bresch bresch deleted the pr-ekf2_symforce_zero branch May 17, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants