ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

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.

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.

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.