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

Ability to attach a manipulator #730

Open
IamGyal opened this issue Aug 29, 2023 · 5 comments
Open

Ability to attach a manipulator #730

IamGyal opened this issue Aug 29, 2023 · 5 comments

Comments

@IamGyal
Copy link

IamGyal commented Aug 29, 2023

Hi,

Is it possible to attach a serial manipulator underneath a USV in this simulation environment in such a way that the hydrodynamics is also applied to the manipulator?

Thank you very much.

@caguero
Copy link
Contributor

caguero commented Aug 29, 2023

Hi, impossible is nothing :)

But the hydrodynamics plugin won´t automatically change the behavior of the overall USV with the presence of the manipulator. Instead, you'd have to update the parameters of the hydrodynamics to account for that.

@IamGyal
Copy link
Author

IamGyal commented Aug 30, 2023

Hi, thanks for your reply :)

But could you give me a bit more explanation, please?

Do you mean the USV will behave as if there is no manipulator attached to it even when a manipulator is actually attached?

I'm looking for a situation where

  1. the attached manipulator is affected by relevant hydrodynamics,
  2. the forces and torques (wrenches) propagated from the manipulator to the center of mass of the USV are taken into account,
  3. and the USV behaves correspondingly (with both the hydrodynamics for the USV and the wrenches from the manipulator being taken into account).

Thank you very much.

@IamGyal
Copy link
Author

IamGyal commented Aug 30, 2023

Or do you mean all the three points I mentioned above would happen, but just the parameters of the hydrodynamics for the resulting robot, which now consists of the initial USV and the manipulator, should be adjusted? as it became a different robot?

@caguero
Copy link
Contributor

caguero commented Aug 31, 2023

Do you mean the USV will behave as if there is no manipulator attached to it even when a manipulator is actually attached?

I'm looking for a situation where

  1. the attached manipulator is affected by relevant hydrodynamics,
  2. the forces and torques (wrenches) propagated from the manipulator to the center of mass of the USV are taken into account,
  3. and the USV behaves correspondingly (with both the hydrodynamics for the USV and the wrenches from the manipulator being taken into account).

Thank you very much.

  1. The attached manipulator won't be affected by hydrodynamics directly. It'll be indirectly because the hydrodynamics plugin attached to the USV will generate forces/torques on the base_link of the USV. However, the manipulator itself won't receive any forces/torques directly. Also, the force/torque applied at the USV are a direct function of the hydrodynamics parameters. In other words, the plugin will generate almost the same force/torque with or without the manipulator.
  2. This is true and will happen thanks to the physics engine.
  3. I think this is true as well.

Maybe it's easier to identify an example where hydrodynamics won't affect the manipulator:
Imagine that your USV is still and you move your manipulator: no hydrodynamics will affect its motion, although it's moving underwater.

@IamGyal
Copy link
Author

IamGyal commented Sep 5, 2023

  1. The attached manipulator won't be affected by hydrodynamics directly. It'll be indirectly because the hydrodynamics plugin attached to the USV will generate forces/torques on the base_link of the USV. However, the manipulator itself won't receive any forces/torques directly. Also, the force/torque applied at the USV are a direct function of the hydrodynamics parameters. In other words, the plugin will generate almost the same force/torque with or without the manipulator.
  2. This is true and will happen thanks to the physics engine.
  3. I think this is true as well.

Maybe it's easier to identify an example where hydrodynamics won't affect the manipulator: Imagine that your USV is still and you move your manipulator: no hydrodynamics will affect its motion, although it's moving underwater.

Thank you very much for your reply.

I have further questions.

  1. Would there be a way that the manipulator is also affected by hydrodynamics directly? Perhaps by applying the hydrodynamics plugin to the manipulator as well as the base?

  2. Is the hydrodynamics plugin used in this simulator only for USVs? Or for any kind of rigid bodies/shapes as well?

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

No branches or pull requests

2 participants