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

Duplicate function definition in joint_trajectory_controller #602

Open
Hugal31 opened this issue Jun 8, 2022 · 0 comments
Open

Duplicate function definition in joint_trajectory_controller #602

Hugal31 opened this issue Jun 8, 2022 · 0 comments

Comments

@Hugal31
Copy link

Hugal31 commented Jun 8, 2022

As said in #153, some defined function in the internal namespace are not inlined in joint_trajectory_controller_impl.h.

This cause a "duplicate definition" issue when trying to link a library that include joint_trajectory_controller.h in two compile units.

A simple fix would be to move those funciton in an anonymous namespace, or add the inline or static qualifiers.

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