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

How to package ROS software such that the source code cannot be accessed?

asked 2021-09-24 16:00:52 -0500

csg gravatar image

updated 2022-05-01 13:11:37 -0500

lucasw gravatar image


I need to send one of the prototype robots to an external partner, I have a bunch of packages in catkin_ws/src. What can I do to prevent the source code from being accessed by the recipients?

At the moment, the code can be accessed by:

  1. Connect an HDMI monitor, keyboard, and a mouse,
  2. Boot up the companion computer on the robot,
  3. Log in to Ubuntu 18 (Password protected.)
  4. cd into ~/catkin_ws/src/

So, as you can see there's only one level of protection. What's the right way to go about this?

edit retag flag offensive close merge delete



Quick comment: this topic has been discussed quite a few times. It's possible you'll find sufficient guidance in existing Q&As here on ROS Answers. Have you found any? If so, it would be good to mention them. At the very least we can then avoid suggesting similar things, but it would also help avoid fragmentation and duplication of effort.

Google works well, make sure to append to your query.

Note: I'm not telling you to "go away and search". I just really want to avoid duplicates.

gvdhoorn gravatar image gvdhoorn  ( 2021-09-25 00:32:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-09-25 07:02:00 -0500

duck-development gravatar image

if you programmed in cpp then just deliver the build stuff. of you have python code then you have to encode the ssd and do not get acces to your linux, no auto log in.

edit flag offensive delete link more

Question Tools



Asked: 2021-09-24 16:00:52 -0500

Seen: 260 times

Last updated: Sep 25 '21