Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error messages when embedSdf.py fails #1550

Open
wants to merge 1 commit into
base: sdf14
Choose a base branch
from

Conversation

scpeters
Copy link
Member

@scpeters scpeters commented Mar 4, 2025

🦟 Bug fix

Partial backport of #1549.

Summary

The embedSdf.py script is used to generate the EmbeddedSdf.cc source code that implements the interface defined in src/EmbeddedSdf.hh. The contribution by @ efferre79 in #1536 added error checking using a cmake feature that is too new for Harmonic, but part of the followup in #1549 are backported here:

  • cf131fd: check return code of embedSdf.py and print stderr on failure

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Check embedSdf.py return code and print stderr on failure.
Partial backport of #1549.

Signed-off-by: Steve Peters <[email protected]>
@scpeters scpeters requested a review from azeey as a code owner March 4, 2025 17:48
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Status: Inbox
Development

Successfully merging this pull request may close these issues.

1 participant