Skip to content

Use of get_parameter_or not working. #1763

@tgreier

Description

@tgreier

Where get_parameter_or is used, those values do not seem to be read from yaml.
It seems to be a problem perhaps since introduction of declare_parameter?

Bug report

Required Info:

  • Operating System:
    Ubuntu 18.04
  • Version or commit hash:
    eloquent-devel

Steps to reproduce issue

Try to set from yaml:
odom_topic
https://github.com/ros-planning/navigation2/blob/7c0ac74514506591c0d508a6bc10e42d1d67162f/nav2_dwb_controller/nav_2d_utils/include/nav_2d_utils/odom_subscriber.hpp#L69

goal_reached_tol
https://github.com/ros-planning/navigation2/blob/9615c2ef5d3c89db901f916b136845367e5fcabb/nav2_behavior_tree/plugins/condition/goal_reached_condition.cpp#L62

required_movement_radius
https://github.com/ros-planning/navigation2/blob/9615c2ef5d3c89db901f916b136845367e5fcabb/nav2_controller/src/progress_checker.cpp#L30

movement_time_allowance_
https://github.com/ros-planning/navigation2/blob/9615c2ef5d3c89db901f916b136845367e5fcabb/nav2_controller/src/progress_checker.cpp#L32

Also, underscore at end of "movement_time_allowance_" should be removed?

Expected behavior

Values will be set

Actual behavior

Defaults are retained

Additional information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions