blocks: install programs directory

This commit is contained in:
Oleg Kalachev
2021-06-09 13:40:58 +03:00
parent 881daaa389
commit 7c57581c33
2 changed files with 6 additions and 0 deletions

View File

@@ -73,6 +73,11 @@ catkin_install_python(PROGRAMS src/clover_blocks
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
# TODO: store programs in home directory?
install(DIRECTORY programs
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
#############
## Testing ##
#############

View File

@@ -146,6 +146,7 @@ def stop(req):
return {'success': True}
# TODO: find dir in installed package
programs_path = rospy.get_param('~programs_dir', os.path.dirname(os.path.abspath(__file__)) + '/../programs')