-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
copy of Hydrodynamics folder, and rename to lta Renamed to LighterThanAirDynamics - Added some initial private data - Requires still alot of cleanup some initial dynamics added Building sucessfully with some warnings Running test to determine succesfull Spawning successfull ran tests, but still debugging alot Added additional debug messages Protection for zero division - Test running sucessfully with adding forces and torques, but requires more extensive testing and validation Improved Documentation,some more work on tests Improve documentation to include math Silver bullet model withs its coefficients small documentation update Code style updates. wip Style checks completed Small correction to dynamics Added Mass Force and Torques included - Link class now provides the FluidAddedMassMatrix Removed Munk from added mass & correct coeff names Signed-off-by: henrykotze <[email protected]> update year Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Henry Kotzé <[email protected]> update format suggestion Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Henry Kotzé <[email protected]> update format suggestion in added_mass_force Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Henry Kotzé <[email protected]> format fix: function header Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Henry Kotzé <[email protected]> update formatting Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Henry Kotzé <[email protected]> Update src/systems/lighter_than_air_dynamics/LighterThanAirDynamics.hh Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Henry Kotzé <[email protected]> update year Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Henry Kotzé <[email protected]> Functionality updates and style updates Signed-off-by: henrykotze <[email protected]> Example added for Lighter-than-air envelope Signed-off-by: henrykotze <[email protected]> Use numerical limits to query precision of types Signed-off-by: henrykotze <[email protected]> fix integration path for sdf file Signed-off-by: henrykotze <[email protected]>
- Loading branch information
henrykotze
committed
Nov 21, 2023
1 parent
e88a46f
commit ea20b0d
Showing
10 changed files
with
975 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.6"> | ||
<world name="blimp"> | ||
|
||
<physics name="1ms" type="ode"> | ||
<max_step_size>0.001</max_step_size> | ||
<!-- Zero to run as fast as possible --> | ||
<real_time_factor>1</real_time_factor> | ||
</physics> | ||
|
||
<gravity>0 0 -9.81</gravity> | ||
|
||
<plugin | ||
filename="ignition-gazebo-physics-system" | ||
name="gz::sim::systems::Physics"> | ||
</plugin> | ||
<plugin | ||
filename="gz-sim-user-commands-system" | ||
name="gz::sim::systems::UserCommands"> | ||
</plugin> | ||
<plugin | ||
filename="gz-sim-scene-broadcaster-system" | ||
name="gz::sim::systems::SceneBroadcaster"> | ||
</plugin> | ||
|
||
<plugin | ||
filename="gz-sim-buoyancy-system" | ||
name="gz::sim::systems::Buoyancy"> | ||
<uniform_fluid_density>1.097</uniform_fluid_density> | ||
</plugin> | ||
|
||
<light type="directional" name="sun"> | ||
<cast_shadows>true</cast_shadows> | ||
<pose>0 0 10 0 0 0</pose> | ||
<diffuse>1 1 1 1</diffuse> | ||
<specular>0.5 0.5 0.5 1</specular> | ||
<attenuation> | ||
<range>1000</range> | ||
<constant>0.9</constant> | ||
<linear>0.01</linear> | ||
<quadratic>0.001</quadratic> | ||
</attenuation> | ||
<direction>-0.5 0.1 -0.9</direction> | ||
</light> | ||
|
||
<model name="ground_plane"> | ||
<static>true</static> | ||
<link name="link"> | ||
<collision name="collision"> | ||
<geometry> | ||
<plane> | ||
<normal>0 0 1</normal> | ||
<size>100 100</size> | ||
</plane> | ||
</geometry> | ||
</collision> | ||
<visual name="visual"> | ||
<geometry> | ||
<plane> | ||
<normal>0 0 1</normal> | ||
<size>100 100</size> | ||
</plane> | ||
</geometry> | ||
<material> | ||
<ambient>0.8 0.8 0.8 1</ambient> | ||
<diffuse>0.8 0.8 0.8 1</diffuse> | ||
<specular>0.8 0.8 0.8 1</specular> | ||
</material> | ||
</visual> | ||
</link> | ||
</model> | ||
<include> | ||
<uri> | ||
https://fuel.gazebosim.org/1.0/hkotze/models/airship | ||
</uri> | ||
</include> | ||
</world> | ||
</sdf> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
gz_add_system(lighter_than_air_dynamics | ||
SOURCES | ||
LighterThanAirDynamics.cc | ||
PUBLIC_LINK_LIBS | ||
gz-common${GZ_COMMON_VER}::gz-common${GZ_COMMON_VER} | ||
gz-math${GZ_MATH_VER}::eigen3 | ||
) |
Oops, something went wrong.