Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port USV plugins from gazebo #1247

Open
iche033 opened this issue Dec 14, 2021 · 3 comments
Open

Port USV plugins from gazebo #1247

iche033 opened this issue Dec 14, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@iche033
Copy link
Contributor

iche033 commented Dec 14, 2021

There are a set of gazebo plugins for USVs in the VRX repo:
https://github.com/osrf/vrx/tree/master/usv_gazebo_plugins

This ticket tracks the progress of porting of those plugins to Ignition gazebo systems:

  • usv_gazebo_dynamics_plugin
  • usv_gazebo_thrust_plugin
  • usv_gazebo_wind_plugin
  • buoyancy_gazebo_plugin

Once the plugins are ported, an example world should be provided to demonstrate the support of USVs in Ignition gazebo.

Desired behavior

Ability to simulation USV models with configurable dynamics / thruster params.

Additional context

Related work is porting of the wave model to Ignition so that the USV vehicle motion is influenced by wave motion.

@iche033 iche033 added the enhancement New feature or request label Dec 14, 2021
@iche033 iche033 changed the title Port U Port USV plugins from gazebo Dec 14, 2021
@chapulina
Copy link
Contributor

usv_gazebo_dynamics_plugin

This looks like ignition::gazebo::systems::Hydrodynamics. It even links to the original plugin.

One thing to note is that the plugin has been added without tests in #749, I've been meaning to add some tests soon.

We also have a fork of it on LRAUV because some bugs have been fixed. Those should be upstreamed soon, progress is tracked here: osrf/lrauv#37

usv_gazebo_thrust_plugin

Maybe ignition::gazebo::systems::Thruster can be extended to support all features on that plugin.

usv_gazebo_wind_plugin

It looks similar to ignition::gazebo::systems::WindWffects, I think the functionality could be combined.

buoyancy_gazebo_plugin

I think the core functionality should be achieved with ignition::gazebo::systems::Buoyancy, but note that it's a world plugin instead of a model plugin. It also seems to have some different parameters, not sure if the drag is best kept at LiftDrag or Hydrodynamics.

@iche033
Copy link
Contributor Author

iche033 commented Dec 14, 2021

after some discussion with @caguero. The plan is:

  • try out the Hydrodynamics and Buoyancy plugin as is
  • look more into the Thruster plugin and see if it supports the actuator capability we need
  • port the wave model part of the usv_gazebo_dynamics_plugin to Ignition
  • convert the WAM-V urdf file from VRX to sdf with a single fixed configuration

@caguero
Copy link
Contributor

caguero commented Dec 14, 2021

We'll extend the Thruster plugin to support the articulation of the thruster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants