Skip to content

Validate subgroup parsing order issues in SRDF#157

Merged
sea-bass merged 1 commit intomainfrom
validate-subgroup-parse-order
Mar 6, 2026
Merged

Validate subgroup parsing order issues in SRDF#157
sea-bass merged 1 commit intomainfrom
validate-subgroup-parse-order

Conversation

@sea-bass
Copy link
Collaborator

@sea-bass sea-bass commented Mar 4, 2026

This causes an informative error message to be thrown in the event that SRDFs use a subgroup before it is defined. For example:

    <group name="arm_right">
        <joint name="arm_right_1_joint" />
        <joint name="arm_right_2_joint" />
        <joint name="arm_right_3_joint" />
        <joint name="arm_right_4_joint" />
        <joint name="arm_right_5_joint" />
        <joint name="arm_right_6_joint" />
        <joint name="arm_right_7_joint" />
        <joint name="arm_right_tool_joint" />
    </group>
    <group name="arm_right_torso">
        <group name="arm_right" />
        <group name="torso" /> <!-- THIS IS THE ISSUE -->
    </group>
    <group name="torso">
        <joint name="torso_lift_joint" />
    </group>

Closes #156

@sea-bass sea-bass merged commit 9fffc30 into main Mar 6, 2026
10 checks passed
@sea-bass sea-bass deleted the validate-subgroup-parse-order branch March 6, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Map_base::at error when parsing SRDF

2 participants