Skip to content

Conversation

davidhjp01
Copy link
Collaborator

Update to libcosimpy for supporting ecco algorithm.

  • Using the latest libcosim/libcosimc
  • Ecco API
  • Using conan v2
  • Added type checking

Note, we can start integrating https://github.com/pybind/pybind11 gradually so that libcosimpy uses libcosim directly (not libcosimc). Though this requires (almost complete) rewrite of libcosimpy.

@davidhjp01 davidhjp01 requested a review from restenb April 30, 2025 17:29
@davidhjp01 davidhjp01 marked this pull request as draft May 2, 2025 05:52
Copy link
Member

@restenb restenb left a comment

Choose a reason for hiding this comment

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

LGTM.

@dataclass
class EccoParams(Structure):
"""
Ecco algorithm parameters. All parameters are in seconds.
Copy link
Member

Choose a reason for hiding this comment

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

All parameters are in seconds.

Are they? At least p_gain, safety_factor I'd expect to be unitless.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

True, will update it

@davidhjp01 davidhjp01 marked this pull request as ready for review May 5, 2025 12:57
@davidhjp01 davidhjp01 marked this pull request as draft May 5, 2025 16:04
@davidhjp01 davidhjp01 marked this pull request as ready for review May 6, 2025 07:17
@davidhjp01 davidhjp01 merged commit 25dc1de into master May 6, 2025
11 checks passed
@davidhjp01 davidhjp01 deleted the ecco branch May 6, 2025 07:19
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