Skip to content

fix(description): drop generated root URDFs and ignore them#72

Open
Bartok9 wants to merge 1 commit into
enactic:mainfrom
Bartok9:fix/remove-generated-root-urdfs
Open

fix(description): drop generated root URDFs and ignore them#72
Bartok9 wants to merge 1 commit into
enactic:mainfrom
Bartok9:fix/remove-generated-root-urdfs

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Split from #71 as requested by @kou (thanks for the review!).

This PR does one thing: removes the two xacro-generated scratch files accidentally committed at the package root.

  • openarmv2.urdf (empty) and output.urdf (871-line generated) are build artifacts; the launch file generates URDFs on the fly, so they should never be tracked.
  • Enable the *.urdf gitignore rule (previously commented out) while keeping tracked assets/**/*.urdf(.xacro) via negation, plus pin the two known scratch filenames.

The arm_type error-message change from #71 will follow in a separate PR.

openarmv2.urdf and output.urdf are xacro-generated scratch files that were
accidentally committed. The launch file builds URDFs on the fly, so these
root artifacts should never ship.

- Remove openarmv2.urdf and output.urdf
- Enable *.urdf gitignore (was commented out) while keeping tracked
  assets/**/*.urdf(.xacro) via negation, and pin the two known scratch names
Comment thread .gitignore
scripts/
# Accidental gen scratch files (never ship)
/openarmv2.urdf
/output.urdf

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove them?

Comment thread .gitignore
Comment on lines +16 to +18
*.urdf
!assets/**/*.urdf
!assets/**/*.urdf.xacro

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
*.urdf
!assets/**/*.urdf
!assets/**/*.urdf.xacro
/*.urdf

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.

2 participants