Skip to content

Commit 8f27d12

Browse files
chriseichmannJWhitleyWork
authored andcommitted
Installing libspacenav.so to lib/ for spacenav_node execution via ros2 run (#229)
Fixed #221 Signed-off-by: Christian Eichmann <[email protected]>
1 parent af108f3 commit 8f27d12

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

spacenav/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ ament_export_dependencies(
5858
"sensor_msgs"
5959
"spnav")
6060

61+
install(TARGETS spacenav
62+
DESTINATION lib
63+
)
64+
6165
if(BUILD_TESTING)
6266
find_package(ament_lint_auto REQUIRED)
6367
set(ament_cmake_copyright_FOUND TRUE)

spacenav/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939

4040
Running the node is straightforward
4141
```
42-
$ ros2 run spacenav spacenav
42+
$ ros2 run spacenav spacenav_node
4343
```
4444
The node is now publishing to the topics listed above.

0 commit comments

Comments
 (0)