Git Product home page Git Product logo

Comments (5)

padhupradheep avatar padhupradheep commented on June 2, 2024 1

Yepp, you are right @HazemAshraf11

You can see the PR here: https://github.com/open-navigation/navigation2/pull/2126/files

It can be also found in foxy to galactic migration guide: https://navigation.ros.org/migration/Foxy.html

can we close the issue now @HazemAshraf11 ?

from navigation2.

tonynajjar avatar tonynajjar commented on June 2, 2024

You said that the problem was when you use the voxel layer right? I only see the config with the obstacle layer. Can you add the problematic config?

Additionally, you're using Foxy? Foxy is end of life and not supported anymore. Can you try to reproduce it on humble or more recent?

from navigation2.

HazemAshraf11 avatar HazemAshraf11 commented on June 2, 2024

The local costmap doesn't even work when I use a voxel layer, and it gives me this warning "Sensor origin out of map bounds. The costmap can't raytrace for it."
When I use an obstacle layer, the obstacles don't appear in the local costmap until it's too late as you can see in the two pictures.

I am going to use a jetson nano later and it doesn't support Ubuntu 22.04 so I can't use humble.

from navigation2.

HazemAshraf11 avatar HazemAshraf11 commented on June 2, 2024

I am pretty sure the problem is related to the ( obstacle layer.data source.obstacle_max_range ) parameter. It's default value is 2.5 and indeed the obstacles don't appear in the local costmap if they are more than 2.5 m far from the sensor. After they appear, they stay in this map untill the robot moves and they become out of the 15*15 m^2 square. But when I change this parameter, it doesn't do any thing. it's like it only works with the defined default value.

from navigation2.

HazemAshraf11 avatar HazemAshraf11 commented on June 2, 2024

I found the problem. It's "obstacle_range" not "obstacle_max_range". In the documentation, it's "obstacle_max_range" but maybe that's for humble

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.