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

problem plugin affordance #14

Open
JasonChmn opened this issue Dec 13, 2019 · 0 comments
Open

problem plugin affordance #14

JasonChmn opened this issue Dec 13, 2019 · 0 comments

Comments

@JasonChmn
Copy link
Contributor

impl_->implementation().resetAffordanceConfig();

To avoid errors as :
hpp_idl.hpp.Error(msg="No 'Support' affordance type found Afford::createOperations ()")

When creating a new context, need to do one of these two step in python to make it work :

  • loadServerPlugin(nameContext, 'rbprm-corba.so') and loadServerPlugin(nameContext, 'affordance-corba.so') after selecting the new problem.
  • Call afftool.client.affordance.affordance.resetAffordanceConfig() after creating the affordanceTool.

We also need to change affordanceTool to take in parameter the context, and to make him create his clients with this new context.

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