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

Should add XPath-like traceability to error messages #510

Closed
EricCousineau-TRI opened this issue Mar 11, 2021 · 0 comments · Fixed by #548
Closed

Should add XPath-like traceability to error messages #510

EricCousineau-TRI opened this issue Mar 11, 2021 · 0 comments · Fixed by #548
Assignees
Labels
enhancement New feature or request

Comments

@EricCousineau-TRI
Copy link
Collaborator

Desired behavior

In internal code, I'm reviewing some failures that look like the following:

Error [Param.cc:354] Unknown error. Unable to set value [1.25 0.55 0.53 ] for key[pose]
...
Error: Error reading element <pose>
Error: Error reading element <visual>
Error: Error reading element <link>
Error: Error reading element <model>
Error: Error reading element <sdf>
Error: Unable to read file:<badly_formed_thing>.sdf

Sort of XPath-type hint, like /sdf/model[@name="blerg"]/link[@name="boo"]/visual[2]/pose

Alternatives considered

Split off from #479

Implementation suggestion

I had hacked something like this into urdf_parser_py: ros/urdf_parser_py#14

Additional context

Split off from #479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants