ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

senreot's profile - activity

2019-01-09 08:10:58 -0500 received badge  Taxonomist
2016-11-19 06:24:49 -0500 received badge  Popular Question (source)
2016-07-14 09:37:47 -0500 commented question Install library in ros

This is because the executable has another name. Try replacing publisher_node with the name of the executable.

If you can show us the complete CMakeList we can help you better ;)

2016-07-13 17:18:09 -0500 commented question Install library in ros

After adding the libraries you need to link them to the executable. Try to uncomment the target_link_libraries() lines or add the next line at the bottom of the CMakeList:

target_link_libraries(publisher_node ulapi_getotp unix_ulapi)

2016-07-12 05:22:08 -0500 asked a question OROCOS: stopHook() executed by events?

I would like to execute the stoopHook() of my orocos components when a main component has finished.

It worked automatically for the deprecated ocl, but I migrated to rtt_ros_integration and I can not stop the components by events.

Is any way to do it instead of opening specific ports for this purpose?

Thank you.

2016-07-12 05:22:08 -0500 asked a question OROCOS: stoopHook() executed by events?

I would like to execute the stoopHook() of my orocos components when a main component has finished.

It worked automatically for the deprecated ocl, but I migrated to rtt_ros_integration and I can not stop the components by events.

Is any way to do it instead of opening specific ports for this purpose?

Thank you.

2016-07-12 05:22:07 -0500 answered a question Install library in ros

If you have the library source files you can add a library to your workspace adding the following lines to the CMakeLists.txt of the node you want to use the library.

#Declare a cpp library  
add_library(my_library directory/of/source/my_library.cpp)

#This line has to be after the add_executable()  
target_link_libraries(my_node my_library)

Since the library is loaded in the workspace, you only need to add_library() once. For next nodes only use target_link_linbraries()