Comments (5)
Currently my repository doesn't have surface or underwater vehicles, and I don't know about the surface vehicle dynamics.
If you wanna build boat SITL model for ArduPilot, you can use gazebo hydrodynamics plugin.
This is supported by gazebo simulator natively, you can refer tutorial at http://gazebosim.org/tutorials?tut=hydrodynamics&cat=physics and models in my repository.
And there is gazebo boat model for PX4 at https://github.com/PX4/sitl_gazebo for quick look, it doesn't use hydrodynamics plugin, it is simulating boat dynamics with own built plugin as in https://github.com/PX4/sitl_gazebo/blob/master/src/gazebo_usv_dynamics_plugin.cpp
you can also use this plugin to simulate vehicle dynamics and use interface in this repository to create SITL model for ArduPilot
from ardupilot_gazebo.
Is there a way to use the worlds and models from this. https://bitbucket.org/osrf/vrx/src/default/
And run it with SwiftGust and Ardurover sailboat SITL.
from ardupilot_gazebo.
It seems no problem at all using gazebo models & worlds in the VRX.
The only missing thing from VRX is USV model built with USV plugin in their own repository,
you can refer PX4 boat model, now I see it is same USV plugin from VRX, so this model dynamics should be compatible with VRX model - https://github.com/PX4/sitl_gazebo/blob/master/models/boat/boat.sdf
Other thing you require is to replace PX4 - Gazebo plugin setup with ArduPilot - Gazebo plugin in this repository.
PX4 Gazebo plugin settings seems quite large but nothing much since PX4 prefers modular architecture so you wouldn't have much problem.
https://github.com/PX4/sitl_gazebo/blob/0823f5e006011d36858c2dd39881874c1edac10b/models/boat/boat.sdf#L448-L577 except just leave usv dyanmics part at https://github.com/PX4/sitl_gazebo/blob/0823f5e006011d36858c2dd39881874c1edac10b/models/boat/boat.sdf#L515-L536
Regarding setting up ArduPilot - Gazebo Plugin, refer models in my repository
example -
ardupilot_gazebo/models/zephyr_delta_wing_ardupilot_demo/delta_wing.sdf
Lines 132 to 186 in 7da690d
Sensors -
ardupilot_gazebo/models/zephyr_delta_wing/model.sdf
Lines 101 to 188 in 7da690d
from ardupilot_gazebo.
did you managed to use vrx models with ardupilot-gazebo plugin?
I was able to combine the ardupilot plugin with the vrx simulation (waves and wind) but when I click the ardupilot plugin inside gazebo i get the following error.
from ardupilot_gazebo.
I was able to setup a simulation using the ardupilot plugin and the bouyancy plugin from px4. here is my simulation repo. there is a section about setting it up for simulating boats https://github.com/Intelligent-Quads/iq_sim
from ardupilot_gazebo.
Related Issues (20)
- Crash with gazebo9 HOT 1
- Problem with Irlock world HOT 1
- Plugin issues with Gazebo 11 HOT 1
- Deltawing crashes at takeoff HOT 15
- Request detail on how to get LiftDragPlugin values HOT 1
- Plane does not move in gazebo
- libWindPlugin.so
- Rotate Gimbal
- Link 1 Down HOT 3
- Failed to Bind
- parse as sdf version 1.7 failed with Gazbo11 HOT 3
- Have you ever compiled LiftDragPlugin ? HOT 1
- CMake to find a package configuration file provided by "gazebo", but CMake did not find one. HOT 1
- Ardupilot plugin aborted with ArduPlane
- Ardupilot SITL not working with Gazebo-11 HOT 1
- Multi-Vehicle Simulation (iris and zephyr) HOT 7
- where can I find sim_vehicle.py? HOT 1
- Low real time factor with gazebo 11.12 HOT 1
- Parse as sdf version 1.7 failed, should try to parse as old deprecated format.
- AttributeError in waypoint module when running sim_vehicle.py with Gazebo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ardupilot_gazebo.