ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

in amcl amcl_node.cpp what does the draw_weight_as_height_ parameter do?

asked 2015-10-06 10:15:20 -0500

dan gravatar image

I am trying to modify amcl_node.cpp to publish the value for max_weight as a measure of how well the laser hits line up with map obstacles. However, there is a parameter, draw_weight_as_height_ that has to be set true for max_weight to be set to anything other than 0. I cannot figure out what draw_weight_as_height_ does.

Refer to this question as to why I am looking at max_weight

edit retag flag offensive close merge delete


Can you point to where this is in the code? I can't find it.

Dan Lazewatsky gravatar image Dan Lazewatsky  ( 2015-10-06 10:30:28 -0500 )edit

ah, this is in the Mayfield version of the nav stack. I will go back to the main ROS version.

dan gravatar image dan  ( 2015-10-10 20:23:09 -0500 )edit

I also need this feature. Do you mean this release?

cccheng914 gravatar image cccheng914  ( 2018-07-26 01:19:53 -0500 )edit

Yes, that is the code I was using. I swapped back to the standard ROS base due to better support, but I really liked the Mayfield nav stack code. They fixed a TON of bugs and issues that were in the ROS nav stack. I think it is still maintained, but I have not used it in a long time.

dan gravatar image dan  ( 2018-08-06 02:09:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-10-10 20:23:53 -0500

dan gravatar image

This is in the Mayfield version of the nav stack; not relevant to the primary ROS version.

edit flag offensive delete link more


Could you please show me the code base? I also need this feature. Thanks.

cccheng914 gravatar image cccheng914  ( 2018-07-26 01:27:44 -0500 )edit

see above, you have the right link.

dan gravatar image dan  ( 2018-08-06 02:11:19 -0500 )edit

Thanks for your feedback

cccheng914 gravatar image cccheng914  ( 2018-09-17 06:24:27 -0500 )edit

Question Tools

1 follower


Asked: 2015-10-06 10:15:20 -0500

Seen: 973 times

Last updated: Oct 10 '15