Giter VIP home page Giter VIP logo

Comments (7)

BenjaminHug8 avatar BenjaminHug8 commented on June 2, 2024 1

However, this scale patch would become obsolete in my case, when #152 was solved.

Yes exactly, I am implementing the scale option of mesh tags for solving this issue.

from urdf2webots.

astumpf avatar astumpf commented on June 2, 2024 1

Thanks a lot!

from urdf2webots.

BenjaminHug8 avatar BenjaminHug8 commented on June 2, 2024

Thank you for the report, I will take a look.

from urdf2webots.

BenjaminHug8 avatar BenjaminHug8 commented on June 2, 2024

I just tested and everything is fine on my side, I can use two links with the same mesh and have to joints with different origins and the results is ok.

The visual object in our tool contains a translation and rotation:

class Visual():
"""Define visual object."""
def __init__(self):
"""Initializatization."""
self.position = [0.0, 0.0, 0.0]
self.rotation = [0.0, 0.0, 1.0, 0.0]
self.geometry = Geometry()
self.material = Material()

and as you can see the geometry is variable of this class.

The line you mentioned is just for reusing the same Mesh node contained in the geometry, but that's all.
Let me know if you still have questions or if your issue is solved or not.

from urdf2webots.

astumpf avatar astumpf commented on June 2, 2024

Yes, you're right. I overlooked this detail. To give full detail about my concern: I'm working on a patch to consider also scaling of meshes. But the scale is indeed part of the Geometry object

class Geometry():

that will be overwritten as stated above.

from urdf2webots.

astumpf avatar astumpf commented on June 2, 2024

However, this scale patch would become obsolete in my case, when #152 was solved.

from urdf2webots.

BenjaminHug8 avatar BenjaminHug8 commented on June 2, 2024

@astumpf the PR #157 has been merged in the develop branch and should solve your issue. Feel free to reopen this issue if needed.

from urdf2webots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.