Comments (7)
OK, I think the same thing from that description 👍 Have a look over at that instead :-) I think we can close this then?
from navigation2.
These are the only two places that the min height is used:
navigation2/nav2_costmap_2d/src/observation_buffer.cpp
Lines 143 to 149 in 137b93b
navigation2/nav2_costmap_2d/plugins/obstacle_layer.cpp
Lines 464 to 467 in 137b93b
Can you point out where you think the issue lies? I don't see any different handling than max height, min/max ranges, invalid coordinates, etc. What happens if you change it in a param file and not via dynamic parameters?
Do you see any errors in the terminal?
from navigation2.
The issue looks like its in observation buffer, once min_height is set the loop never gets executed to copy the result. The set values look good in print statements but otherwise if 0.0 the loop gets executed.
Question, for Laserscan messages, this parameter still applies right ? ( As I was looking into code and documentation )
https://docs.nav2.org/configuration/packages/costmap-plugins/obstacle.html
from navigation2.
once min_height is set the loop never gets executed to copy the result. The set values look good in print statements but otherwise if 0.0 the loop gets executed.
Sorry, I don't quite understand what you said there to respond meaningfully with thoughts! That's an if
statement that's already in the data iteration loop. How is this different from the max height?
Question, for Laserscan messages, this parameter still applies right ? ( As I was looking into code and documentation )
Yeah, technically the laser scans don't need to be planar, but functionally they are used that way most of the time (except when the robot is tilted and 6DOF odometry is provided from an IMU or similar)
from navigation2.
Apologies on my end, what I was getting at is the issue is in observance buffer side as when the min_obstacle_height is changed to any value other than 0.0 the if loop below never gets executed , which to your point it does not make sense to me as what is different than max_obstacle_height. To be honest, I am not quite sure how to debug this issue further.
from navigation2.
What is the value of (*iter_z)
, min_obstacle_height_
, and max_obstacle_height_
, printing that might be informative.
What happens if you set the max height to something different? Have you done this with the parameter file like I suggested instead of RQT reconfigure? It could just be an issue with how the reconfiguration is being processed.
This code is very old, so I'm a bit suspicious that there's a problem here admittedly. You also haven't shown me your data (only the costmaps), is the data above 0.1m? Are there values of min_obstacle_height_
that work (0.01, 0.001)?
from navigation2.
What is the value of
(*iter_z)
,min_obstacle_height_
, andmax_obstacle_height_
, printing that might be informative.
the iter_z coming in small fraction value which is around e^15 which is why the "if" loop is not getting triggered as the data is at zero datum plane.
min_obstacle_height and max_obstacle_height were at 0.05 and 2.0 set in params file which reflected the same.
Looks like there is issue on my data end coming in.
from navigation2.
Related Issues (20)
- Collision Monitor in Nav2 Not Displaying Polygons Correctly or Following Robot HOT 4
- In the running of goToPose(), cancelTask() does not work HOT 4
- Docking is not available for ros humble. HOT 1
- Both Slack invite links may have expired HOT 1
- Revert Double Spin in #4558 once rclcpp #2589 fixed
- Wait node no action server HOT 1
- Custom constraints and custom cost function in mppi HOT 1
- Nav2 BasicNavigator raises ValueError exception HOT 2
- Exception: According to the loaded plugin descriptions the class nav2_smac_planner::SmacPlannerHybrid with base class type nav2_core::GlobalPlanner does not exist. HOT 2
- setCostmap function in Footprint Collision Checker HOT 3
- About Nav2 CycloneDDS and Micro XRCE-DDS HOT 2
- Model State Initialization HOT 1
- AMCL is unable to correctly publish the map->odom coordinate transformation. HOT 4
- Create BT action node RemoveInCollisionGoals HOT 5
- [smac_planner] On Hybrid A*, any reason to use floor to quantize angles? HOT 1
- Issue with Bidirectional Acceleration and Deceleration Settings in MPPI Controller HOT 3
- Collision Monitor parameters on ROS2 Humble HOT 4
- loopback_sim: provide realistic scan data
- The default_server_timeout parameter in bt_navigator is always overridden by the server_timeout port in each BT action node. HOT 2
- The callback function of subscriber is not called while navigation is in progress. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navigation2.