Skip to content

Commit

Permalink
Merge (#80) into demo/linear-wave-body (#81)
Browse files Browse the repository at this point in the history
* Waves: enable wave direction in the sinusoid wave model (#80)

* Waves: enable wave direction in the sinusoid wave model

- Allow wave direction to be set for regular waves.
- Add test for a wave direction not parallel to the x-axis

Signed-off-by: Rhys Mainwaring <[email protected]>

* Waves: rename monochromatic_waves model

- Rename to regular waves.

Signed-off-by: Rhys Mainwaring <[email protected]>

* Waves: update regular wave model descriptions

Signed-off-by: Rhys Mainwaring <[email protected]>
  • Loading branch information
srmainwaring committed Nov 25, 2022
1 parent 9895269 commit 0328008
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
</author>

<description>
Monochromatic surface waves T=15s, H=2m.
Regular surface waves T=15s, H=2m.

This model uses the materials from the `waves`
model to prevent duplicating the large mesh files.
</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
</author>

<description>
Monochromatic surface waves T=15s, H=4m.
Regular surface waves T=15s, H=4m.

This model uses the materials from the `waves`
model to prevent duplicating the large mesh files.
</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
</author>

<description>
Monochromatic surface waves T=15s, H=6m.
Regular surface waves T=15s, H=6m.

This model uses the materials from the `waves`
model to prevent duplicating the large mesh files.
</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
</author>

<description>
Monochromatic surface waves T=1s, H=0.5m.
Regular surface waves T=1s, H=0.5m.

This model uses the materials from the `waves`
model to prevent duplicating the large mesh files.
</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
</author>

<description>
Monochromatic surface waves T=20s, H=0m.
Regular surface waves T=20s, H=0m.

This model uses the materials from the `waves`
model to prevent duplicating the large mesh files.
</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
</author>

<description>
Monochromatic surface waves T=3s, H=1m.
Regular surface waves T=3s, H=1m.

This model uses the materials from the `waves`
model to prevent duplicating the large mesh files.
</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
</author>

<description>
Monochromatic surface waves T=6s, H=2m.
Regular surface waves T=6s, H=2m.

This model uses the materials from the `waves`
model to prevent duplicating the large mesh files.
</description>
Expand Down
12 changes: 2 additions & 10 deletions gz-waves-models/world_models/regular_waves_6s_4m/model.config
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@

<?xml version='1.0'?>
<model>
<<<<<<<< HEAD:gz-waves-models/world_models/regular_waves/model.config
<name>Regular Waves</name>
========
<name>Regular Waves 6s 4m</name>
>>>>>>>> a12b047 (Update example regular wave models (#73)):gz-waves-models/world_models/regular_waves_6s_4m/model.config
<version>1.0</version>
<sdf version='1.6'>model.sdf</sdf>

Expand All @@ -15,12 +11,8 @@
</author>

<description>
<<<<<<<< HEAD:gz-waves-models/world_models/regular_waves/model.config
Regular surface waves. i.e. plane progressive waves of a single frequency.

========
Monochromatic surface waves T=6s, H=4m.
>>>>>>>> a12b047 (Update example regular wave models (#73)):gz-waves-models/world_models/regular_waves_6s_4m/model.config
Regular surface waves T=6s, H=4m.

This model uses the materials from the `waves`
model to prevent duplicating the large mesh files.
</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
</author>

<description>
Monochromatic surface waves T=8s, H=2m.
Regular surface waves T=8s, H=2m.

This model uses the materials from the `waves`
model to prevent duplicating the large mesh files.
</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
</author>

<description>
Monochromatic surface waves T=8s, H=4m.
Regular surface waves T=8s, H=4m.

This model uses the materials from the `waves`
model to prevent duplicating the large mesh files.
</description>
Expand Down

0 comments on commit 0328008

Please sign in to comment.