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

Feature Request: Add debugging info to collision terms #198

Open
mpowelson opened this issue Aug 6, 2020 · 1 comment
Open

Feature Request: Add debugging info to collision terms #198

mpowelson opened this issue Aug 6, 2020 · 1 comment

Comments

@mpowelson
Copy link
Contributor

A common failure mode is some link that is always in collision. Sometimes this can be difficult to find. It would be nice if you could enable some debug printouts that tell you what collisions there are at each step. A simplistic output could be something like below in the collision evaluators

if (super_verbose)
  std::cout << "links: " << res.link_names[0] << ", " << res.link_names[1] << "   distance: " << res.distance << std::endl;
@mpowelson
Copy link
Contributor Author

I should note, that we should do it for both sets of collision terms, trajopt (to be deprecated soon?) and trajopt_ifopt!

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

No branches or pull requests

1 participant