Open Hugal31 opened 2 years ago
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.
inline
static
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
orstatic
qualifiers.