Skip to content

Variable drifter depth#306

Merged
j-atkins merged 5 commits intomainfrom
drifter_depth
Mar 9, 2026
Merged

Variable drifter depth#306
j-atkins merged 5 commits intomainfrom
drifter_depth

Conversation

@j-atkins
Copy link
Collaborator

@j-atkins j-atkins commented Mar 9, 2026

This PR implements variable drifter/drogue depth functionality in VirtualShip.

  • Tests updated

@j-atkins j-atkins requested a review from erikvansebille March 9, 2026 09:02
Copy link
Member

@erikvansebille erikvansebille left a comment

Choose a reason for hiding this comment

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

Looks good, especially with the test. One comment below, bt that could be picked up in another pR?

Comment on lines +76 to +81
"depth_min": abs(
expedition.instruments_config.drifter_config.depth_meter
), # [meters]
"depth_max": abs(
expedition.instruments_config.drifter_config.depth_meter
), # [meters]
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps not for this PR, but why would there even be a min and max depth? Especially because they are the same value. Why does a drifter not have one depth?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes good point, I'll make a new issue to address this in a separate PR. Indeed API-wise the user only has an option to set one depth value for the drifters so the min and max are redundant

@j-atkins j-atkins merged commit a9af0da into main Mar 9, 2026
10 checks passed
@j-atkins j-atkins deleted the drifter_depth branch March 9, 2026 12:09
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