Skip to content

Saved Xacro arguments with quoted spaces fail in MoveItConfigsBuilder #4015

Backlog

Description

@sylvesterkaczmarek

[written by AI]

Description

MoveItConfigsBuilder splits the saved xacro_args string in .setup_assistant on literal spaces. This breaks valid quoted arguments containing spaces and tab-separated arguments.

Reproduction

Save xacro_args: 'robot_name:=custom label:="two words"' in the URDF section of a MoveIt configuration's .setup_assistant file, then construct its MoveItConfigsBuilder.

Expected behavior

Pass the parsed mappings robot_name=custom and label=two words to Xacro.

Actual behavior

Construction raises ValueError while creating the mappings dictionary.

Environment

Reproduced with main (5399d29), 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