Git Product home page Git Product logo

Comments (3)

allsey87 avatar allsey87 commented on August 18, 2024

I can't solve this issue right now, but I can point to where the problem is and suggest some quick workarounds until Carlo has time to look at this.

Non-movable objects, such as the boxes you are using for walls are added to all physics engines. Furthermore, the proximity sensor will query all physics engines for an intersection with the proximity sensors ray. The issue is most likely in the maths of bool CBox::Intersects in core/utility/math/box.cpp. This is used by the pointmass3d engine to determine whether a ray intersects the box or not.

As for a temporary workaround, setting the box to movable and just giving it a large mass might work. This should, I think, force ARGoS to place it into the first physics engine available, which would be dynamics2d, assuming the data structures inside ARGoS are initialized in the same order as things are specified in the XML (usually the case).

Note, you may want to remove the overlap from the walls as the collision forces will now come into play since the walls (boxes) are movable.

from argos3.

ilpincy avatar ilpincy commented on August 18, 2024

@allsey87 is most likely right, because this bug is probably related to issue #22.

from argos3.

ilpincy avatar ilpincy commented on August 18, 2024

Finally fixed in commit e81c753

from argos3.

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.