Skip to content

Explicit empty Xacro mappings are replaced by saved arguments #4019

Backlog

Description

@sylvesterkaczmarek

[written by AI]

Description

An explicit empty Xacro mapping passed to MoveItConfigsBuilder.robot_description() is replaced by the saved mappings from .setup_assistant. This makes it impossible to request the Xacro defaults with an empty mapping.

Reproduction

Configure a Xacro argument with a default, save a different value for that argument in .setup_assistant, and call builder.robot_description(mappings={}). The saved value is used instead of the default.

Expected behavior

Only mappings=None should use the saved mappings. An explicitly supplied dictionary should be honored.

Environment

Reproduced on main (5399d29) with Python 3.12 and Jazzy launch Python dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions