Giter Club home page Giter Club logo

Comments (3)

Bharath2 avatar Bharath2 commented on June 18, 2024

Hi, sorry for late reply.

I have updated the readme and runsim.py files.

If any two consecutive waypoints have the same (x,y,z) coordinates, you will get this "Singular matrix" error.

And also my scipy version is 1.1.0, If that made any difference.

Hope this helps.
Feel free to contribute to any part of the code.

from quadrotor-simulation.

Bharath2 avatar Bharath2 commented on June 18, 2024

There was a typo in rrt.py file. I fixed it.

I will close this issue if you confirm that it's working.

from quadrotor-simulation.

Max1967 avatar Max1967 commented on June 18, 2024

Hi, Thank you for your reply.
I noticed the "singular matrix" error was happening cause of duplicate waypoint in the end of "waypoints" array after RRTStar, so i just used:
waypoints = np.delete(waypoints,(np.shape(waypoints)[0]-1), axis=0)
before "trajGenerator" in "runsim.py" for removing the last item in the array and it worked.
Then i saw your reply and clone your project again,i didn't check what you did yet, but i tried your new update and it is working perfectly with your changes.
Thanks again.

from quadrotor-simulation.

Related Issues (5)

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.