UBCSailbot / sailbot_workspace

UBC Sailbot's monorepo
https://ubcsailbot.github.io/sailbot_workspace/main/
Apache License 2.0
4 stars 1 forks source link

Update and use constants in BoatProperties class #424

Closed eomielan closed 1 week ago

eomielan commented 1 month ago

Purpose

The purpose of this issue is to update the BoatProperties class to include the boat's mass and inertia and to update the initialization of self.__boat_state to use the constants defined in the BoatProperties class.

Description

  1. Update the BoatProperties class to include mass and inertia. The mass can be set to 200kg and the inertia to [[10, 0, 0], [0, 30, 0], [0, 0, 20]] $$kg\cdot m^2$$ for now.
  2. Replace the second and third parameters in the initialization of self.__boat_state in the physics engine node with the corresponding properties of BoatProperties.

Resources