https://github.com/charlotte-visionlab/gazebo_blast3d
Gazebo simulator for explosions and blasts.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.4%) to scientific vocabulary
Repository
Gazebo simulator for explosions and blasts.
Basic Info
- Host: GitHub
- Owner: charlotte-visionlab
- License: gpl-3.0
- Language: C++
- Default Branch: main
- Size: 80.4 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
gazebo_blast3d
Requirements
You must change the CMakeLists.txt file in the root directory of the repository point at the root of the PX4-Autopilot github repository on your computer:
Example:
set(PX4_GAZEBO_CLASSIC_SITL_ROOT ../PX4-Autopilot/Tools/simulation/gazebo-classic/sitl_gazebo-classic/)
Library dependencies: Boost Gazebo Eigen Protobuf
When compiled a file will be generated named libgazeboexplosion3dplugin.so Let GAZEBOBLAST3DPLUGINDIR denote the folder holding the compiled plugin file (libgazeboexplosions3d_plugin.so) on your computer.
You will need a Gazebo world file to load the plugin. One is provided in the project "worlds" folder. Let GAZEBOBLAST3DWORLD_FILE denote the gazebo world file on your computer.
For me:
GAZEBO_BLAST3D_PLUGIN_DIR=/home2/arwillis/asr_project/third_party/px4_gazebo_blast3d/cmake-build-debug
GAZEBO_BLAST3D_WORLD_FILE=/home2/arwillis/asr_project/third_party/px4_gazebo_blast3d/worlds/blast_test.world
To use the plugin with the PX4-Autopilot simulator you will need to indicate to the system the folder holding
the plugin file (GAZEBOBLAST3DPLUGINDIR) and the path to the world file (GAZEBOBLAST3DWORLDFILE)
that will trigger loading the plugin.
To run the world using the Gazebo plugin and the PX4-Autopilot SITL simulation:
Go to the ROOT folder of your PX4-Autopilot repository. For me this folder is
/home2/arwillis/asr_project/third_party/PX4-Autopilot
I run the commands below at from this folder in a terminal:
bash$ export PX4_SITL_WORLD=${GAZEBO_BLAST3D_WORLD_FILE}
bash$ export GAZEBO_PLUGIN_PATH=${GAZEBO_BLAST3D_PLUGIN_DIR}
bash$ export LD_LIBRARY_PATH=${GAZEBO_BLAST3D_PLUGIN_DIR}
bash$ make px4_sitl_default gazebo-classic_iris
The actual commands on my computer appear as shown below:
bash$ export PX4_SITL_WORLD=/home2/arwillis/asr_project/third_party/px4_gazebo_blasts3d/worlds/windy_test.world
bash$ export GAZEBO_PLUGIN_PATH=/home2/arwillis/asr_project/third_party/px4_gazebo_blasts3d/cmake-build-debug
bash$ export LD_LIBRARY_PATH=/home2/arwillis/asr_project/third_party/px4_gazebo_blasts3d/cmake-build-debug
bash$ make px4_sitl_default gazebo-classic_iris
You can change the "iris" postfix of the last command to use other airship/quadrotor models with this gazebo plugin.
The plugin will currently only function correctly when a single quadrotor is in the wind field.
You can modify the gazebo .world file and provide different configuration options for the plugin. The options for the custom wind field are shown below:
YOU WILL NEED TO SET THE PATH TO YOUR CUSTOM 3D BLAST FILE IN THE WORLD FILE BY EDITING THE LINE
<customBlast3DPath>/home2/arwillis/asr_project/third_party/px4_gazebo_blasts3d/datasets/blast_dataset.csv</customBlast3DPath>
<frameId>base_link</frameId>
<linkName>base_link</linkName>
<publishRate>2.0</publishRate>
<robotNamespace/>
Owner
- Name: UNC Charlotte VisionLab
- Login: charlotte-visionlab
- Kind: organization
- Website: http://visionlab.charlotte.edu
- Repositories: 7
- Profile: https://github.com/charlotte-visionlab
GitHub Events
Total
- Push event: 3
Last Year
- Push event: 3