robotology / idyntree

Multibody Dynamics Library designed for Free Floating Robots
BSD 3-Clause "New" or "Revised" License
172 stars 67 forks source link

Implement MeshcatVisualizer in visualize component #1074

Closed GiulioRomualdi closed 1 year ago

GiulioRomualdi commented 1 year ago

Thanks to this PR it will be possible to use meshcat-cpp in idyntree. Python and matlab bindings are not enabled at the moment.

The original code was taken and modified from https://github.com/GiulioRomualdi/idyntree-meshcat-cpp

⚠️ Warning Only meshes are supported and the color is taken from the idyntree model


Cc @G-Cervettini

GiulioRomualdi commented 1 year ago

Hi @traversaro I removed the bindings compilation, I improved the documentation as you suggested in https://github.com/robotology/idyntree/pull/1074#discussion_r1193620706 and I implemented the span/matrixview version of the setModelState

traversaro commented 1 year ago

Hi @traversaro I removed the bindings compilation, I improved the documentation as you suggested in #1074 (comment) and I implemented the span/matrixview version of the setModelState

Thanks! I updated the documentation and PR to contain the same information provided in the PR.