Skip to content

Commit

Permalink
Got the ground bridge node executable in the ground bridge debian.
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrowne15 committed Nov 4, 2024
1 parent 8dfa042 commit 081fb34
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
17 changes: 9 additions & 8 deletions communications/ground_dds_ros_bridge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,6 @@ target_link_libraries(ground_dds_ros_bridge_node ground_dds_ros_bridge ${catkin_
# Determine our module name
get_filename_component(MODULE_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)

install(CODE "execute_process(
COMMAND mkdir -p share/${MODULE_NAME}
COMMAND ln -s ../../bin/ground_dds_ros_bridge share/${MODULE_NAME}
WORKING_DIRECOTRY ${CMAKE_INSTALL_PREFIX}
OUTPUT_QUIET
ERROR_QUIET
)")

# Mark libraries for installation
install(TARGETS ground_dds_ros_bridge
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
Expand All @@ -135,6 +127,15 @@ install(TARGETS ground_dds_ros_bridge
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
#)

# Install C++ executables
install(TARGETS ground_dds_ros_bridge_node DESTINATION bin)
install(CODE "execute_process(
COMMAND ln -s ../../bin/ground_dds_ros_bridge_node share/${MODULE_NAME}
WORKING_DIRECOTRY ${CMAKE_INSTALL_PREFIX}
OUTPUT_QUIET
ERROR_QUIET
)")

# Mark launch files for installation
install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
Expand Down
1 change: 1 addition & 0 deletions debian/astrobee-ground-comms.files
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
opt/astrobee/lib/libground_dds_ros_bridge.so
opt/astrobee/bin/ground_dds_ros_bridge_node
opt/astrobee/share/ground_dds_ros_bridge

0 comments on commit 081fb34

Please sign in to comment.