Skip to content

request for fluid inertia model description #2931

@BinglunWang

Description

@BinglunWang

The feature, motivation and pitch

How to enable the fluid inertia model in coding?

Do we need to set class name to 'inertia'? Do we need to set the collision geometry to box?

There's no introduction to it. And I tried to follow the suite swimmer example, it also doesnt clear

Also how to visualise the fluid forces:

scene_option.flags[enums.mjtVisFlag.mjVIS_CONTACTFORCE] = 1 # Show contact forces
scene_option.flags[enums.mjtVisFlag.mjVIS_PERTFORCE] = 1 # Show perturbation forces
scene_option.flags[enums.mjtVisFlag.mjVIS_PERTOBJ] = 1 # Show perturbed objects

I used this to visualise the fluid forces. But it looks weird. Some frame the body don't have the fluid forces.

download.mp4

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions