Skip to content

Conversation

@nateinaction
Copy link
Collaborator

Description

This PR updates the Lis2mdlManager and Lsm6dsoManager with learnings from #76.

  • We found a built-in method to convert between Zephyr sensor readings and float64 so we no longer need the Helpers class
  • We extracted device instantiation to Main.cpp to allow multiple instances of the component to be created.
  • We standardize using m_ prefix to signify member variables and use this-> notation whenever referencing them

Related Issues/Tickets

How Has This Been Tested?

Verified component still works:
Captura de pantalla 2025-11-03 a la(s) 21 05 38

  • Unit tests
  • Integration tests
  • Z Tests
  • Manual testing (describe steps)

Screenshots / Recordings (if applicable)

Checklist

  • Written detailed sdd with requirements, channels, ports, commands, telemetry defined and correctly formatted and spelled
  • Have written relevant integration tests and have documented them in the sdd
  • Have done a code review with
  • Have tested this PR on every supported board with correct board definitions

Further Notes / Considerations

@nateinaction nateinaction marked this pull request as ready for review November 4, 2025 23:38
Copy link
Contributor

@Mikefly123 Mikefly123 left a comment

Choose a reason for hiding this comment

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

LGTM Nate! I think we can merge this

Comment on lines +22 to +23
# DEPENDS
# FprimeZephyrReference_Components_Drv_Helpers
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# DEPENDS
# FprimeZephyrReference_Components_Drv_Helpers

Should we just remove this if the Helpers are gone?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You've got a point. I guess I left this line because for every generated component it is commented out. It doesn't say FprimeZephyrReference_Components_Drv_Helpers but instead MyPackage_MyOtherModule: https://github.com/Open-Source-Space-Foundation/proves-core-reference/blob/main/FprimeZephyrReference/Components/Burnwire/CMakeLists.txt#L22-L23

I think it's OK to leave this for now but maybe we should go remove them from all packages if we end up doing a cleanup some day...

@nateinaction nateinaction merged commit 497f48a into main Nov 5, 2025
5 of 6 checks passed
@nateinaction nateinaction deleted the update-lis2mdl-lsm6dso branch November 5, 2025 01:51
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.

3 participants