ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This works for me in bouncy:
install(PROGRAMS scripts/demo.py DESTINATION lib/${PROJECT_NAME})
https://github.com/lucasw/imgui_ros/blob/bouncy/imgui_ros/CMakeLists.txt#L96
PROGRAMS sets the file permissions to be executable.
2 | No.2 Revision |
This works for me in bouncy:
install(PROGRAMS scripts/demo.py DESTINATION lib/${PROJECT_NAME})
https://github.com/lucasw/imgui_ros/blob/bouncy/imgui_ros/CMakeLists.txt#L96
PROGRAMS sets the file permissions to be executable.executable- but the file has to already be executable, e.g. chmod a+x my_node.py
.
3 | No.3 Revision |
This works for me in bouncy:
install(PROGRAMS scripts/demo.py DESTINATION lib/${PROJECT_NAME})
https://github.com/lucasw/imgui_ros/blob/bouncy/imgui_ros/CMakeLists.txt#L96
PROGRAMS sets the installed file permissions to be executable- but the file has to already already be executable, e.g. chmod a+x my_node.py
.