Skip to content

Conversation

@stevenxu27
Copy link
Contributor

@stevenxu27 stevenxu27 commented Sep 7, 2024

Description

  • Resolves Complete boat state class #404
  • Completed boat state class for computing total net force and net torque on the sailboat. Currently using mock dimensions for sailboat's centre of effort so will need to update date that once determinable from SOLIDWORKS model.

Verification

  • The tests in tests/unit/nodes/physics_engine under the test_model.py` test the functions of computing net force and torque on the sailboat overall.

Resources

Comment on lines +110 to +111
apparent_wind_vel = np.subtract(rel_wind_vel, self.relative_velocity[0:2])
apparent_water_vel = np.subtract(rel_water_vel, self.relative_velocity[0:2])
Copy link
Member

Choose a reason for hiding this comment

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

Please check if slicing ([0:2]) is still necessary after fluid generation update.

Copy link
Contributor

Choose a reason for hiding this comment

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

@stevenxu27, any update on this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should have been fixed. Will check tomorrow to confirm.

@FireBoyAJ24 FireBoyAJ24 added the sim Boat Simulator team label Apr 2, 2025
FireBoyAJ24
FireBoyAJ24 previously approved these changes Jun 22, 2025
…teven's original tests and test_model2 is krista's tests from PR 471
@SPDonaghy
Copy link
Contributor

@stevenxu27 Is this still active?

@stevenxu27
Copy link
Contributor Author

@stevenxu27 Is this still active?

Currently doing some testing with data visualization for the simulator to test this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sim Boat Simulator team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Complete boat state class

7 participants