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

yarp plugin xsensmt raise std::system_error #27

Closed
Nicogene opened this issue Mar 22, 2021 · 1 comment · Fixed by #28
Closed

yarp plugin xsensmt raise std::system_error #27

Nicogene opened this issue Mar 22, 2021 · 1 comment · Fixed by #28
Labels

Comments

@Nicogene
Copy link
Member

If you run :

$ yarp plugin xsensmt

You get:

Yes, this is a YARP plugin
  * library:        /home/ngenesio/robotology/robotology-superbuild/build/install/lib/yarp/xsensmt.so
  * system version: 5
  * class name:     yarp::dev::XsensMT
  * base class:     yarp::dev::DeviceDriver
terminate called after throwing an instance of 'std::system_error'
  what():  Invalid argument
terminate called recursively
Aborted

Commenting out

solves the problem.

I am afraid it is related to the thread that it is initialized in the open phase that it is not called.

cc @traversaro @violadelbono @davidetome

@Nicogene
Copy link
Member Author

The problem was actually the missing return from the close() function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant