GithubHelp home page GithubHelp logo

mavneo / px4-gazebo-models Goto Github PK

View Code? Open in Web Editor NEW

This project forked from px4/px4-gazebo-models

0.0 0.0 0.0 12.32 MB

Model repo in app.gazebosim.org

License: BSD 3-Clause "New" or "Revised" License

Shell 4.16% C++ 4.90% Python 90.27% CMake 0.67%

px4-gazebo-models's Introduction

PX4-gazebo-models

Models and worlds to be used in local Fuel instances and kept up to date in app.gazebosim.org/PX4.

Starting GZ simulation

In addition to providing resource files for all models and worlds, this repo also contains a simulation-gazebo script that will start a world and works in conjunction with PX4.

In order for this script to work, you must have installed gz-garden beforehand. The way to do this can be found here:

After setting up gazebo, navigate to the repo containing simulation-gazebo and script with

python simulation-gazebo

If you do not provide any arguments, this will download all models and worlds from the PX4-gazebo-models repo, save them to /.simulation-gazebo and start a default world. In order for a model to load, you need to start PX4 as well

The following arguments can be passed:

--world A string variable that names the sdf file which runs the simulation world. Default argument is "default", which links to the default world.

--gz_partition A string variable that sets the gazebo partition to run in (more information here)

--gz_ip A string variable that sets the IP of the outgoing network interface (more information here)

--interactive A boolean variable that requires the ability to run the code in interactive mode, allowing for custom paths for --model_download_source. If this is not set, --model_download_source will only download from the default Github repo.

--model_download_source A string variable setting the path to a directory from where models are to be imported. At the moment this can only be a local file directory or a http address. The source should end with the zipped resource file. (e.g. https://path/to/simulation/models/resource.zip)

--model_store A string variable setting the path to the model storage directory. This is where the zip file provided in model_download_source will be placed.

--overwrite A boolean variable providing the ability to overwrite existing directories with new data.

--dryrun A boolean variable that can be set when running testcases. It will not provide any interactivity and will not start Gazebo simulation.

px4-gazebo-models's People

Contributors

bperseghetti avatar frede791 avatar mavneo avatar perfrivik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.