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

Creating api or shareable library on ros2

asked 2022-06-21 10:02:58 -0600

Flash gravatar image

updated 2022-06-21 10:03:31 -0600

Hi,
I have my ros2 workspace on my device but when I send that device all my code is viewable and can be copied. I am trying to make my workspace private by making it a shareable library or .so files or by creating an API file. Not sure if that's the right way or even a way to do that or if it's a better way that can satisfy my needs.
I really appreciate any help you can provide.
Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-06-22 13:13:04 -0600

You could (1) distribute binaries (2) ship the robot with just the install space (there's no need to give them a workspace) or (3) use Snaps

But there are far more options than just those, just some of the ones on top of mind

edit flag offensive delete link more

Comments

Thanks for the reply, Most of the packages are in python and if I just ship with install it contains all my code. This doesn't happen with CPP files or packages. Is it possible for you to provide some resources that you used? Thanks again.

Flash gravatar image Flash  ( 2022-06-22 14:09:35 -0600 )edit

There are code obfuscation tools for Python, but I don't specifically have experience with them, I assumed this referred to C++ since you refer to .so files.

stevemacenski gravatar image stevemacenski  ( 2022-06-22 17:27:59 -0600 )edit

Thank you will do more digging.

Flash gravatar image Flash  ( 2022-06-24 09:37:29 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2022-06-21 10:02:58 -0600

Seen: 147 times

Last updated: Jun 22 '22