Giter VIP home page Giter VIP logo

Comments (4)

SteveMacenski avatar SteveMacenski commented on May 28, 2024

Nav2 is not a single threaded application. I'd have to review the stack, but I think its ~10-20 threads, depending on what you have running. 120% of a core seems about right and inline with our published metrics. Frankly, its amazing we only use 1.2 of those weak, low power ARM cores to run all of autonomous navigation!

That is not "only" running Nav2, I see some accounts daemon, microros, rosbridge themselves summing up to 1.6 cores (more than Nav2!). The other lidar/base drivers/teleop nodes also add up, but seem more or less inline with what I'd think (though, 8% for a teleop/odom publisher node seems excessive - what are these, python?)

This is not a safe configuration. You're thrashing the CPU and memory, I would not attempt to operate a robot under these compute conditions unless it was a small toy robot that if it had problems in an R&D lab would be no big deal. You need more compute.

from navigation2.

jesusramondovale avatar jesusramondovale commented on May 28, 2024

Thank you for your quick response! It's true that I must remove a lot of garbage apart from Nav2, but.. could you tell me how can I launch the nav2_bringup in "release mode" or something that doesn't make the component container run in log-level info? I'm so lost over here sorry

from navigation2.

SteveMacenski avatar SteveMacenski commented on May 28, 2024

I don't understand what you mean or what behavior you're trying to remove.

from navigation2.

jesusramondovale avatar jesusramondovale commented on May 28, 2024

I'd like to know how would you try to reduce at maximum the CPU usage (talking only about Nav2 modules)

My only goal is to navigate on the ground with a 2-wheeled differential robot at speeds about 1m/s

from navigation2.

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.