Skip to content

Commit

Permalink
chore: check for mA1 vessel
Browse files Browse the repository at this point in the history
  • Loading branch information
incebellipipo committed Feb 3, 2025
1 parent d2d55fe commit 7e8c556
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 115 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Python package](https://github.com/incebellipipo/skadipy/actions/workflows/run_test.yml/badge.svg)](https://github.com/incebellipipo/skadipy/actions/workflows/run_test.yml)

# mccontrolpy
# SkadiPy

A python library for solving the control allocation problem for marine craft with different types of actuators and control allocation methods.

Expand Down
177 changes: 99 additions & 78 deletions notebooks/001_pseudo_inverse.ipynb

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions notebooks/pythonrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,29 +95,29 @@ def darken_hex_color(hex_color, percentage=20):
},
)

ma_bow_port = skadipy.actuator.Fixed(
position=skadipy.toolbox.Point([0.3, -0.1, 0.0]),
ma_bow_port = skadipy.actuator.Azimuth(
position=skadipy.toolbox.Point([1.8, -0.8, 0.0]),
orientation=skadipy.toolbox.Quaternion(
axis=(0.0, 0.0, 1.0), angle=(3 * np.pi / 4.0)
),
extra_attributes={"rate_limit": 0.1, "saturation_limit": 1.0, "limits": [0.0, 1.0]},
extra_attributes={"rate_limit": 0.1, "saturation_limit": 100.0, "limits": [0.0, 1.0]},
)
ma_bow_starboard = skadipy.actuator.Fixed(
position=skadipy.toolbox.Point([0.3, 0.1, 0.0]),
ma_bow_starboard = skadipy.actuator.Azimuth(
position=skadipy.toolbox.Point([1.8, 0.8, 0.0]),
orientation=skadipy.toolbox.Quaternion(
axis=(0.0, 0.0, 1.0), angle=(-3 * np.pi / 4.0)
),
extra_attributes={"rate_limit": 0.1, "saturation_limit": 1.0, "limits": [0.0, 1.0]},
extra_attributes={"rate_limit": 0.1, "saturation_limit": 100.0, "limits": [0.0, 1.0]},
)
ma_aft_port = skadipy.actuator.Fixed(
position=skadipy.toolbox.Point([-0.3, -0.1, 0.0]),
ma_aft_port = skadipy.actuator.Azimuth(
position=skadipy.toolbox.Point([-1.8, 0.8, 0.0]),
orientation=skadipy.toolbox.Quaternion(axis=(0.0, 0.0, 1.0), angle=(np.pi / 4.0)),
extra_attributes={"rate_limit": 0.1, "saturation_limit": 1.0, "limits": [0.0, 1.0]},
extra_attributes={"rate_limit": 0.1, "saturation_limit": 100.0, "limits": [0.0, 1.0]},
)
ma_aft_starboard = skadipy.actuator.Fixed(
position=skadipy.toolbox.Point([-0.3, 0.1, 0.0]),
ma_aft_starboard = skadipy.actuator.Azimuth(
position=skadipy.toolbox.Point([-1.8, -0.8, 0.0]),
orientation=skadipy.toolbox.Quaternion(axis=(0.0, 0.0, 1.0), angle=(-np.pi / 4.0)),
extra_attributes={"rate_limit": 0.1, "saturation_limit": 1.0, "limits": [0.0, 1.0]},
extra_attributes={"rate_limit": 0.1, "saturation_limit": 100.0, "limits": [0.0, 1.0]},
)


Expand Down
Loading

0 comments on commit 7e8c556

Please sign in to comment.