File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed
Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ if(${ament_cmake_FOUND})
5858
5959 install (
6060 PROGRAMS scripts/rttest_plot
61- DESTINATION bin
61+ DESTINATION lib/ ${PROJECT_NAME}
6262 )
6363
6464 install (
Original file line number Diff line number Diff line change 3434./example_loop
3535```
3636
37+ Note that if this is run in a Docker container, the ` IPC_LOCK ` capability must be added to the container capabilities.
38+ This can be managed via the ` --cap-add ` flag:
39+ ```
40+ docker run --cap-add IPC_LOCK
41+ ```
42+
3743## Command line arguments
3844
3945Passing ` argc ` and ` argv ` of an instrumented main function to ` rttest_read_args ` will enable command line arguments for the instrumented function.
@@ -59,4 +65,4 @@ Default value is 1000.
5965-tp Set the thread priority of all threads launched by the test program.
6066Individual thread priority can be set using the ` rttest_set_sched_priority ` command.
6167
62- -f Specify the name of the file for writing the collected data. Plot this data file using the ` rttest_plot.py ` script provided in ` scripts ` .
68+ -f Specify the name of the file for writing the collected data. Plot this data file using the ` rttest_plot ` script provided in ` scripts ` .
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ project(rttest_examples)
44
55find_package (rttest REQUIRED)
66
7- link_directories (${rttest_LIBRARY_DIR} )
8- include_directories (${rttest_INCLUDE_DIRS} )
9-
107add_executable (example_loop example_loop.c)
11- target_link_libraries (example_loop ${rttest_LIBRARIES} )
8+ target_link_libraries (example_loop rttest::rttest )
Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ target_link_libraries(tlsf_allocator_example
3535 ${std_msgs_TARGETS}
3636 tlsf_cpp)
3737
38- install (TARGETS tlsf_allocator_example
39- DESTINATION bin)
38+ install (TARGETS
39+ tlsf_allocator_example
40+ DESTINATION lib/${PROJECT_NAME} )
4041
4142ament_export_targets(export_tlsf_cpp)
4243
You can’t perform that action at this time.
0 commit comments