You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building and launching the node which uses the grasps library directly from IDE instead of the launch file.
The parameters however are still being loaded in the launchfile.
I noticed, that in order for the rosparam_shortcuts::get() functionality in the grasps library to work, I needed to edit the source code of grasp_filter.cpp grasp_gnerator.cpp and grasp_planner.cpp file.
Otherwise, it would prepend the namespace of my node before the actual parameter name to search for. This would result in the grasps functionality not working as it could not find the paramters.
I had to remove the "~" character in the constructors so that the rosparam_shortcuts::get() function searches for the parameters using the private namespace.
Is there an easier solution to this issue, without changing the actual source code of the library?
Because I don't want to launch my node using the launch file.
Thanks in advance
The text was updated successfully, but these errors were encountered:
I am building and launching the node which uses the grasps library directly from IDE instead of the launch file.
The parameters however are still being loaded in the launchfile.
I noticed, that in order for the rosparam_shortcuts::get() functionality in the grasps library to work, I needed to edit the source code of grasp_filter.cpp grasp_gnerator.cpp and grasp_planner.cpp file.
Otherwise, it would prepend the namespace of my node before the actual parameter name to search for. This would result in the grasps functionality not working as it could not find the paramters.
I had to remove the "~" character in the constructors so that the rosparam_shortcuts::get() function searches for the parameters using the private namespace.
Example of change:
Is there an easier solution to this issue, without changing the actual source code of the library?
Because I don't want to launch my node using the launch file.
Thanks in advance
The text was updated successfully, but these errors were encountered: