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

Using iiwa_tools requires to compile with SIMD #39

Closed
matthias-mayr opened this issue Aug 28, 2020 · 3 comments
Closed

Using iiwa_tools requires to compile with SIMD #39

matthias-mayr opened this issue Aug 28, 2020 · 3 comments

Comments

@matthias-mayr
Copy link
Contributor

I am currently exploring to use iiwa_tools for FK and the Jacobian in my code.

I always had crashes upon loading the controller in Gazebo when it parses the urdf to feed it to RBDyn.
It finally turned out, that the issue was, that I did not compile my new controller code with SIMD turned on.

I guess it would be possible to compile all the dependencies as well as iiwa_tools without SIMD and that would work as well.
But since it's the default and not directly intuitive that it is needed for derived code as well, I will leave this here as a note.

@costashatz
Copy link
Collaborator

It finally turned out, that the issue was, that I did not compile my new controller code with SIMD turned on.

The default behavior of robot_controllers is to compile with SIMD on. This is why iiwa_tools also compiles with SIMD on.

You can disable SIMD for iiwa_tools by passing the argument to catkin_make: -DENABLE_SIMD=OFF.

We should include this somewhere in the documentation..

@costashatz
Copy link
Collaborator

This this should be fixed by #61 no?

@matthias-mayr
Copy link
Contributor Author

Should be fine. This also frees me from dragging the SIMD option into some projects that use SpaceVecAlg.

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

2 participants