Skip to content

Fix parent link resolution and transmission KeyErrors#103

Open
piLeoni wants to merge 1 commit intosyuntoku14:masterfrom
piLeoni:fix-parent-links
Open

Fix parent link resolution and transmission KeyErrors#103
piLeoni wants to merge 1 commit intosyuntoku14:masterfrom
piLeoni:fix-parent-links

Conversation

@piLeoni
Copy link

@piLeoni piLeoni commented Dec 12, 2025

Summary

  • Guard parent transforms when occurrenceTwo is missing; fallback to occurrence or base_link
  • Ensure parent links are added to links_xyz_dict before transmission math
  • Use safe defaults to avoid KeyErrors when computing parent-child offsets
  • Improve error messages for missing parent links

Author

Pietro Leoni

Testing

  • Ran exporter on assembly with B0/B1 parent-child; URDF generation now completes without KeyErrors.

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.

1 participant